类 BasicInvocationUnit
java.lang.Object
proguard.evaluation.SimplifiedInvocationUnit
proguard.evaluation.BasicInvocationUnit
- 所有已实现的接口:
ConstantVisitor,MemberVisitor,ParameterVisitor,InvocationUnit
- 直接已知子类:
ExecutingInvocationUnit
public class BasicInvocationUnit
extends SimplifiedInvocationUnit
implements InvocationUnit, MemberVisitor
This
InvocationUnit sets up the variables for entering a method, and it updates the stack
for the invocation of a class member, using simple values.-
字段概要
字段 -
构造器概要
构造器构造器说明BasicInvocationUnit(ValueFactory valueFactory) Creates a new BasicInvocationUnit with the given value factory. -
方法概要
修饰符和类型方法说明getExceptionValue(Clazz clazz, ClassConstant catchClassConstant) Returns the value of the specified exception.getFieldClassValue(Clazz clazz, FieldrefConstant fieldrefConstant, String type) Returns the class though which the specified field is accessed.getFieldValue(Clazz clazz, FieldrefConstant fieldrefConstant, String type) Returns the value of the specified field.getMethodParameterValue(Clazz clazz, Method method, int parameterIndex, String type, Clazz referencedClass) Returns the value of the specified method parameter.getMethodReturnValue(Clazz clazz, AnyMethodrefConstant anyMethodrefConstant, String type) Returns the return value of the specified method.getMethodReturnValue(Clazz clazz, InvokeDynamicConstant invokeDynamicConstant, String type) Returns the return value of the specified method.voidsetFieldClassValue(Clazz clazz, FieldrefConstant fieldrefConstant, ReferenceValue value) Sets the class through which the specified field is accessed.voidsetFieldValue(Clazz clazz, FieldrefConstant fieldrefConstant, Value value) Sets the value of the specified field.voidsetMethodParameterValue(Clazz clazz, AnyMethodrefConstant anyMethodrefConstant, int parameterIndex, Value value) Sets the value of the specified method parameter.voidsetMethodReturnValue(Clazz clazz, Method method, Value value) Sets the return value of the specified method.voidvisitLibraryField(LibraryClass programClass, LibraryField libraryField) voidvisitLibraryMethod(LibraryClass libraryClass, LibraryMethod libraryMethod) voidvisitProgramField(ProgramClass programClass, ProgramField programField) voidvisitProgramMethod(ProgramClass programClass, ProgramMethod programMethod) 从类继承的方法 proguard.evaluation.SimplifiedInvocationUnit
enterExceptionHandler, enterMethod, exitMethod, invokeMember, methodMayHaveSideEffects, visitAnyMethodrefConstant, visitFieldrefConstant, visitInvokeDynamicConstant, visitParameter从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 proguard.classfile.constant.visitor.ConstantVisitor
visitAnyConstant, visitAnyRefConstant, visitClassConstant, visitDoubleConstant, visitDynamicConstant, visitFloatConstant, visitIntegerConstant, visitInterfaceMethodrefConstant, visitLongConstant, visitMethodHandleConstant, visitMethodrefConstant, visitMethodTypeConstant, visitModuleConstant, visitNameAndTypeConstant, visitPackageConstant, visitPrimitiveArrayConstant, visitStringConstant, visitUtf8Constant从接口继承的方法 proguard.evaluation.InvocationUnit
enterExceptionHandler, enterMethod, exitMethod, invokeMember从接口继承的方法 proguard.classfile.visitor.MemberVisitor
visitAnyMember, visitLibraryMember, visitProgramMember
-
字段详细资料
-
valueFactory
-
-
构造器详细资料
-
BasicInvocationUnit
Creates a new BasicInvocationUnit with the given value factory.
-
-
方法详细资料
-
getExceptionValue
从类复制的说明:SimplifiedInvocationUnitReturns the value of the specified exception. -
setFieldClassValue
public void setFieldClassValue(Clazz clazz, FieldrefConstant fieldrefConstant, ReferenceValue value) 从类复制的说明:SimplifiedInvocationUnitSets the class through which the specified field is accessed. -
getFieldClassValue
从类复制的说明:SimplifiedInvocationUnitReturns the class though which the specified field is accessed. -
setFieldValue
从类复制的说明:SimplifiedInvocationUnitSets the value of the specified field.- 指定者:
setFieldValue在类中SimplifiedInvocationUnit
-
getFieldValue
从类复制的说明:SimplifiedInvocationUnitReturns the value of the specified field.- 指定者:
getFieldValue在类中SimplifiedInvocationUnit
-
setMethodParameterValue
public void setMethodParameterValue(Clazz clazz, AnyMethodrefConstant anyMethodrefConstant, int parameterIndex, Value value) 从类复制的说明:SimplifiedInvocationUnitSets the value of the specified method parameter. -
getMethodParameterValue
public Value getMethodParameterValue(Clazz clazz, Method method, int parameterIndex, String type, Clazz referencedClass) 从类复制的说明:SimplifiedInvocationUnitReturns the value of the specified method parameter. -
setMethodReturnValue
从类复制的说明:SimplifiedInvocationUnitSets the return value of the specified method. -
getMethodReturnValue
public Value getMethodReturnValue(Clazz clazz, AnyMethodrefConstant anyMethodrefConstant, String type) 从类复制的说明:SimplifiedInvocationUnitReturns the return value of the specified method. -
getMethodReturnValue
public Value getMethodReturnValue(Clazz clazz, InvokeDynamicConstant invokeDynamicConstant, String type) Returns the return value of the specified method. -
visitProgramField
- 指定者:
visitProgramField在接口中MemberVisitor
-
visitProgramMethod
- 指定者:
visitProgramMethod在接口中MemberVisitor
-
visitLibraryField
- 指定者:
visitLibraryField在接口中MemberVisitor
-
visitLibraryMethod
- 指定者:
visitLibraryMethod在接口中MemberVisitor
-