public class NonEmptyStackReturnMarker
extends java.lang.Object
implements proguard.classfile.instruction.visitor.InstructionVisitor
| Constructor and Description |
|---|
NonEmptyStackReturnMarker(proguard.classfile.attribute.visitor.StackSizeComputer stackSizeComputer)
Creates a new NonEmptyStackReturnMarker
|
| Modifier and Type | Method and Description |
|---|---|
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) |
public NonEmptyStackReturnMarker(proguard.classfile.attribute.visitor.StackSizeComputer stackSizeComputer)
stackSizeComputer - the stack size computer that can return the
stack sizes at the instructions that are
visited.public void visitAnyInstruction(proguard.classfile.Clazz clazz,
proguard.classfile.Method method,
proguard.classfile.attribute.CodeAttribute codeAttribute,
int offset,
proguard.classfile.instruction.Instruction instruction)
visitAnyInstruction in interface proguard.classfile.instruction.visitor.InstructionVisitorpublic void visitSimpleInstruction(proguard.classfile.Clazz clazz,
proguard.classfile.Method method,
proguard.classfile.attribute.CodeAttribute codeAttribute,
int offset,
proguard.classfile.instruction.SimpleInstruction simpleInstruction)
visitSimpleInstruction in interface proguard.classfile.instruction.visitor.InstructionVisitorpublic static boolean returnsWithNonEmptyStack(proguard.classfile.Method method)