Class ExtraTypesScanner<T>
- java.lang.Object
-
- javax.lang.model.util.AbstractElementVisitor6<R,P>
-
- javax.lang.model.util.ElementScanner6<R,State>
-
- com.google.web.bindery.requestfactory.apt.ScannerBase<T>
-
- com.google.web.bindery.requestfactory.apt.ExtraTypesScanner<T>
-
- All Implemented Interfaces:
javax.lang.model.element.ElementVisitor<T,State>
- Direct Known Subclasses:
ReferredTypesCollector
abstract class ExtraTypesScanner<T> extends ScannerBase<T>
Looks forExtraTypesannotations and callsscanExtraType(TypeElement).
-
-
Constructor Summary
Constructors Constructor Description ExtraTypesScanner()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidcheckForAnnotation(javax.lang.model.element.Element x, State state)Check an element for a declaration.protected voidcheckForAnnotation(javax.lang.model.element.TypeElement x, State state)Check a type and all of its supertypes for the annotation.protected abstract voidscanExtraType(javax.lang.model.element.TypeElement extraType)-
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, visitExecutable, visitPackage, visitType, visitTypeParameter, visitVariable
-
-
-
-
Method Detail
-
checkForAnnotation
protected void checkForAnnotation(javax.lang.model.element.Element x, State state)Check an element for a declaration.
-
checkForAnnotation
protected void checkForAnnotation(javax.lang.model.element.TypeElement x, State state)Check a type and all of its supertypes for the annotation.
-
scanExtraType
protected abstract void scanExtraType(javax.lang.model.element.TypeElement extraType)
-
-