Class FieldRef

java.lang.Object
pascal.taie.ir.proginfo.MemberRef
pascal.taie.ir.proginfo.FieldRef
All Implemented Interfaces:
Serializable

public class FieldRef extends MemberRef
Represents field references in IR.
See Also:
  • Method Details

    • get

      public static FieldRef get(JClass declaringClass, String name, Type type, boolean isStatic)
    • getType

      public Type getType()
    • resolve

      public JField resolve()
      Specified by:
      resolve in class MemberRef
      Returns:
      the concrete class member pointed by this reference.
    • resolveNullable

      @Nullable public JField resolveNullable()
      Specified by:
      resolveNullable in class MemberRef
      Returns:
      the concrete class member pointed by this reference, or null if the member cannot be resolved.
    • toString

      public String toString()
      Overrides:
      toString in class Object