类 StoringInvocationUnit
- java.lang.Object
-
- proguard.evaluation.SimplifiedInvocationUnit
-
- proguard.evaluation.BasicInvocationUnit
-
- proguard.optimize.evaluation.StoringInvocationUnit
-
- 所有已实现的接口:
proguard.classfile.constant.visitor.ConstantVisitor,proguard.classfile.visitor.MemberVisitor,proguard.classfile.visitor.ParameterVisitor,proguard.evaluation.InvocationUnit
public class StoringInvocationUnit extends proguard.evaluation.BasicInvocationUnitThis InvocationUnit stores parameter values and return values with the methods that are invoked.- 另请参阅:
LoadingInvocationUnit
-
-
构造器概要
构造器 构造器 说明 StoringInvocationUnit(proguard.evaluation.value.ValueFactory valueFactory)Creates a new StoringInvocationUnit with the given value factory.StoringInvocationUnit(proguard.evaluation.value.ValueFactory valueFactory, boolean storeFieldValues, boolean storeMethodParameterValues, boolean storeMethodReturnValues)Creates a new StoringInvocationUnit with the given value factory, for storing the specified values.
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static proguard.evaluation.value.ReferenceValuegetFieldClassValue(proguard.classfile.Field field)static proguard.evaluation.value.ValuegetFieldValue(proguard.classfile.Field field)static proguard.evaluation.value.ValuegetMethodParameterValue(proguard.classfile.Method method, int parameterIndex)static proguard.evaluation.value.ValuegetMethodReturnValue(proguard.classfile.Method method)voidsetFieldClassValue(proguard.classfile.Clazz clazz, proguard.classfile.constant.FieldrefConstant refConstant, proguard.evaluation.value.ReferenceValue value)voidsetFieldValue(proguard.classfile.Clazz clazz, proguard.classfile.constant.FieldrefConstant refConstant, proguard.evaluation.value.Value value)voidsetMethodParameterValue(proguard.classfile.Clazz clazz, proguard.classfile.constant.AnyMethodrefConstant refConstant, int parameterIndex, proguard.evaluation.value.Value value)voidsetMethodReturnValue(proguard.classfile.Clazz clazz, proguard.classfile.Method method, proguard.evaluation.value.Value value)-
从类继承的方法 proguard.evaluation.BasicInvocationUnit
getExceptionValue, getFieldClassValue, getFieldValue, getMethodParameterValue, getMethodReturnValue, getMethodReturnValue, visitLibraryField, visitLibraryMethod, visitProgramField, visitProgramMethod
-
从类继承的方法 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
-
-
-
-
构造器详细资料
-
StoringInvocationUnit
public StoringInvocationUnit(proguard.evaluation.value.ValueFactory valueFactory)
Creates a new StoringInvocationUnit with the given value factory.
-
StoringInvocationUnit
public StoringInvocationUnit(proguard.evaluation.value.ValueFactory valueFactory, boolean storeFieldValues, boolean storeMethodParameterValues, boolean storeMethodReturnValues)Creates a new StoringInvocationUnit with the given value factory, for storing the specified values.
-
-
方法详细资料
-
setFieldClassValue
public void setFieldClassValue(proguard.classfile.Clazz clazz, proguard.classfile.constant.FieldrefConstant refConstant, proguard.evaluation.value.ReferenceValue value)- 覆盖:
setFieldClassValue在类中proguard.evaluation.BasicInvocationUnit
-
setFieldValue
public void setFieldValue(proguard.classfile.Clazz clazz, proguard.classfile.constant.FieldrefConstant refConstant, proguard.evaluation.value.Value value)- 覆盖:
setFieldValue在类中proguard.evaluation.BasicInvocationUnit
-
setMethodParameterValue
public void setMethodParameterValue(proguard.classfile.Clazz clazz, proguard.classfile.constant.AnyMethodrefConstant refConstant, int parameterIndex, proguard.evaluation.value.Value value)- 覆盖:
setMethodParameterValue在类中proguard.evaluation.BasicInvocationUnit
-
setMethodReturnValue
public void setMethodReturnValue(proguard.classfile.Clazz clazz, proguard.classfile.Method method, proguard.evaluation.value.Value value)- 覆盖:
setMethodReturnValue在类中proguard.evaluation.BasicInvocationUnit
-
getFieldClassValue
public static proguard.evaluation.value.ReferenceValue getFieldClassValue(proguard.classfile.Field field)
-
getFieldValue
public static proguard.evaluation.value.Value getFieldValue(proguard.classfile.Field field)
-
getMethodParameterValue
public static proguard.evaluation.value.Value getMethodParameterValue(proguard.classfile.Method method, int parameterIndex)
-
getMethodReturnValue
public static proguard.evaluation.value.Value getMethodReturnValue(proguard.classfile.Method method)
-
-