java.lang.Object
org.glavo.classfile.impl.StackCounter
-
Constructor Summary
ConstructorsConstructorDescriptionStackCounter(LabelContext labelContext, String methodName, MethodTypeDesc methodDesc, boolean isStatic, ByteBuffer bytecode, SplitConstantPool cp, List<AbstractPseudoInstruction.ExceptionCatchImpl> handlers) -
Method Summary
-
Constructor Details
-
StackCounter
public StackCounter(LabelContext labelContext, String methodName, MethodTypeDesc methodDesc, boolean isStatic, ByteBuffer bytecode, SplitConstantPool cp, List<AbstractPseudoInstruction.ExceptionCatchImpl> handlers)
-
-
Method Details
-
maxLocals
public int maxLocals()Calculated maximum number of the locals required- Returns:
- maximum number of the locals required
-
maxStack
public int maxStack()Calculated maximum stack size required- Returns:
- maximum stack size required
-