public final class FieldAccessStaticContext extends AbstractStaticContext
Note: This context can only be used with BytecodeMarker
triggering on field access instructions, i.e., GETFIELD, PUTFIELD, GETSTATIC,
and PUTSTATIC. If you are not sure whether the context can be used, use the
isValid()
method to check if the context is valid.
Constructor and Description |
---|
FieldAccessStaticContext() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescriptor() |
java.lang.String |
getName() |
java.lang.String |
getOwnerClassName() |
java.lang.String |
getOwnerInternalName() |
boolean |
isValid() |
staticContextData
public boolean isValid()
True
if the context is valid.public java.lang.String getName()
public java.lang.String getDescriptor()
public java.lang.String getOwnerClassName()
public java.lang.String getOwnerInternalName()