| Modifier and Type | Class and Description |
|---|---|
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv List | |
| pack-priv List | |
| pack-priv boolean | |
| pack-priv LabelImpl[] | |
| pack-priv int[] | |
| pack-priv static final Instruction[] |
| Access | Constructor and Description |
|---|---|
| public | CodeImpl(AttributedElement enclosing, ClassReader reader, AttributeMapper<CodeAttribute> mapper, int payloadStart)
|
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| public List | attributes()
Implements java. Returns the attributes of this structure. |
| private Instruction | |
| public boolean | |
| public List | exceptionHandlers()
Implements java. Returns the exception table of the method. |
| public void | forEach(Consumer<? super CodeElement> consumer)
Implements java. Invokes the provided handler with each member element in this compound element. |
| private void | |
| private void | |
| private void | |
| public Label | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public void | |
| public int | labelToBci(Label label)
Implements jdk. Returns the position of the |
| public Label | |
| public Optional | |
| public void | setLabelTarget(Label label, int bci)
Implements jdk.
|
| public String | toString()
Overrides jdk. Returns a string representation of the object. |
| public void | writeTo(BufWriterImpl buf)
Overrides jdk. Implements jdk.
|
| attributes | back to summary |
|---|---|
| pack-priv List<Attribute<?>> attributes | |
| exceptionTable | back to summary |
|---|---|
| pack-priv List<ExceptionCatch> exceptionTable | |
| inflated | back to summary |
|---|---|
| pack-priv boolean inflated | |
| labels | back to summary |
|---|---|
| pack-priv LabelImpl[] labels | |
| lineNumbers | back to summary |
|---|---|
| pack-priv int[] lineNumbers | |
| SINGLETON_INSTRUCTIONS | back to summary |
|---|---|
| pack-priv static final Instruction[] SINGLETON_INSTRUCTIONS | |
| CodeImpl | back to summary |
|---|---|
| public CodeImpl(AttributedElement enclosing, ClassReader reader, AttributeMapper<CodeAttribute> mapper, int payloadStart) | |
| adjustForObjectOrUninitialized | back to summary |
|---|---|
| private int adjustForObjectOrUninitialized(int bci) | |
| attributes | back to summary |
|---|---|
| public List Implements java. Doc from java. Returns the attributes of this structure.
| |
| bcToInstruction | back to summary |
|---|---|
| private Instruction bcToInstruction(int bc, int pos) | |
| compareCodeBytes | back to summary |
|---|---|
| public boolean compareCodeBytes(BufWriterImpl buf, int offset, int len) | |
| exceptionHandlers | back to summary |
|---|---|
| public List Implements java. Doc from java. Returns the exception table of the method. The exception table is also
modeled by
| |
| forEach | back to summary |
|---|---|
| public void forEach(Consumer<? super CodeElement> consumer) Implements java. Doc from java. Invokes the provided handler with each member element in this compound element.
| |
| generateCatchTargets | back to summary |
|---|---|
| private void generateCatchTargets(Consumer<? super CodeElement> consumer) | |
| generateDebugElements | back to summary |
|---|---|
| private void generateDebugElements(Consumer<? super CodeElement> consumer) | |
| generateUserAttributes | back to summary |
|---|---|
| private void generateUserAttributes(Consumer<? super CodeElement> consumer) | |
| getLabel | back to summary |
|---|---|
| public Label getLabel(int bci) Implements jdk.
| |
| inflateJumpTargets | back to summary |
|---|---|
| private void inflateJumpTargets() | |
| inflateLabel | back to summary |
|---|---|
| private void inflateLabel(int bci) | |
| inflateLineNumbers | back to summary |
|---|---|
| private void inflateLineNumbers() | |
| inflateMetadata | back to summary |
|---|---|
| private void inflateMetadata() | |
| inflateTypeAnnotations | back to summary |
|---|---|
| private void inflateTypeAnnotations() | |
| iterateExceptionHandlers | back to summary |
|---|---|
| public void iterateExceptionHandlers(CodeImpl. | |
| labelToBci | back to summary |
|---|---|
| public int labelToBci(Label label) Implements jdk. Doc from java. Returns the position of the
| |
| newLabel | back to summary |
|---|---|
| public Label newLabel() Implements jdk.
| |
| parent | back to summary |
|---|---|
| public Optional Implements java. Doc from java. Returns the enclosing method, if known.
| |
| setLabelTarget | back to summary |
|---|---|
| public void setLabelTarget(Label label, int bci) Implements jdk.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides jdk. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| writeTo | back to summary |
|---|---|
| public void writeTo(BufWriterImpl buf) Overrides jdk. Implements jdk.
| |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| accept | back to summary |
|---|---|
| public void accept(int start, int end, int handler, int catchTypeIndex) | |