| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private Map | |
| private Map | |
| private static final int | |
| private static final String | |
| public static final Logger | |
| private List | |
| private static final int | |
| private File | |
| private Map | |
| private static final int | |
| private Set |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private Path | determineSourcePathInEclipse()
This is clearly a hack and javac will complain (warning: Unclosed files for the types '[PathForCodeGenProcessor]';
these types will not undergo annotation processing) and possibly fail the build when the |
| private Predicate | |
| private Collection | |
| public Set | getSupportedAnnotationTypes()
Overrides javax. Implements javax. Returns the names of the annotation interfaces supported by this processor. |
| public synchronized void | init(ProcessingEnvironment
environment to access facilities the tool framework
provides to the processor processingEnv)Overrides javax. Implements javax. Initializes the processor with the processing environment. |
| private static void | |
| private List | |
| public boolean | process(Set<? extends TypeElement>
the annotation interfaces requested to be processed annotations, RoundEnvironment environment for information about the current and prior round roundEnv)Implements abstract javax. Implements javax. Processes a set of annotation interfaces on root elements originating from the prior round and returns whether or not these annotation interfaces are claimed by this processor. |
| private void | |
| private void |
| codeGenerators | back to summary |
|---|---|
| private List<? extends Generator<?>> codeGenerators | |
| generatedFiles | back to summary |
|---|---|
| private Map<String, CodeGenProcessor. | |
| generatedResources | back to summary |
|---|---|
| private Map<String, CodeGenProcessor. | |
| JAVA | back to summary |
|---|---|
| private static final int JAVA | |
| JSON_MAPPERS_PROPERTIES_PATH | back to summary |
|---|---|
| private static final String JSON_MAPPERS_PROPERTIES_PATH | |
| log | back to summary |
|---|---|
| public static final Logger log | |
| mappers | back to summary |
|---|---|
| private List<CodeGen. | |
| OTHER | back to summary |
|---|---|
| private static final int OTHER | |
| outputDirectory | back to summary |
|---|---|
| private File outputDirectory | |
| relocations | back to summary |
|---|---|
| private Map<String, String> relocations | |
| RESOURCE | back to summary |
|---|---|
| private static final int RESOURCE | |
| supportedAnnotation | back to summary |
|---|---|
| private Set<Class<? extends Annotation>> supportedAnnotation | |
| CodeGenProcessor | back to summary |
|---|---|
| public CodeGenProcessor() | |
| determineSourcePathInEclipse | back to summary |
|---|---|
| private Path determineSourcePathInEclipse() This is clearly a hack and javac will complain (warning: Unclosed files for the types '[PathForCodeGenProcessor]';
these types will not undergo annotation processing) and possibly fail the build when the | |
| filterGenerators | back to summary |
|---|---|
| private Predicate | |
| getCodeGenerators | back to summary |
|---|---|
| private Collection | |
| getSupportedAnnotationTypes | back to summary |
|---|---|
| public Set Overrides javax. Implements javax. Doc from javax. Returns the names of the annotation interfaces supported by this processor. | |
| init | back to summary |
|---|---|
| public synchronized void init(ProcessingEnvironment processingEnv) Overrides javax. Implements javax. Doc from javax. Initializes the processor with the processing environment.
| |
| loadJsonMappers | back to summary |
|---|---|
| private static void loadJsonMappers(List<CodeGen. | |
| loadJsonMappers | back to summary |
|---|---|
| private List | |
| process | back to summary |
|---|---|
| public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Implements abstract javax. Implements javax. Doc from javax. Processes a set of annotation interfaces on root elements originating
from the prior round and returns whether or not these
annotation interfaces are claimed by this processor. If The input set will be empty if the processor supports
| |
| reportException | back to summary |
|---|---|
| private void reportException(Exception e, Element elt) | |
| reportGenException | back to summary |
|---|---|
| private void reportGenException(GenException e) | |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | add(CodeGenProcessor.
element to be appended to this list modelProcessingOverrides java. Implements java. Appends the specified element to the end of this list. |
| pack-priv String |
| session | back to summary |
|---|---|
| private final Map<String, Object> session | |
| uri | back to summary |
|---|---|
| private final String uri | |
| GeneratedFile | back to summary |
|---|---|
| public GeneratedFile(String uri) | |
| add | back to summary |
|---|---|
| public boolean add(CodeGenProcessor. Overrides java. Implements java. Doc from java. Appends the specified element to the end of this list.
| |
| generate | back to summary |
|---|---|
| pack-priv String generate() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Generator | |
| pack-priv final Model |
| Access | Constructor and Description |
|---|---|
| public |
| generator | back to summary |
|---|---|
| pack-priv final Generator<M extends Model> generator | |
| model | back to summary |
|---|---|
| pack-priv final Model model | |
| ModelProcessing | back to summary |
|---|---|
| public ModelProcessing(Model model, Generator<M extends Model> generator) | |