Class FunctionPointerConstant

    • Constructor Detail

      • FunctionPointerConstant

        public FunctionPointerConstant​(DotnetMethod method,
                                       boolean virtual)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • isVirtual

        public boolean isVirtual()
      • equivTo

        public boolean equivTo​(Object o)
        Description copied from class: Constant
        Returns true if this object is structurally equivalent to c. For Constants, equality is structural equality, so we just call equals().
        Specified by:
        equivTo in interface EquivTo
        Overrides:
        equivTo in class Constant
      • equivHashCode

        public int equivHashCode()
        Description copied from class: Constant
        Returns a hash code consistent with structural equality for this object. For Constants, equality is structural equality; we hope that each subclass defines hashCode() correctly.
        Specified by:
        equivHashCode in interface EquivTo
        Overrides:
        equivHashCode in class Constant
      • getType

        public Type getType()
        Description copied from interface: Value
        Returns the Soot type of this Value.
      • apply

        public void apply​(Switch sw)
        Description copied from interface: Switchable
        Called when this object is visited.