@SupportedSourceVersion(value=RELEASE_8) public class BeanProcessor extends AbstractProcessor
processingEnv| Constructor and Description |
|---|
BeanProcessor() |
| Modifier and Type | Method and Description |
|---|---|
private void |
error(Element source,
String msg)
Error.
|
private String |
getClassName(Element element)
Gets the class name.
|
private String |
getClassName(TypeMirror t)
Gets the class name.
|
Set<String> |
getSupportedAnnotationTypes() |
void |
init(ProcessingEnvironment processingEnv) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedOptions, getSupportedSourceVersion, isInitializedpublic void init(ProcessingEnvironment processingEnv)
init in interface Processorinit in class AbstractProcessorpublic Set<String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes in interface ProcessorgetSupportedAnnotationTypes in class AbstractProcessorpublic boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessorprivate String getClassName(Element element)
element - the elementprivate String getClassName(TypeMirror t)
t - the tCopyright © 2011–2018 JRebirth OSS. All rights reserved.