(final int maxStack, final int maxLocals)
| 1535 | } |
| 1536 | |
| 1537 | @Override |
| 1538 | public void visitMaxs(final int maxStack, final int maxLocals) { |
| 1539 | if (compute == COMPUTE_ALL_FRAMES) { |
| 1540 | computeAllFrames(); |
| 1541 | } else if (compute == COMPUTE_MAX_STACK_AND_LOCAL) { |
| 1542 | computeMaxStackAndLocal(); |
| 1543 | } else if (compute == COMPUTE_MAX_STACK_AND_LOCAL_FROM_FRAMES) { |
| 1544 | this.maxStack = maxRelativeStackSize; |
| 1545 | } else { |
| 1546 | this.maxStack = maxStack; |
| 1547 | this.maxLocals = maxLocals; |
| 1548 | } |
| 1549 | } |
| 1550 | |
| 1551 | /** Computes all the stack map frames of the method, from scratch. */ |
| 1552 | private void computeAllFrames() { |
no test coverage detected