类 StoringInvocationUnit

  • 所有已实现的接口:
    proguard.classfile.constant.visitor.ConstantVisitor, proguard.classfile.visitor.MemberVisitor, proguard.classfile.visitor.ParameterVisitor, proguard.evaluation.InvocationUnit

    public class StoringInvocationUnit
    extends proguard.evaluation.BasicInvocationUnit
    This InvocationUnit stores parameter values and return values with the methods that are invoked.
    另请参阅:
    LoadingInvocationUnit
    • 字段概要

      • 从类继承的字段 proguard.evaluation.BasicInvocationUnit

        valueFactory
      • 从类继承的字段 proguard.evaluation.SimplifiedInvocationUnit

        isLoad, isStatic, method, stack, variables
    • 构造器概要

      构造器 
      构造器 说明
      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.ReferenceValue getFieldClassValue​(proguard.classfile.Field field)  
      static proguard.evaluation.value.Value getFieldValue​(proguard.classfile.Field field)  
      static proguard.evaluation.value.Value getMethodParameterValue​(proguard.classfile.Method method, int parameterIndex)  
      static proguard.evaluation.value.Value getMethodReturnValue​(proguard.classfile.Method method)  
      void setFieldClassValue​(proguard.classfile.Clazz clazz, proguard.classfile.constant.FieldrefConstant refConstant, proguard.evaluation.value.ReferenceValue value)  
      void setFieldValue​(proguard.classfile.Clazz clazz, proguard.classfile.constant.FieldrefConstant refConstant, proguard.evaluation.value.Value value)  
      void setMethodParameterValue​(proguard.classfile.Clazz clazz, proguard.classfile.constant.AnyMethodrefConstant refConstant, int parameterIndex, proguard.evaluation.value.Value value)  
      void setMethodReturnValue​(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
      • 从接口继承的方法 proguard.evaluation.InvocationUnit

        enterExceptionHandler, enterMethod, exitMethod, invokeMember
      • 从接口继承的方法 proguard.classfile.visitor.MemberVisitor

        visitAnyMember, visitLibraryMember, visitProgramMember
    • 构造器详细资料

      • 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)