@SupportedAnnotationTypes(value="*")
@SupportedOptions(value={"rootOverride","suppressErrors","suppressWarnings","verbose"})
public class RfValidator
extends javax.annotation.processing.AbstractProcessor
Constructor and Description |
---|
RfValidator() |
Modifier and Type | Method and Description |
---|---|
javax.lang.model.SourceVersion |
getSupportedSourceVersion() |
void |
init(javax.annotation.processing.ProcessingEnvironment processingEnv) |
boolean |
process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.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(java.util.List<java.lang.String> binaryTypeNames)
Instead of scanning the round's root elements, scan these type names
instead.
|
public javax.lang.model.SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion
in interface javax.annotation.processing.Processor
getSupportedSourceVersion
in class javax.annotation.processing.AbstractProcessor
public void init(javax.annotation.processing.ProcessingEnvironment processingEnv)
init
in interface javax.annotation.processing.Processor
init
in class javax.annotation.processing.AbstractProcessor
public boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnv)
process
in interface javax.annotation.processing.Processor
process
in class javax.annotation.processing.AbstractProcessor
public void setClientOnly(boolean clientOnly)
void setForceErrors(boolean forceErrors)
void setMustResolveAllMappings(boolean requireAll)
void setRootOverride(java.util.List<java.lang.String> binaryTypeNames)