类 NonEmptyStackReturnMarker

  • 所有已实现的接口:
    proguard.classfile.instruction.visitor.InstructionVisitor

    public class NonEmptyStackReturnMarker
    extends java.lang.Object
    implements proguard.classfile.instruction.visitor.InstructionVisitor
    This InstructionVisitor marks all methods that return with a non-empty stack (other than the return value).
    • 构造器概要

      构造器 
      构造器 说明
      NonEmptyStackReturnMarker​(proguard.classfile.attribute.visitor.StackSizeComputer stackSizeComputer)
      Creates a new NonEmptyStackReturnMarker
    • 方法概要

      所有方法 静态方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      static boolean returnsWithNonEmptyStack​(proguard.classfile.Method method)  
      void visitAnyInstruction​(proguard.classfile.Clazz clazz, proguard.classfile.Method method, proguard.classfile.attribute.CodeAttribute codeAttribute, int offset, proguard.classfile.instruction.Instruction instruction)  
      void visitSimpleInstruction​(proguard.classfile.Clazz clazz, proguard.classfile.Method method, proguard.classfile.attribute.CodeAttribute codeAttribute, int offset, proguard.classfile.instruction.SimpleInstruction simpleInstruction)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • 从接口继承的方法 proguard.classfile.instruction.visitor.InstructionVisitor

        visitAnySwitchInstruction, visitBranchInstruction, visitConstantInstruction, visitLookUpSwitchInstruction, visitTableSwitchInstruction, visitVariableInstruction
    • 构造器详细资料

      • NonEmptyStackReturnMarker

        public NonEmptyStackReturnMarker​(proguard.classfile.attribute.visitor.StackSizeComputer stackSizeComputer)
        Creates a new NonEmptyStackReturnMarker
        参数:
        stackSizeComputer - the stack size computer that can return the stack sizes at the instructions that are visited.
    • 方法详细资料

      • visitAnyInstruction

        public void visitAnyInstruction​(proguard.classfile.Clazz clazz,
                                        proguard.classfile.Method method,
                                        proguard.classfile.attribute.CodeAttribute codeAttribute,
                                        int offset,
                                        proguard.classfile.instruction.Instruction instruction)
        指定者:
        visitAnyInstruction 在接口中 proguard.classfile.instruction.visitor.InstructionVisitor
      • visitSimpleInstruction

        public void visitSimpleInstruction​(proguard.classfile.Clazz clazz,
                                           proguard.classfile.Method method,
                                           proguard.classfile.attribute.CodeAttribute codeAttribute,
                                           int offset,
                                           proguard.classfile.instruction.SimpleInstruction simpleInstruction)
        指定者:
        visitSimpleInstruction 在接口中 proguard.classfile.instruction.visitor.InstructionVisitor
      • returnsWithNonEmptyStack

        public static boolean returnsWithNonEmptyStack​(proguard.classfile.Method method)