Uses of Interface
org.tquadrat.foundation.javacomposer.FieldSpec
Packages that use FieldSpec
Package
Description
JavaComposer is a Java toolkit for the generation of Java source
code.
The implementations for the interfaces from the package
org.tquadrat.foundation.javacomposer.-
Uses of FieldSpec in org.tquadrat.foundation.javacomposer
Methods in org.tquadrat.foundation.javacomposer that return FieldSpecModifier and TypeMethodDescriptionFieldSpec.Builder.build()Builds a newFieldSpecinstance from the added components.final FieldSpecJavaComposer.createConstant(CharSequence name, int value, CodeBlock comment) Creates an integer constant.final FieldSpecJavaComposer.createConstant(CharSequence name, Type type, CodeBlock value, CodeBlock comment) Creates a constant.final FieldSpecJavaComposer.createConstant(CharSequence name, String value, CodeBlock comment) Creates a String constant.private final FieldSpecJavaComposer.createConstant(CharSequence name, TypeName type, Number value, CodeBlock comment) Creates a numerical constant.final FieldSpecJavaComposer.createConstant(CharSequence name, TypeName type, CodeBlock value, CodeBlock comment) Creates a constant.
A constant is an initialisedpublic final staticfield.Methods in org.tquadrat.foundation.javacomposer with parameters of type FieldSpecModifier and TypeMethodDescriptionTypeSpec.Builder.addAttribute(FieldSpec fieldSpec, boolean readOnly) Adds an attribute to this type.Adds a field to this type.TypeSpec.Builder.addProperty(FieldSpec fieldSpec, boolean readOnly) Adds a JavaBean property to this type.final MethodSpecJavaComposer.createHashCodeMethod(FieldSpec... fields) Returns aMethodSpecinstance for an implementation of the methodObject.hashCode().Method parameters in org.tquadrat.foundation.javacomposer with type arguments of type FieldSpecModifier and TypeMethodDescriptionAdds fields to this type.final MethodSpecJavaComposer.createHashCodeMethod(Collection<? extends FieldSpec> fields) Returns aMethodSpecinstance for an implementation of the methodObject.hashCode(). -
Uses of FieldSpec in org.tquadrat.foundation.javacomposer.internal
Classes in org.tquadrat.foundation.javacomposer.internal that implement FieldSpecMethods in org.tquadrat.foundation.javacomposer.internal with parameters of type FieldSpecModifier and TypeMethodDescriptionAnnotationTypeSpecImpl.BuilderImpl.addAttribute(FieldSpec fieldSpec, boolean readOnly) Adds an attribute to this type.ClassSpecImpl.BuilderImpl.addAttribute(FieldSpec fieldSpec, boolean readOnly) Adds an attribute to this type.final EnumSpecImpl.BuilderImplEnumSpecImpl.BuilderImpl.addAttribute(FieldSpec fieldSpec, boolean readOnly) Adds an attribute to this type.InterfaceSpecImpl.BuilderImpl.addAttribute(FieldSpec fieldSpec, boolean readOnly) Adds an attribute to this type.RecordSpecImpl.BuilderImpl.addAttribute(FieldSpec fieldSpec, boolean readOnly) Adds an attribute to this type.abstract TypeSpecImpl.BuilderImplTypeSpecImpl.BuilderImpl.addAttribute(FieldSpec fieldSpec, boolean readOnly) Adds an attribute to this type.Adds a field to this type.final EnumSpecImpl.BuilderImplAdds a field to this type.Adds a field to this type.Adds a field to this type.Adds a field to this type.final TypeSpec.BuilderAnnotationTypeSpecImpl.BuilderImpl.addProperty(FieldSpec fieldSpec, boolean readOnly) Adds a JavaBean property to this type.final TypeSpec.BuilderClassSpecImpl.BuilderImpl.addProperty(FieldSpec fieldSpec, boolean readOnly) Adds a JavaBean property to this type.final TypeSpec.BuilderEnumSpecImpl.BuilderImpl.addProperty(FieldSpec fieldSpec, boolean readOnly) Adds a JavaBean property to this type.final TypeSpec.BuilderInterfaceSpecImpl.BuilderImpl.addProperty(FieldSpec fieldSpec, boolean readOnly) Adds a JavaBean property to this type.final TypeSpec.BuilderRecordSpecImpl.BuilderImpl.addProperty(FieldSpec fieldSpec, boolean readOnly) Adds a JavaBean property to this type.abstract TypeSpec.BuilderTypeSpecImpl.BuilderImpl.addProperty(FieldSpec fieldSpec, boolean readOnly) Adds a JavaBean property to this type.Method parameters in org.tquadrat.foundation.javacomposer.internal with type arguments of type FieldSpec
