Package sootup.core.jimple.common.expr
Class JInstanceOfExpr
java.lang.Object
sootup.core.jimple.common.expr.JInstanceOfExpr
- All Implemented Interfaces:
EquivTo
,Value
,Expr
,Acceptor<ExprVisitor>
An expression that checks whether a value is of a certain type.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<V extends ExprVisitor>
Vaccept
(V v) Called when this object is visited.int
Returns a hash code for this object, consistent with structural equality.boolean
equivTo
(Object o, JimpleComparator comparator) Returns true if this object is equivalent to o according to the given comparator.getOp()
getType()
Returns the Soot type of this Value.getUses()
Returns a List of Locals,FieldRefs,ArrayRefs which are used by (ie contained within) this Expression or Reference.toString()
void
toString
(StmtPrinter up) withCheckType
(Type checkType)
-
Constructor Details
-
JInstanceOfExpr
-
-
Method Details
-
toString
-
toString
-
equivTo
Description copied from interface:EquivTo
Returns true if this object is equivalent to o according to the given comparator. -
equivHashCode
public int equivHashCode()Returns a hash code for this object, consistent with structural equality.- Specified by:
equivHashCode
in interfaceEquivTo
-
getOp
-
getUses
Description copied from interface:Value
Returns a List of Locals,FieldRefs,ArrayRefs which are used by (ie contained within) this Expression or Reference. -
getType
Description copied from interface:Value
Returns the Soot type of this Value. -
getCheckType
-
accept
Description copied from interface:Acceptor
Called when this object is visited.- Specified by:
accept
in interfaceAcceptor<ExprVisitor>
-
withOp
-
withCheckType
-