| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private final int | |
| private final int | |
| private int[] | |
| private final ClassReader | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public List | attributes()
Implements java. Returns the attributes of this structure. |
| public Optional | code()
Implements java. Returns the body of this method, if there is one. |
| public AccessFlags | |
| public void | forEach(Consumer<? super MethodElement> consumer)
Implements java. Invokes the provided handler with each member element in this compound element. |
| public int | |
| public Utf8Entry | methodName()
Implements java. Returns the name of this method. |
| public Utf8Entry | methodType()
Implements java. Returns the method descriptor string of this method. |
| public MethodTypeDesc | methodTypeSymbol()
Overrides default java. Implements jdk. Returns the method type, as a symbolic descriptor. |
| public int | |
| public Optional | parent()
Implements java. Returns the class model this method is a member of, if known. |
| public String | |
| public void | |
| public void |
| attributes | back to summary |
|---|---|
| private List<Attribute<?>> attributes | |
| attributesPos | back to summary |
|---|---|
| private final int attributesPos | |
| endPos | back to summary |
|---|---|
| private final int endPos | |
| parameterSlots | back to summary |
|---|---|
| private int[] parameterSlots | |
| reader | back to summary |
|---|---|
| private final ClassReader reader | |
| startPos | back to summary |
|---|---|
| private final int startPos | |
| MethodImpl | back to summary |
|---|---|
| public MethodImpl(ClassReader reader, int startPos, int endPos, int attrStart) | |
| attributes | back to summary |
|---|---|
| public List Implements java. Doc from java. Returns the attributes of this structure.
| |
| code | back to summary |
|---|---|
| public Optional Implements java. Doc from java. Returns the body of this method, if there is one.
| |
| flags | back to summary |
|---|---|
| public AccessFlags flags() Implements java. Doc from java. Returns the access flags.
| |
| forEach | back to summary |
|---|---|
| public void forEach(Consumer<? super MethodElement> consumer) Implements java. Doc from java. Invokes the provided handler with each member element in this compound element.
| |
| methodFlags | back to summary |
|---|---|
| public int methodFlags() Implements jdk.
| |
| methodName | back to summary |
|---|---|
| public Utf8Entry methodName() Implements java. Doc from java. Returns the name of this method.
| |
| methodType | back to summary |
|---|---|
| public Utf8Entry methodType() Implements java. Doc from java. Returns the method descriptor string of this method.
| |
| methodTypeSymbol | back to summary |
|---|---|
| public MethodTypeDesc methodTypeSymbol() Overrides default java. Implements jdk. Doc from java. Returns the method type, as a symbolic descriptor.
| |
| parameterSlot | back to summary |
|---|---|
| public int parameterSlot(int paramNo) Implements jdk.
| |
| parent | back to summary |
|---|---|
| public Optional Implements java. Doc from java. Returns the class model this method is a member of, if known.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. 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) Implements jdk.
| |
| writeTo | back to summary |
|---|---|
| public void writeTo(DirectClassBuilder builder) Overrides jdk.
| |