Class JavaFieldBuilder<FieldType extends JavaField>

java.lang.Object
com.github.tadukoo.java.field.JavaFieldBuilder<FieldType>
Direct Known Subclasses:
EditableJavaField.EditableJavaFieldBuilder, UneditableJavaField.UneditableJavaFieldBuilder

public abstract class JavaFieldBuilder<FieldType extends JavaField> extends Object
Java Field Builder is a builder to create a JavaField. It has the following parameters:
Java Field Parameters
Parameter Description Default or Required
javadoc The Javadoc on the field null
annotations The annotations on the field An empty list
visibility The Visibility of the field Visibility.NONE
isStatic If the field is static or not false
isFinal If the field is final or not false
type The type of the field Required
name The name of the field Required
value The value assigned to the field null
Since:
Alpha v.0.2 (within JavaField), Alpha v.0.4 (as separate)
Version:
Beta v.0.5
Author:
Logan Ferree (Tadukoo)
  • Field Details

    • javadoc

      protected Javadoc javadoc
      The Javadoc on the field
    • annotations

      protected List<JavaAnnotation> annotations
      The annotations on the field
    • visibility

      protected Visibility visibility
      The Visibility of the field
    • isStatic

      protected boolean isStatic
      Whether the field is static or not
    • isFinal

      protected boolean isFinal
      Whether the field is final or not
    • type

      protected String type
      The type of the field
    • name

      protected String name
      The name of the field
    • value

      protected String value
      The value assigned to the field
  • Constructor Details

    • JavaFieldBuilder

      protected JavaFieldBuilder()
      Constructs a new JavaFieldBuilder
  • Method Details