Class VarRef

  • All Implemented Interfaces:
    ICodeAnnotation
    Direct Known Subclasses:
    VarRef.FixedVarRef, VarRef.RelatedVarRef

    public abstract class VarRef
    extends java.lang.Object
    implements ICodeAnnotation
    Variable reference by position of VarNode in code metadata.
    Because on creation position not yet known, VarRef created using VarNode as a source of ref pos during serialization.
    On metadata deserialization created with ref pos directly.
    • Constructor Detail

      • VarRef

        public VarRef()
    • Method Detail

      • fromPos

        public static VarRef fromPos​(int refPos)
      • fromVarNode

        public static VarRef fromVarNode​(VarNode varNode)
      • getRefPos

        public abstract int getRefPos()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object