@SupportedAnnotationTypes(value="org.jboss.logging.annotations.Message") @SupportedOptions(value={"projectVersion","outputFile","artifact"}) public class LogMessageIndexGenerator extends AbstractProcessor
Strings.MESSAGE_CLASS_NAME) found in the compilation
unit.
{
"version" : "2.2.10.Final",
"artifact" : "org.jboss.weld:weld-core-impl"
"total" : 546,
"messages" : [
{
"method" : {
"sig" : "logMe(String name)",
"retType" : "void",
"interface" : "org.jboss.weld.logging.BeanLogger"
},
"log" : {
level : "INFO"
},
"msg" : {
"id" : 1,
"value" : "This is the real message: {0}",
"format" : "MESSAGE_FORMAT"
},
"desc" : "Optional description taken from javadoc..."
}
]
}
processingEnv| Constructor and Description |
|---|
LogMessageIndexGenerator() |
| Modifier and Type | Method and Description |
|---|---|
SourceVersion |
getSupportedSourceVersion() |
void |
init(ProcessingEnvironment processingEnv) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, isInitializedpublic SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface ProcessorgetSupportedSourceVersion in class AbstractProcessorpublic void init(ProcessingEnvironment processingEnv)
init in interface Processorinit in class AbstractProcessorpublic boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessorCopyright © 2015. All Rights Reserved.