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
Constructors -
Method Summary
Modifier and TypeMethodDescription<V extends ExprVisitor>
Vaccept
(@NonNull V v) Called when this object is visited.int
Returns a hash code for this object, consistent with structural equality.boolean
equivTo
(Object o, @NonNull JimpleComparator comparator) Returns true if this object is equivalent to o according to the given comparator.getOp()
@NonNull Type
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.boolean
toString()
void
toString
(@NonNull StmtPrinter up) @NonNull JInstanceOfExpr
withCheckType
(@NonNull Type checkType) @NonNull JInstanceOfExpr
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface sootup.core.jimple.common.expr.Expr
asJAddExpr, asJAndExpr, asJCastExpr, asJCmpExpr, asJCmpgExpr, asJCmplExpr, asJDivExpr, asJDynamicInvokeExpr, asJEqExpr, asJGeExpr, asJGtExpr, asJInterfaceInvokeExpr, asJLeExpr, asJLengthExpr, asJLtExpr, asJMulExpr, asJNeExpr, asJNegExpr, asJNewArrayExpr, asJNewExpr, asJNewMultiArrayExpr, asJOrExpr, asJPhiExpr, asJRemExpr, asJShlExpr, asJShrExpr, asJSpecialInvokeExpr, asJStaticInvokeExpr, asJSubExpr, asJUshrExpr, asJVirtualInvokeExpr, asJXorExpr, isJAddExpr, isJAndExpr, isJCastExpr, isJCmpExpr, isJCmpgExpr, isJCmplExpr, isJDivExpr, isJDynamicInvokeExpr, isJEqExpr, isJGeExpr, isJGtExpr, isJInterfaceInvokeExpr, isJLeExpr, isJLengthExpr, isJLtExpr, isJMulExpr, isJNeExpr, isJNegExpr, isJNewArrayExpr, isJNewExpr, isJNewMultiArrayExpr, isJOrExpr, isJPhiExpr, isJRemExpr, isJShlExpr, isJShrExpr, isJSpecialInvokeExpr, isJStaticInvokeExpr, isJSubExpr, isJUshrExpr, isJVirtualInvokeExpr, isJXorExpr, toJAddExpr, toJAndExpr, toJCastExpr, toJCmpExpr, toJCmpgExpr, toJCmplExpr, toJDivExpr, toJDynamicInvokeExpr, toJEqExpr, toJGeExpr, toJGtExpr, toJInterfaceInvokeExpr, toJLeExpr, toJLengthExpr, toJLtExpr, toJMulExpr, toJNeExpr, toJNegExpr, toJNewArrayExpr, toJNewExpr, toJNewMultiArrayExpr, toJOrExpr, toJPhiExpr, toJRemExpr, toJShlExpr, toJShrExpr, toJSpecialInvokeExpr, toJStaticInvokeExpr, toJSubExpr, toJUshrExpr, toJVirtualInvokeExpr, toJXorExpr
-
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
-
isJInstanceOfExpr
public boolean isJInstanceOfExpr()- Specified by:
isJInstanceOfExpr
in interfaceExpr
-
asJInstanceOfExpr
- Specified by:
asJInstanceOfExpr
in interfaceExpr
-
toJInstanceOfExpr
- Specified by:
toJInstanceOfExpr
in interfaceExpr
-