Package com.oracle.svm.core.annotate
Annotation Interface TargetElement
Specifies additional properties for an element also annotated with
Alias
, Delete
,
Substitute
, AnnotateOriginal
, or KeepOriginal
.
See TargetClass
for an overview of the annotation system.
- Since:
- 22.3
-
Optional Element Summary
-
Field Summary
-
Field Details
-
CONSTRUCTOR_NAME
- Since:
- 22.3
- See Also:
-
-
Element Details
-
name
String nameThe name of the field or method in the original class. If the default value is specified for this element, then the name of the annotated field or method is used.To make a reference to a constructor, use the name
CONSTRUCTOR_NAME
.- Since:
- 22.3
- Default:
""
-
onlyWith
Class<?>[] onlyWithSubstitute only if all provided predicates are true (default: unconditional substitution that is always included). The classes must either implementBooleanSupplier
orPredicate
<Class> (the parameter forPredicate.test(T)
is the "original" class as specified by theTargetClass
annotation, as aClass
).- Since:
- 22.3
- Default:
{com.oracle.svm.core.annotate.TargetClass.AlwaysIncluded.class}
-