Package org.kohsuke.stapler.jsr269
Class QueryParameterAnnotationProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- org.kohsuke.stapler.jsr269.QueryParameterAnnotationProcessor
-
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes("org.kohsuke.stapler.QueryParameter") @MetaInfServices(javax.annotation.processing.Processor.class) public class QueryParameterAnnotationProcessor extends AbstractProcessor
- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
-
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
-
Constructor Summary
Constructors Constructor Description QueryParameterAnnotationProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, init, isInitialized
-
-
-
-
Method Detail
-
process
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
- Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-
getSupportedSourceVersion
public SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersion
in interfaceProcessor
- Overrides:
getSupportedSourceVersion
in classAbstractProcessor
-
error
protected void error(Throwable t)
-
error
protected void error(String msg)
-
writePropertyFile
protected void writePropertyFile(Properties p, String name) throws IOException
- Throws:
IOException
-
getResource
protected FileObject getResource(String name) throws IOException
- Throws:
IOException
-
createResource
protected FileObject createResource(String name) throws IOException
- Throws:
IOException
-
-