Package sootup.core.jimple.common.expr
Class JDynamicInvokeExpr
java.lang.Object
sootup.core.jimple.common.expr.AbstractInvokeExpr
sootup.core.jimple.common.expr.JDynamicInvokeExpr
- All Implemented Interfaces:
EquivTo
,Value
,Expr
,Acceptor<ExprVisitor>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionJDynamicInvokeExpr
(MethodSignature bootstrapMethodSignature, List<Immediate> bootstrapArgs, MethodSignature methodSignature, int tag, List<Immediate> methodArgs) Assigns values returned by newImmediateBox to an array bsmArgBoxes of type ValueBox.JDynamicInvokeExpr
(MethodSignature bootstrapMethodSignature, List<Immediate> bootstrapArgs, MethodSignature methodSignature, List<Immediate> methodArgs) Makes a parameterized call to JDynamicInvokeExpr method. -
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.getBootstrapArg
(int index) int
Returns a list args of type Value.int
toString()
void
toString
(StmtPrinter up) withBootstrapArgs
(List<Immediate> bootstrapArgs) withBootstrapMethodSignature
(MethodSignature bootstrapMethodSignature) withMethodArgs
(List<Immediate> methodArgs) withMethodSignature
(MethodSignature methodSignature) Methods inherited from class sootup.core.jimple.common.expr.AbstractInvokeExpr
argsToPrinter, argsToString, getArg, getArgCount, getArgs, getMethodSignature, getType, getUses
-
Field Details
-
INVOKEDYNAMIC_DUMMY_CLASS_NAME
- See Also:
-
-
Constructor Details
-
JDynamicInvokeExpr
public JDynamicInvokeExpr(@Nonnull MethodSignature bootstrapMethodSignature, @Nonnull List<Immediate> bootstrapArgs, @Nonnull MethodSignature methodSignature, int tag, @Nonnull List<Immediate> methodArgs) Assigns values returned by newImmediateBox to an array bsmArgBoxes of type ValueBox. -
JDynamicInvokeExpr
public JDynamicInvokeExpr(@Nonnull MethodSignature bootstrapMethodSignature, @Nonnull List<Immediate> bootstrapArgs, @Nonnull MethodSignature methodSignature, @Nonnull List<Immediate> methodArgs) Makes a parameterized call to JDynamicInvokeExpr method.
-
-
Method Details
-
getBootstrapMethodSignature
-
getBootstrapArgCount
public int getBootstrapArgCount() -
getBootstrapArg
-
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. -
toString
-
toString
-
accept
Description copied from interface:Acceptor
Called when this object is visited. -
getBootstrapArgs
Returns a list args of type Value. -
getHandleTag
public int getHandleTag() -
withBootstrapMethodSignature
@Nonnull public JDynamicInvokeExpr withBootstrapMethodSignature(@Nonnull MethodSignature bootstrapMethodSignature) -
withBootstrapArgs
-
withMethodSignature
-
withMethodArgs
-