class ScannerBase<R> extends javax.lang.model.util.ElementScanner6<R,State>
Constructor and Description |
---|
ScannerBase() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isGetter(javax.lang.model.element.ExecutableElement x,
State state)
No parameters, name stars with "get" or is a boolean / Boolean isFoo hasFoo
method.
|
protected boolean |
isSetter(javax.lang.model.element.ExecutableElement x,
State state)
Name starts with set, has one parameter, returns either null or something
assignable from the element's enclosing type.
|
protected static void |
poisonIfAnnotationPresent(State state,
javax.lang.model.element.TypeElement x,
java.lang.annotation.Annotation... annotations)
Poisons the given type if one or more of the annotation values are
non-null.
|
R |
scan(javax.lang.model.element.Element x,
State state) |
protected R |
scanAllInheritedMethods(javax.lang.model.element.TypeElement x,
State state) |
protected boolean |
shouldIgnore(javax.lang.model.element.ExecutableElement x,
State state)
Ignore all static initializers and methods defined in the base
RequestFactory interfaces
|
protected static javax.lang.model.type.ExecutableType |
viewIn(javax.lang.model.element.TypeElement lookIn,
javax.lang.model.element.ExecutableElement methodElement,
State state) |
scan, scan, visitExecutable, visitPackage, visitType, visitTypeParameter, visitVariable
protected static void poisonIfAnnotationPresent(State state, javax.lang.model.element.TypeElement x, java.lang.annotation.Annotation... annotations)
protected static javax.lang.model.type.ExecutableType viewIn(javax.lang.model.element.TypeElement lookIn, javax.lang.model.element.ExecutableElement methodElement, State state)
protected boolean isGetter(javax.lang.model.element.ExecutableElement x, State state)
protected boolean isSetter(javax.lang.model.element.ExecutableElement x, State state)
protected R scanAllInheritedMethods(javax.lang.model.element.TypeElement x, State state)
protected boolean shouldIgnore(javax.lang.model.element.ExecutableElement x, State state)