@SupportedAnnotationTypes(value="io.sphere.sdk.annotations.HasCreateCommand") @SupportedSourceVersion(value=RELEASE_8) public class CreateCommandEndpointAnnotationProcessor<A extends Annotation> extends CommandEndpointAnnotationProcessor<HasCreateCommand>
AbstractAnnotationProcessor.CheckedConsumer<T>
clazz
processingEnv
Constructor and Description |
---|
CreateCommandEndpointAnnotationProcessor() |
Modifier and Type | Method and Description |
---|---|
protected void |
additions(HasCreateCommand annotation,
HashMap<String,Object> map) |
protected List<org.apache.commons.lang3.tuple.Pair<String,String>> |
getClassNameTemplateNameList(String resourceName) |
protected String[] |
includeExamplesExtraction(HasCreateCommand annotation) |
protected String |
javadocSummaryExtraction(HasCreateCommand annotation) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
generate, values
generateCodeGeneratedInfo, generateCodeGeneratedInfo, generateCodeGeneratedInfoForHandlebarsTemplate, getAnnotationClass, getResourceName, writeClass, writeClass, writeClass, writeClass
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitialized
public CreateCommandEndpointAnnotationProcessor()
protected List<org.apache.commons.lang3.tuple.Pair<String,String>> getClassNameTemplateNameList(String resourceName)
getClassNameTemplateNameList
in class CommandEndpointAnnotationProcessor<HasCreateCommand>
protected String[] includeExamplesExtraction(HasCreateCommand annotation)
includeExamplesExtraction
in class CommandEndpointAnnotationProcessor<HasCreateCommand>
protected void additions(HasCreateCommand annotation, HashMap<String,Object> map)
additions
in class CommandEndpointAnnotationProcessor<HasCreateCommand>
protected String javadocSummaryExtraction(HasCreateCommand annotation)
javadocSummaryExtraction
in class CommandEndpointAnnotationProcessor<HasCreateCommand>
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process
in interface Processor
process
in class AbstractProcessor