@SupportedAnnotationTypes(value="*") @MetaInfServices(value=javax.annotation.processing.Processor.class) public class ConstructorProcessor extends AbstractProcessor
processingEnv
Constructor and Description |
---|
ConstructorProcessor() |
Modifier and Type | Method and Description |
---|---|
protected FileObject |
createResource(String name) |
protected void |
error(String msg) |
protected void |
error(Throwable t) |
protected String |
getJavadoc(Element md) |
protected FileObject |
getResource(String name) |
SourceVersion |
getSupportedSourceVersion() |
protected void |
notice(String msg,
Element location) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
protected String |
toString(Throwable t) |
protected void |
writePropertyFile(Properties p,
String name) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, init, isInitialized
public ConstructorProcessor()
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process
in interface Processor
process
in class AbstractProcessor
public SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion
in interface Processor
getSupportedSourceVersion
in class AbstractProcessor
protected String getJavadoc(Element md)
protected void writePropertyFile(Properties p, String name) throws IOException
IOException
protected FileObject getResource(String name) throws IOException
IOException
protected FileObject createResource(String name) throws IOException
IOException
Copyright © 2018. All rights reserved.