Interface IDStaticField

All Superinterfaces:
IDElement, IDExpression, IDField, IInstructionOperand

public interface IDStaticField extends IDField
dexdec IR static field, including a type's class pseudo-attribute.

Examples:

 Foo.SomeStaticField = 1;
 ^^^^^^^^^^^^^^^^^^^
 
 Class cls = Foo.class;
             ^^^^^^^^^
 
  • Method Details

    • getClassSignature

      String getClassSignature()
      Retrieve the signature of the class containing this static field.
      Returns:
    • isTypeClass

      boolean isTypeClass()
      Determine whether this object represents the pseudo-field Type.class.
      Returns:
    • duplicate

      IDStaticField duplicate()
      Description copied from interface: IDElement
      Duplicate this element.
      Specified by:
      duplicate in interface IDElement
      Specified by:
      duplicate in interface IDExpression
      Specified by:
      duplicate in interface IDField
      Returns:
      a deep copy of this element; the type of the duplicated element should be the same as this element's type