public class HotSpotResolvedJavaFieldImpl extends Object implements HotSpotResolvedJavaField, HotSpotProxified
Modifier and Type | Class and Description |
---|---|
static class |
HotSpotResolvedJavaFieldImpl.FieldLocationIdentity |
(package private) static class |
HotSpotResolvedJavaFieldImpl.Options |
(package private) static class |
HotSpotResolvedJavaFieldImpl.WellKnownImplicitStableField |
Modifier and Type | Field and Description |
---|---|
private HotSpotResolvedObjectTypeImpl |
holder |
private LocationIdentity |
locationIdentity |
private int |
modifiers
This value contains all flags as stored in the VM including internal ones.
|
private String |
name |
private int |
offset |
private Field |
toJavaCache |
private JavaType |
type |
ANNOTATION, BRIDGE, ENUM, MANDATED, SYNTHETIC, VARARGS
Constructor and Description |
---|
HotSpotResolvedJavaFieldImpl(HotSpotResolvedObjectTypeImpl holder,
String name,
JavaType type,
long offset,
int modifiers) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
HotSpotResolvedObjectTypeImpl |
getDeclaringClass() |
LocationIdentity |
getLocationIdentity() |
int |
getModifiers() |
String |
getName() |
JavaType |
getType() |
int |
hashCode() |
private boolean |
isArray() |
private boolean |
isImplicitStableField() |
boolean |
isInObject(Object object)
Determines if a given object contains this field.
|
boolean |
isInternal() |
boolean |
isStable()
Checks if this field has the
Stable annotation. |
boolean |
isSynthetic() |
private boolean |
isSyntheticImplicitStableField() |
private boolean |
isWellKnownImplicitStableField() |
int |
offset() |
private Field |
toJava() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
isFinal
isAbstract, isConcrete, isFinalFlagSet, isInterface, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSynchronized, isTransient, isVolatile, jvmClassModifiers, jvmFieldModifiers, jvmMethodModifiers
private final HotSpotResolvedObjectTypeImpl holder
private final int offset
private final int modifiers
private final LocationIdentity locationIdentity
private Field toJavaCache
public HotSpotResolvedJavaFieldImpl(HotSpotResolvedObjectTypeImpl holder, String name, JavaType type, long offset, int modifiers)
public int getModifiers()
getModifiers
in interface ModifiersProvider
getModifiers
in interface ResolvedJavaField
public boolean isInternal()
isInternal
in interface ResolvedJavaField
public boolean isInObject(Object object)
isInObject
in interface HotSpotResolvedJavaField
object
's classpublic HotSpotResolvedObjectTypeImpl getDeclaringClass()
getDeclaringClass
in interface JavaField
getDeclaringClass
in interface ResolvedJavaField
public int offset()
offset
in interface HotSpotResolvedJavaField
public boolean isSynthetic()
isSynthetic
in interface ResolvedJavaField
public boolean isStable()
Stable
annotation.isStable
in interface HotSpotResolvedJavaField
Stable
annotation, false otherwisepublic <T extends Annotation> T getAnnotation(Class<T> annotationClass)
getAnnotation
in interface ResolvedJavaField
private boolean isArray()
private boolean isImplicitStableField()
private boolean isSyntheticImplicitStableField()
private boolean isWellKnownImplicitStableField()
public LocationIdentity getLocationIdentity()
getLocationIdentity
in interface ResolvedJavaField