Package sootup.core.jimple.common.expr
Class JInstanceOfExpr
java.lang.Object
sootup.core.jimple.common.expr.JInstanceOfExpr
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.voidcollectUses(List<Value> collector) Collects all values used by this value into the given list.intReturns a hash code for this object, consistent with structural equality.booleanequivTo(Object o, @NonNull JimpleComparator comparator) Returns true if this object is equivalent to o according to the given comparator.getOp()@NonNull TypegetType()Returns the Soot type of this Value.booleantoString()voidtoString(@NonNull StmtPrinter up) Appends a string representation of this value to the given printer.@NonNull JInstanceOfExprwithCheckType(@NonNull Type checkType) @NonNull JInstanceOfExprMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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
Description copied from interface:ValueAppends a string representation of this value to the given printer. -
equivTo
Description copied from interface:EquivToReturns 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:
equivHashCodein interfaceEquivTo- Returns:
- a structural hash code consistent with equivTo
-
getOp
-
collectUses
Description copied from interface:ValueCollects all values used by this value into the given list.- Specified by:
collectUsesin interfaceValue
-
getType
Description copied from interface:ValueReturns the Soot type of this Value. -
getCheckType
-
accept
Description copied from interface:AcceptorCalled when this object is visited.- Specified by:
acceptin interfaceAcceptor<ExprVisitor>- Type Parameters:
V- the concrete visitor type- Parameters:
v- the visitor processing this object- Returns:
- the visitor after processing
-
withOp
-
withCheckType
-
isJInstanceOfExpr
public boolean isJInstanceOfExpr()- Specified by:
isJInstanceOfExprin interfaceExpr
-
asJInstanceOfExpr
- Specified by:
asJInstanceOfExprin interfaceExpr
-
toJInstanceOfExpr
- Specified by:
toJInstanceOfExprin interfaceExpr
-