@SupportedSourceVersion(value=RELEASE_8)
@SupportedAnnotationTypes(value={"javax.persistence.Entity","javax.persistence.MappedSuperclass"})
@SupportedOptions(value="buildHookAdapters")
public class HookAdapterProcessor
extends javax.annotation.processing.AbstractProcessor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BUILD_HOOK_ADAPTORS |
static java.lang.String |
name |
static java.lang.String |
version |
Constructor and Description |
---|
HookAdapterProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
generateSourceFile(SourceFileGenerator generator) |
javax.annotation.processing.ProcessingEnvironment |
getProcessingEnvironment() |
void |
init(javax.annotation.processing.ProcessingEnvironment processingEnv)
Initializes the processor.
|
boolean |
process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.RoundEnvironment roundEnv) |
public static final java.lang.String BUILD_HOOK_ADAPTORS
public static final java.lang.String name
public static final java.lang.String version
public void init(javax.annotation.processing.ProcessingEnvironment processingEnv)
init
in interface javax.annotation.processing.Processor
init
in class javax.annotation.processing.AbstractProcessor
public boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnv)
process
in interface javax.annotation.processing.Processor
process
in class javax.annotation.processing.AbstractProcessor
public javax.annotation.processing.ProcessingEnvironment getProcessingEnvironment()
public void generateSourceFile(SourceFileGenerator generator)