java.lang.Object
org.glavo.classfile.impl.ChainedFieldBuilder
- All Implemented Interfaces:
Consumer<FieldElement>,ClassfileBuilder<FieldElement,,FieldBuilder> FieldBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionChainedFieldBuilder(FieldBuilder downstream, Consumer<FieldElement> consumer) -
Method Summary
Modifier and TypeMethodDescriptionReturns the constant pool builder associated with this builder.original()Returns theFieldModelrepresenting the field being transformed, if this field builder represents the transformation of someFieldModel.with(FieldElement element) Integrate theClassfileElementinto the entity being built.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.glavo.classfile.ClassfileBuilder
accept, canWriteDirect, transformMethods inherited from interface org.glavo.classfile.FieldBuilder
withFlags, withFlags
-
Constructor Details
-
ChainedFieldBuilder
-
-
Method Details
-
constantPool
Description copied from interface:ClassfileBuilderReturns the constant pool builder associated with this builder.- Specified by:
constantPoolin interfaceClassfileBuilder<FieldElement,FieldBuilder> - Returns:
- the constant pool builder associated with this builder
-
original
Description copied from interface:FieldBuilderReturns theFieldModelrepresenting the field being transformed, if this field builder represents the transformation of someFieldModel.- Specified by:
originalin interfaceFieldBuilder- Returns:
- the
FieldModelrepresenting the field being transformed, if this field builder represents the transformation of someFieldModel
-
with
Description copied from interface:ClassfileBuilderIntegrate theClassfileElementinto the entity being built.- Specified by:
within interfaceClassfileBuilder<FieldElement,FieldBuilder> - Parameters:
element- the element- Returns:
- this builder
-