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 element. |
private Instruction | |
public boolean | |
public List | exceptionHandlers()
Implements java. Returns the exception table of the method. |
public void | forEachElement(Consumer<CodeElement>
the handler consumer)Implements java. Invoke the provided handler with each element contained in this compound element |
private void | |
private void | |
public Label | |
private void | |
private void | |
private void | |
private void | |
private void | |
public void | |
public int | labelToBci(Label
a marker for a position within this label)CodeAttribute 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(BufWriter
the writer buf)Overrides jdk. Implements java. Writes the element to the specified writer |
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 element. |
bcToInstruction | back to summary |
---|---|
private Instruction bcToInstruction(int bc, int pos) |
compareCodeBytes | back to summary |
---|---|
public boolean compareCodeBytes(BufWriter 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
|
forEachElement | back to summary |
---|---|
public void forEachElement(Consumer<CodeElement> consumer) Implements java. Doc from java. Invoke the provided handler with each element contained in this compound element
|
generateCatchTargets | back to summary |
---|---|
private void generateCatchTargets(Consumer<CodeElement> consumer) |
generateDebugElements | back to summary |
---|---|
private void generateDebugElements(Consumer<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(BufWriter buf) Overrides jdk. Implements java. Doc from java. Writes the element to the specified writer |
Modifier and Type | Method and Description |
---|---|
public void |
accept | back to summary |
---|---|
public void accept(int start, int end, int handler, int catchTypeIndex) |