Class RfValidator
java.lang.Object
javax.annotation.processing.AbstractProcessor
com.google.web.bindery.requestfactory.apt.RfValidator
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes("*")
@SupportedOptions({"rootOverride","suppressErrors","suppressWarnings","verbose"})
public class RfValidator
extends AbstractProcessor
The entry point for annotation validation.
-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(ProcessingEnvironment processingEnv) boolean
process
(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) void
setClientOnly
(boolean clientOnly) (package private) void
setForceErrors
(boolean forceErrors) (package private) void
setMustResolveAllMappings
(boolean requireAll) Make it an error to not resolve all ProxyForName and ServiceName mappings.(package private) void
setRootOverride
(List<String> binaryTypeNames) Instead of scanning the round's root elements, scan these type names instead.Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, isInitialized
-
Constructor Details
-
RfValidator
public RfValidator()
-
-
Method Details
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersion
in interfaceProcessor
- Overrides:
getSupportedSourceVersion
in classAbstractProcessor
-
init
- Specified by:
init
in interfaceProcessor
- Overrides:
init
in classAbstractProcessor
-
process
- Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-
setClientOnly
public void setClientOnly(boolean clientOnly) -
setForceErrors
void setForceErrors(boolean forceErrors) -
setMustResolveAllMappings
void setMustResolveAllMappings(boolean requireAll) Make it an error to not resolve all ProxyForName and ServiceName mappings. -
setRootOverride
Instead of scanning the round's root elements, scan these type names instead. This is used by the ValidationTool to scan pre-compiled classfiles.
-