Package de.codecamp.messages.processor
Class MessageKeyProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- de.codecamp.messages.processor.MessageKeyProcessor
-
- All Implemented Interfaces:
Processor
@AutoService(javax.annotation.processing.Processor.class) public class MessageKeyProcessor extends AbstractProcessor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMessageKeyProcessor.InputStreamSupplier
-
Field Summary
Fields Modifier and Type Field Description static StringOPT_SKIP-
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
-
Constructor Summary
Constructors Constructor Description MessageKeyProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getSupportedAnnotationTypes()Set<String>getSupportedOptions()SourceVersiongetSupportedSourceVersion()voidinit(ProcessingEnvironment processingEnv)booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)protected voidprocessBundleFiles()protected voidprocessType(TypeElement typeElement, AnnotationMirror messagesForAt)protected booleanupdateMessageKeyIndex()-
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, isInitialized
-
-
-
-
Field Detail
-
OPT_SKIP
public static final String OPT_SKIP
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSupportedSourceVersion
public SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersionin interfaceProcessor- Overrides:
getSupportedSourceVersionin classAbstractProcessor
-
getSupportedAnnotationTypes
public Set<String> getSupportedAnnotationTypes()
- Specified by:
getSupportedAnnotationTypesin interfaceProcessor- Overrides:
getSupportedAnnotationTypesin classAbstractProcessor
-
getSupportedOptions
public Set<String> getSupportedOptions()
- Specified by:
getSupportedOptionsin interfaceProcessor- Overrides:
getSupportedOptionsin classAbstractProcessor
-
init
public void init(ProcessingEnvironment processingEnv)
- Specified by:
initin interfaceProcessor- Overrides:
initin classAbstractProcessor
-
process
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-
processType
protected void processType(TypeElement typeElement, AnnotationMirror messagesForAt)
-
updateMessageKeyIndex
protected boolean updateMessageKeyIndex()
-
processBundleFiles
protected void processBundleFiles()
-
-