| Modifier and Type | Class and Description |
|---|---|
| private static record | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private Integer | |
| private CodeStackTrackerImpl. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(CodeBuilder cb, CodeElement el)
Implements java. Transform an element by taking the appropriate actions on the builder. |
| private CodeStackTrackerImpl. | |
| public Optional | maxStackSize()
Implements jdk. Returns tracked max stack size. |
| private void | |
| private void | |
| public Optional | stack()
Implements jdk. Returns Collection of TypeKind representing current stack. |
| private void |
| map | back to summary |
|---|---|
| private final Map<Label, CodeStackTrackerImpl. | |
| maxSize | back to summary |
|---|---|
| private Integer maxSize | |
| stack | back to summary |
|---|---|
| private CodeStackTrackerImpl. | |
| CodeStackTrackerImpl | back to summary |
|---|---|
| public CodeStackTrackerImpl(TypeKind... initialStack) | |
| accept | back to summary |
|---|---|
| public void accept(CodeBuilder cb, CodeElement el) Implements java. Doc from java. Transform an element by taking the appropriate actions on the builder.
Used when transforming a classfile entity (class, method, field, method
body.) If no transformation is desired, the element can be presented to
This method is called by the Class-File API. Users should never call this method.
| |
| fork | back to summary |
|---|---|
| private CodeStackTrackerImpl. | |
| maxStackSize | back to summary |
|---|---|
| public Optional Implements jdk. Doc from jdk. Returns tracked max stack size. Returns an empty Optional when max stack size tracking has been lost. Max stack size tracking is permanently lost when a stack instruction appears and the actual stack content is unknown.
| |
| pop | back to summary |
|---|---|
| private void pop(int i) | |
| push | back to summary |
|---|---|
| private void push(TypeKind type) | |
| stack | back to summary |
|---|---|
| public Optional Implements jdk. Doc from jdk. Returns Collection of TypeKind representing current stack.
Returns an empty Optional when the Stack content is unknown
(right after Temporary unknown stack content can be recovered by binding of a Label used as target of a branch instruction from existing code with known stack (forward branch target), or by binding of a Label defining an exception handler (exception handler code start).
| |
| withStack | back to summary |
|---|---|
| private void withStack(Consumer<CodeStackTrackerImpl. | |
| Modifier and Type | Field and Description |
|---|---|
| private final CodeStackTrackerImpl. | |
| private final TypeKind |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public CodeStackTrackerImpl. | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| public TypeKind |
| next | back to summary |
|---|---|
| private final CodeStackTrackerImpl. Record Component accessed by next(). | |
| type | back to summary |
|---|---|
| private final TypeKind type Record Component accessed by type(). | |
| Item | back to summary |
|---|---|
| private Item(TypeKind type, CodeStackTrackerImpl. | |
| 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 | |
| next | back to summary |
|---|---|
| public CodeStackTrackerImpl. Record Component getter of next. | |
| 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. | |
| type | back to summary |
|---|---|
| public TypeKind type() Record Component getter of type. | |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int | |
| private CodeStackTrackerImpl. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Iterator | iterator()
Implements abstract java. Implements java. Returns an iterator over the elements contained in this collection. |
| private TypeKind | |
| private void | |
| public int | size()
Implements abstract java. Implements java. Returns the number of elements in this collection. |
| count | back to summary |
|---|---|
| private int count | |
| realSize | back to summary |
|---|---|
| private int realSize | |
| top | back to summary |
|---|---|
| private CodeStackTrackerImpl. | |
| Stack | back to summary |
|---|---|
| pack-priv Stack(CodeStackTrackerImpl. | |
| iterator | back to summary |
|---|---|
| public Iterator Implements abstract java. Implements java. Doc from java. Returns an iterator over the elements contained in this collection.
| |
| pop | back to summary |
|---|---|
| private TypeKind pop() | |
| push | back to summary |
|---|---|
| private void push(TypeKind type) | |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this collection. If this collection
contains more than
| |