Class InstanceOfExp

java.lang.Object
pascal.taie.ir.exp.InstanceOfExp
All Implemented Interfaces:
Serializable, Exp, RValue

public class InstanceOfExp extends Object implements RValue
Representation of instanceof expression, e.g., o instanceof T.
See Also:
  • Constructor Details

  • Method Details

    • getValue

      public Var getValue()
    • getCheckedType

      public ReferenceType getCheckedType()
    • getType

      public PrimitiveType getType()
      Specified by:
      getType in interface Exp
      Returns:
      type of this expression.
    • getUses

      public Set<RValue> getUses()
      Specified by:
      getUses in interface Exp
      Returns:
      a list of expressions which are used by (contained in) this Exp.
    • accept

      public <T> T accept(ExpVisitor<T> visitor)
      Specified by:
      accept in interface Exp
    • toString

      public String toString()
      Overrides:
      toString in class Object