Uses of Class
com.google.web.bindery.requestfactory.apt.State
Packages that use State
-
Uses of State in com.google.web.bindery.requestfactory.apt
Subclasses of State in com.google.web.bindery.requestfactory.aptModifier and TypeClassDescription(package private) static classSlightly tweaked implementation used when running tests.Methods in com.google.web.bindery.requestfactory.apt with parameters of type StateModifier and TypeMethodDescriptionprotected voidExtraTypesScanner.checkForAnnotation(Element x, State state) Check an element for a declaration.protected voidExtraTypesScanner.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 TypeMirrorClientToDomainMapper.convertSingleParamType(DeclaredType x, DeclaredType convertTo, int param, State state) Utility method to convert aFoo<BarProxy> -> BarDomain.protected TypeMirrorClientToDomainMapper.defaultAction(TypeMirror x, State state) protected StringDescriptorBuilder.defaultAction(TypeMirror x, State state) protected BooleanTransportableTypeVisitor.defaultAction(TypeMirror arg0, State arg1) protected TypeMirrorTypeSimplifier.defaultAction(TypeMirror x, State state) protected List<DeclaredType>TypeVisitorBase.getValueTypes(State state) This method should be kept in sync withValueCodex.getAllValueTypes().protected booleanScannerBase.isGetter(ExecutableElement x, State state) No parameters, name stars with "get" or is a boolean / Boolean isFoo hasFoo method.protected booleanScannerBase.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 voidScannerBase.poisonIfAnnotationPresent(State state, TypeElement x, Annotation... annotations) Poisons the given type if one or more of the annotation values are non-null.final Rprotected RScannerBase.scanAllInheritedMethods(TypeElement x, State state) protected booleanProxyScanner.shouldIgnore(ExecutableElement x, State state) protected booleanScannerBase.shouldIgnore(ExecutableElement x, State state) Ignore all static initializers and methods defined in the base RequestFactory interfacesstatic TypeMirrorTypeSimplifier.simplify(TypeMirror toBox, boolean boxPrimitives, State state) (package private) static TypeMirrorState.viewAs(DeclaredType desiredType, TypeMirror searchFrom, State state) Used to take aFooRequest extends Request<Foo>and find theRequest<Foo>type.protected static ExecutableTypeScannerBase.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) Constructors in com.google.web.bindery.requestfactory.apt with parameters of type StateModifierConstructorDescriptionMethodFinder(CharSequence name, TypeMirror returnType, List<TypeMirror> params, boolean boxReturnType, State state) TypeComparator(State state)