Class ReferredTypesCollector
java.lang.Object
javax.lang.model.util.AbstractElementVisitor6<Void,State>
javax.lang.model.util.ElementScanner6<Void,State>
com.google.web.bindery.requestfactory.apt.ScannerBase<Void>
com.google.web.bindery.requestfactory.apt.ExtraTypesScanner<Void>
com.google.web.bindery.requestfactory.apt.ReferredTypesCollector
- All Implemented Interfaces:
ElementVisitor<Void,
State>
Given a RequestFactory interface, return all RequestContext and proxy types
transitively referenced.
-
Field Summary
Fields inherited from class javax.lang.model.util.ElementScanner6
DEFAULT_VALUE
-
Method Summary
Modifier and TypeMethodDescriptionstatic Set
<TypeElement> collect
(TypeElement requestFactory, State state) Collect all RequestContext and proxy types reachable from the given RequestFactory.protected void
scanExtraType
(TypeElement extraType) visitExecutable
(ExecutableElement x, State state) visitType
(TypeElement x, State state) Methods inherited from class com.google.web.bindery.requestfactory.apt.ExtraTypesScanner
checkForAnnotation, checkForAnnotation
Methods inherited from class com.google.web.bindery.requestfactory.apt.ScannerBase
isGetter, isSetter, poisonIfAnnotationPresent, scan, scanAllInheritedMethods, shouldIgnore, viewIn
Methods inherited from class javax.lang.model.util.ElementScanner6
scan, scan, visitPackage, visitTypeParameter, visitVariable
Methods inherited from class javax.lang.model.util.AbstractElementVisitor6
visit, visit, visitModule, visitRecordComponent, visitUnknown
-
Method Details
-
collect
Collect all RequestContext and proxy types reachable from the given RequestFactory. -
visitExecutable
- Specified by:
visitExecutable
in interfaceElementVisitor<Void,
State> - Overrides:
visitExecutable
in classElementScanner6<Void,
State>
-
visitType
- Specified by:
visitType
in interfaceElementVisitor<Void,
State> - Overrides:
visitType
in classElementScanner6<Void,
State>
-
scanExtraType
- Specified by:
scanExtraType
in classExtraTypesScanner<Void>
-