public class DeclarativeSubstitutionProcessor extends AnnotationSubstitutionProcessor
TargetClass
) using a JSON file instead of
annotations. Projects that do not depend on Substrate VM can provide such a JSON file.Modifier and Type | Class and Description |
---|---|
static class |
DeclarativeSubstitutionProcessor.Options |
imageClassLoader, metaAccess
Constructor and Description |
---|
DeclarativeSubstitutionProcessor(ImageClassLoader imageClassLoader,
jdk.vm.ci.meta.MetaAccessProvider metaAccess,
ClassInitializationSupport classInitializationSupport) |
Modifier and Type | Method and Description |
---|---|
protected List<Class<?>> |
findTargetClasses() |
protected <T extends Annotation> |
lookupAnnotation(AnnotatedElement element,
Class<T> annotationClass) |
deleteErrorMessage, deleteErrorMessage, findSubstitution, findSubstitution, getTargetClass, init, isAliased, isDeleted, isDeleted, lookup, lookup, lookup, processComputedValueFields, resolve, resolve
public DeclarativeSubstitutionProcessor(ImageClassLoader imageClassLoader, jdk.vm.ci.meta.MetaAccessProvider metaAccess, ClassInitializationSupport classInitializationSupport)
protected List<Class<?>> findTargetClasses()
findTargetClasses
in class AnnotationSubstitutionProcessor
protected <T extends Annotation> T lookupAnnotation(AnnotatedElement element, Class<T> annotationClass)
lookupAnnotation
in class AnnotationSubstitutionProcessor