| Modifier and Type | Class and Description |
|---|---|
| private static record |
| Modifier and Type | Field and Description |
|---|---|
| private final RawBytecodeHelper | |
| private final SplitConstantPool | |
| private final boolean | |
| private int | |
| private int | |
| private final MethodTypeDesc | |
| private final String | |
| private int | |
| private int | |
| private final Queue | |
| private final ClassDesc | |
| private final BitSet |
| Access | Constructor and Description |
|---|---|
| public | StackCounter(LabelContext labelContext, StackMapTableAttribute smta, ClassDesc thisClass, String methodName, MethodTypeDesc methodDesc, boolean isStatic, RawBytecodeHelper.
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private IllegalArgumentException | |
| private void | |
| public int | Returns: maximum number of the locals requiredCalculated maximum number of the locals required |
| public int | |
| private boolean | |
| pack-priv static StackCounter | |
| private void |
| bcs | back to summary |
|---|---|
| private final RawBytecodeHelper bcs | |
| cp | back to summary |
|---|---|
| private final SplitConstantPool cp | |
| isStatic | back to summary |
|---|---|
| private final boolean isStatic | |
| maxLocals | back to summary |
|---|---|
| private int maxLocals | |
| maxStack | back to summary |
|---|---|
| private int maxStack | |
| methodDesc | back to summary |
|---|---|
| private final MethodTypeDesc methodDesc | |
| methodName | back to summary |
|---|---|
| private final String methodName | |
| rets | back to summary |
|---|---|
| private int rets | |
| stack | back to summary |
|---|---|
| private int stack | |
| targets | back to summary |
|---|---|
| private final Queue<StackCounter. | |
| thisClass | back to summary |
|---|---|
| private final ClassDesc thisClass | |
| visited | back to summary |
|---|---|
| private final BitSet visited | |
| StackCounter | back to summary |
|---|---|
| public StackCounter(LabelContext labelContext, StackMapTableAttribute smta, ClassDesc thisClass, String methodName, MethodTypeDesc methodDesc, boolean isStatic, RawBytecodeHelper. | |
| addStackSlot | back to summary |
|---|---|
| private void addStackSlot(int delta) | |
| ensureLocalSlot | back to summary |
|---|---|
| private void ensureLocalSlot(int index) | |
| error | back to summary |
|---|---|
| private IllegalArgumentException error(String msg) | |
| jump | back to summary |
|---|---|
| private void jump(int targetBci) | |
| maxLocals | back to summary |
|---|---|
| public int maxLocals() Calculated maximum number of the locals required
| |
| maxStack | back to summary |
|---|---|
| public int maxStack() Calculated maximum stack size required
| |
| next | back to summary |
|---|---|
| private boolean next() | |
| of | back to summary |
|---|---|
| pack-priv static StackCounter of(DirectCodeBuilder dcb, BufWriterImpl buf) | |
| processLdc | back to summary |
|---|---|
| private void processLdc(int index) | |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public int | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| bci | back to summary |
|---|---|
| private final int bci Record Component accessed by bci(). | |
| stack | back to summary |
|---|---|
| private final int stack Record Component accessed by stack(). | |
| Target | back to summary |
|---|---|
| private Target(int bci, int stack) | |
| bci | back to summary |
|---|---|
| public int bci() Record Component getter of bci. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| stack | back to summary |
|---|---|
| public int stack() Record Component getter of stack. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |