| Modifier and Type | Class and Description |
|---|---|
| public class |
| Modifier and Type | Field and Description |
|---|---|
| private final SplitConstantPool | |
| private final ClassFileImpl | |
| private final Utf8Entry | |
| private final List | |
| private AccessFlags | |
| private final Utf8Entry | |
| private final MethodModel | |
| private int[] |
| Access | Constructor and Description |
|---|---|
| public | BufferedMethodBuilder(SplitConstantPool constantPool, ClassFileImpl context, Utf8Entry nameInfo, Utf8Entry typeInfo, int flags, MethodModel original)
|
| Modifier and Type | Method and Description |
|---|---|
| public BufferedCodeBuilder | |
| private AccessFlags | |
| public ConstantPoolBuilder | constantPool()
Implements java. Returns the constant pool builder associated with this builder. |
| public int | |
| public Utf8Entry | |
| public Utf8Entry | |
| public MethodTypeDesc | |
| public int | |
| public BufferedMethodBuilder | |
| public MethodModel | |
| public MethodBuilder | transformCode(CodeModel code, CodeTransform transform)
Implements java. Build the method body for this method by transforming the body of another method. |
| public MethodBuilder | with(MethodElement element)
Implements java. Integrates the member element into the structure being built. |
| public MethodBuilder | withCode(Consumer<? super CodeBuilder> handler)
Implements java. Build the method body for this method. |
| constantPool | back to summary |
|---|---|
| private final SplitConstantPool constantPool | |
| context | back to summary |
|---|---|
| private final ClassFileImpl context | |
| desc | back to summary |
|---|---|
| private final Utf8Entry desc | |
| elements | back to summary |
|---|---|
| private final List<MethodElement> elements | |
| flags | back to summary |
|---|---|
| private AccessFlags flags | |
| name | back to summary |
|---|---|
| private final Utf8Entry name | |
| original | back to summary |
|---|---|
| private final MethodModel original | |
| parameterSlots | back to summary |
|---|---|
| private int[] parameterSlots | |
| BufferedMethodBuilder | back to summary |
|---|---|
| public BufferedMethodBuilder(SplitConstantPool constantPool, ClassFileImpl context, Utf8Entry nameInfo, Utf8Entry typeInfo, int flags, MethodModel original) | |
| bufferedCodeBuilder | back to summary |
|---|---|
| public BufferedCodeBuilder bufferedCodeBuilder(CodeModel original) Implements jdk.
| |
| checkFlags | back to summary |
|---|---|
| private AccessFlags checkFlags(AccessFlags updated) | |
| constantPool | back to summary |
|---|---|
| public ConstantPoolBuilder constantPool() Implements java. Doc from java. Returns the constant pool builder associated with this builder.
| |
| methodFlags | back to summary |
|---|---|
| public int methodFlags() Implements jdk.
| |
| methodName | back to summary |
|---|---|
| public Utf8Entry methodName() Implements jdk.
| |
| methodType | back to summary |
|---|---|
| public Utf8Entry methodType() Implements jdk.
| |
| methodTypeSymbol | back to summary |
|---|---|
| public MethodTypeDesc methodTypeSymbol() Implements jdk.
| |
| parameterSlot | back to summary |
|---|---|
| public int parameterSlot(int paramNo) Implements jdk.
| |
| run | back to summary |
|---|---|
| public BufferedMethodBuilder run(Consumer<? super MethodBuilder> handler) | |
| toModel | back to summary |
|---|---|
| public MethodModel toModel() | |
| transformCode | back to summary |
|---|---|
| public MethodBuilder transformCode(CodeModel code, CodeTransform transform) Implements java. Doc from java. Build the method body for this method by transforming the body of another method. This method behaves as if: withCode(cob -> cob.transform(code, transform));
| |
| with | back to summary |
|---|---|
| public MethodBuilder with(MethodElement element) Implements java. Doc from java. Integrates the member element into the structure being built.
| |
| withCode | back to summary |
|---|---|
| public MethodBuilder withCode(Consumer<? super CodeBuilder> handler) Implements java. Doc from java. Build the method body for this method.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Optional | code()
Implements java. Returns the body of this method, if there is one. |
| public AccessFlags | |
| 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 |
| Model | back to summary |
|---|---|
| public Model() | |
| 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.
| |
| 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(DirectClassBuilder builder) Overrides jdk.
| |