Uses of Class
com.google.web.bindery.requestfactory.apt.State
-
Uses of State in com.google.web.bindery.requestfactory.apt
Modifier and TypeClassDescription(package private) static class
Slightly tweaked implementation used when running tests.Modifier and TypeMethodDescriptionprotected void
ExtraTypesScanner.checkForAnnotation
(Element x, State state) Check an element for a declaration.protected void
ExtraTypesScanner.checkForAnnotation
(TypeElement x, State state) Check a type and all of its supertypes for the annotation.static Set
<TypeElement> ReferredTypesCollector.collect
(TypeElement requestFactory, State state) Collect all RequestContext and proxy types reachable from the given RequestFactory.protected TypeMirror
ClientToDomainMapper.convertSingleParamType
(DeclaredType x, DeclaredType convertTo, int param, State state) Utility method to convert aFoo<BarProxy> -> BarDomain
.protected TypeMirror
ClientToDomainMapper.defaultAction
(TypeMirror x, State state) protected String
DescriptorBuilder.defaultAction
(TypeMirror x, State state) protected Boolean
TransportableTypeVisitor.defaultAction
(TypeMirror arg0, State arg1) protected TypeMirror
TypeSimplifier.defaultAction
(TypeMirror x, State state) protected List
<DeclaredType> TypeVisitorBase.getValueTypes
(State state) This method should be kept in sync withValueCodex.getAllValueTypes()
.protected boolean
ScannerBase.isGetter
(ExecutableElement x, State state) No parameters, name stars with "get" or is a boolean / Boolean isFoo hasFoo method.protected boolean
ScannerBase.isSetter
(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
ScannerBase.poisonIfAnnotationPresent
(State state, TypeElement x, Annotation... annotations) Poisons the given type if one or more of the annotation values are non-null.final R
protected R
ScannerBase.scanAllInheritedMethods
(TypeElement x, State state) protected boolean
ProxyScanner.shouldIgnore
(ExecutableElement x, State state) protected boolean
ScannerBase.shouldIgnore
(ExecutableElement x, State state) Ignore all static initializers and methods defined in the base RequestFactory interfacesstatic TypeMirror
TypeSimplifier.simplify
(TypeMirror toBox, boolean boxPrimitives, State state) (package private) static TypeMirror
State.viewAs
(DeclaredType desiredType, TypeMirror searchFrom, State state) Used to take aFooRequest extends Request<Foo>
and find theRequest<Foo>
type.protected static ExecutableType
ScannerBase.viewIn
(TypeElement lookIn, ExecutableElement methodElement, State state) DescriptorBuilder.visitArray
(ArrayType x, State state) Arrays aren't actually used anywhere in RequestFactory, but it's trivial to implement and might be useful later on.ClientToDomainMapper.visitDeclared
(DeclaredType x, State state) DescriptorBuilder.visitDeclared
(DeclaredType x, State state) TransportableTypeVisitor.visitDeclared
(DeclaredType t, State state) TypeSimplifier.visitDeclared
(DeclaredType x, State state) DeobfuscatorBuilder.visitExecutable
(ExecutableElement x, State state) Examine a method defined within a RequestFactory.DescriptorBuilder.visitExecutable
(ExecutableType x, State state) Only generates the method descriptor, which does not include the method's name.DomainChecker.MethodFinder.visitExecutable
(ExecutableElement domainMethodElement, State state) DomainChecker.visitExecutable
(ExecutableElement clientMethodElement, State state) ProxyScanner.visitExecutable
(ExecutableElement x, State state) ReferredTypesCollector.visitExecutable
(ExecutableElement x, State state) RequestContextScanner.visitExecutable
(ExecutableElement x, State state) RequestFactoryScanner.visitExecutable
(ExecutableElement x, State state) ClientToDomainMapper.visitNoType
(NoType x, State state) DescriptorBuilder.visitNoType
(NoType x, State state) TypeSimplifier.visitNoType
(NoType x, State state) ClientToDomainMapper.visitPrimitive
(PrimitiveType x, State state) DescriptorBuilder.visitPrimitive
(PrimitiveType x, State state) TransportableTypeVisitor.visitPrimitive
(PrimitiveType x, State state) TypeSimplifier.visitPrimitive
(PrimitiveType x, State state) DeobfuscatorBuilder.visitType
(TypeElement x, State state) Scan a RequestFactory type.DomainChecker.MethodFinder.visitType
(TypeElement domainType, State state) DomainChecker.visitType
(TypeElement clientTypeElement, State state) Finder.visitType
(TypeElement x, State state) ProxyScanner.visitType
(TypeElement x, State state) ReferredTypesCollector.visitType
(TypeElement x, State state) RequestContextScanner.visitType
(TypeElement x, State state) RequestFactoryScanner.visitType
(TypeElement x, State state) RequestContextScanner.visitTypeParameter
(TypeParameterElement x, State state) ClientToDomainMapper.visitTypeVariable
(TypeVariable x, State state) DescriptorBuilder.visitTypeVariable
(TypeVariable x, State state) TransportableTypeVisitor.visitTypeVariable
(TypeVariable t, State state) TypeSimplifier.visitTypeVariable
(TypeVariable x, State state) ProxyScanner.visitVariable
(VariableElement x, State state) ClientToDomainMapper.visitWildcard
(WildcardType x, State state) DescriptorBuilder.visitWildcard
(WildcardType x, State state) TransportableTypeVisitor.visitWildcard
(WildcardType t, State state) TypeSimplifier.visitWildcard
(WildcardType x, State state) ModifierConstructorDescriptionMethodFinder
(CharSequence name, TypeMirror returnType, List<TypeMirror> params, boolean boxReturnType, State state) TypeComparator
(State state)