@SupportedAnnotationTypes(value="io.sphere.sdk.annotations.HasByKeyGetEndpoint") @SupportedSourceVersion(value=RELEASE_8) public abstract class HasByFieldGetEndpointAnnotationProcessor<A extends Annotation> extends AbstractAnnotationProcessor<A>
AbstractAnnotationProcessor.CheckedConsumer<T>
clazz
processingEnv
Modifier | Constructor and Description |
---|---|
protected |
HasByFieldGetEndpointAnnotationProcessor(Class<A> clazz,
String endpointSuffix) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
additionalValues(TypeElement typeElement,
HashMap<String,Object> map) |
protected void |
generate(TypeElement typeElement) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
protected Map<String,Object> |
values(TypeElement typeElement) |
generateCodeGeneratedInfo, generateCodeGeneratedInfo, generateCodeGeneratedInfoForHandlebarsTemplate, getAnnotationClass, getResourceName, writeClass, writeClass, writeClass, writeClass
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitialized
protected final void generate(TypeElement typeElement)
protected final Map<String,Object> values(TypeElement typeElement)
protected abstract void additionalValues(TypeElement typeElement, HashMap<String,Object> map)
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process
in interface Processor
process
in class AbstractProcessor