public class TypeResolverPostProcessor extends Object implements ProtoContextPostProcessor
| Constructor and Description |
|---|
TypeResolverPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
static Deque<String> |
createScopeLookupList(UserTypeContainer container)
Create a lookup list for reference resolution.
|
void |
process(ProtoContext context) |
public static Deque<String> createScopeLookupList(UserTypeContainer container)
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.
public void process(ProtoContext context)
process in interface ProtoContextPostProcessorCopyright © 2015–2017. All rights reserved.