Package proguard.dexfile.ir.expr
Class InvokeExpr
- java.lang.Object
-
- proguard.dexfile.ir.expr.Value
-
- proguard.dexfile.ir.expr.Value.EnExpr
-
- proguard.dexfile.ir.expr.AbstractInvokeExpr
-
- proguard.dexfile.ir.expr.InvokeExpr
-
- All Implemented Interfaces:
java.lang.Cloneable
- Direct Known Subclasses:
InvokeCustomExpr
,InvokeNewExpr
,InvokePolymorphicExpr
public class InvokeExpr extends AbstractInvokeExpr
Represent a method invocation expression. To represent aValue.VT.INVOKE_INTERFACE
,Value.VT.INVOKE_SPECIAL
orValue.VT.INVOKE_VIRTUAL
the first element of ops is the owner object,To represent aValue.VT.INVOKE_NEW
orValue.VT.INVOKE_STATIC
all ops are arguments. The return type ofValue.VT.INVOKE_NEW
is owner instead of ret
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class proguard.dexfile.ir.expr.Value
Value.E0Expr, Value.E1Expr, Value.E2Expr, Value.EnExpr, Value.VT
-
-
Constructor Summary
Constructors Constructor Description InvokeExpr(Value.VT type, Value[] args, java.lang.String ownerType, java.lang.String methodName, java.lang.String[] argmentTypes, java.lang.String returnType)
InvokeExpr(Value.VT type, Value[] args, Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InvokeExpr
clone()
InvokeExpr
clone(LabelAndLocalMapper mapper)
java.lang.String[]
getArgs()
java.lang.String
getName()
java.lang.String
getOwner()
Proto
getProto()
java.lang.String
getRet()
protected void
releaseMemory()
clean resource used by this value,release memoryjava.lang.String
toString0()
-
Methods inherited from class proguard.dexfile.ir.expr.Value.EnExpr
cloneOps, cloneOps, getOps, setOps
-
-
-
-
Field Detail
-
method
public Method method
-
-
Method Detail
-
releaseMemory
protected void releaseMemory()
Description copied from class:Value
clean resource used by this value,release memory- Overrides:
releaseMemory
in classAbstractInvokeExpr
-
getProto
public Proto getProto()
- Specified by:
getProto
in classAbstractInvokeExpr
-
clone
public InvokeExpr clone()
-
clone
public InvokeExpr clone(LabelAndLocalMapper mapper)
-
getOwner
public java.lang.String getOwner()
-
getRet
public java.lang.String getRet()
-
getName
public java.lang.String getName()
-
getArgs
public java.lang.String[] getArgs()
-
-