See: Description
Interface | Description |
---|---|
TargetClass.NoClassNameProvider |
Marker value for
TargetClass.classNameProvider() that no class name provider should be used. |
Class | Description |
---|---|
TargetClass.AlwaysIncluded |
The default value for the
TargetClass.onlyWith() attribute. |
Enum | Description |
---|---|
RecomputeFieldValue.Kind |
Annotation Type | Description |
---|---|
Alias |
Mechanism for referring to fields and methods otherwise inaccessible due to Java language access
control rules.
|
AnnotateOriginal |
This annotation allows to add additional annotations to existing methods but keep the
implementation as it is.
|
Delete |
Mechanism to ensures that an element is not used.
|
Inject |
Injects the annotated field into the
TargetClass . |
InjectAccessors |
Inject accessor methods for the field denoted using an
Alias annotation. |
KeepOriginal |
If a class annotated with
TargetClass is also annotated with Substitute , all
non-substituted methods in that class are by default treated as deleted . |
RecomputeFieldValue |
Supported API is available to replace this non-API annotation: Use
Feature.BeforeAnalysisAccess.registerFieldValueTransformer(java.lang.reflect.Field, org.graalvm.nativeimage.hosted.FieldValueTransformer) . |
Substitute |
When used to annotate a method, it indicates that a method declaration is intended to be a
substitute for a method declaration in another class.
|
TargetClass |
A class annotated with this annotation denotes a class that modifies methods of fields of another
class, called the "original" class.
|
TargetElement |
Specifies additional properties for an element also annotated with
Alias , Delete ,
Substitute , AnnotateOriginal , or KeepOriginal . |
TargetClass
.
Important: this package is not part of the supported API. It exists, and is exported in the
module descriptor, for compatibility reasons only.