@Retention(value=RUNTIME) @Target(value={METHOD,CONSTRUCTOR}) public @interface RestrictHeapAccess
Modifier and Type | Required Element and Description |
---|---|
RestrictHeapAccess.Access |
access |
String |
reason |
Modifier and Type | Optional Element and Description |
---|---|
boolean |
mayBeInlined |
boolean |
overridesCallers
When
RestrictHeapAccess.overridesCallers() is enabled and this method is (transitively) called from a
caller with restricted heap access, override the caller's restrictions with those of this
method from RestrictHeapAccess.access() . |
public abstract RestrictHeapAccess.Access access
public abstract String reason
public abstract boolean overridesCallers
RestrictHeapAccess.overridesCallers()
is enabled and this method is (transitively) called from a
caller with restricted heap access, override the caller's restrictions with those of this
method from RestrictHeapAccess.access()
.