Package io.protostuff.compiler.parser
Class TypeResolverPostProcessor
- java.lang.Object
-
- io.protostuff.compiler.parser.TypeResolverPostProcessor
-
- All Implemented Interfaces:
ProtoContextPostProcessor
public class TypeResolverPostProcessor extends Object implements ProtoContextPostProcessor
Post-processor for resolving type references.- Author:
- Kostiantyn Shchepanovskyi
-
-
Constructor Summary
Constructors Constructor Description TypeResolverPostProcessor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Deque<String>createScopeLookupList(UserTypeContainer container)Create a lookup list for reference resolution.voidprocess(ProtoContext context)
-
-
-
Method Detail
-
createScopeLookupList
public static Deque<String> createScopeLookupList(UserTypeContainer container)
Create a lookup list for reference resolution.Type name resolution in the protocol buffer language works like C++: first the innermost scope is searched, then the next-innermost, and so on, with each package considered to be "inner" to its parent package.
-
process
public void process(ProtoContext context)
- Specified by:
processin interfaceProtoContextPostProcessor
-
-