java.lang.Object
io.helidon.codegen.classmodel.Field

public final class Field extends Object
Field model representation.
  • Method Details

    • builder

      public static Field.Builder builder()
      Create new Field.Builder instance.
      Returns:
      new builder instance
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isFinal

      public boolean isFinal()
      Is this field final.
      Returns:
      whether this is a final field
    • isStatic

      public boolean isStatic()
      Is this field static.
      Returns:
      whether this is a static field
    • isVolatile

      public boolean isVolatile()
      Is this field volatile.
      Returns:
      whether this is a volatile field
    • annotations

      public List<Annotation> annotations()
      List of annotations on this component.
      Returns:
      annotations
    • name

      public String name()
      Name of this component.
      Returns:
      component name
    • accessModifier

      public AccessModifier accessModifier()
      Access modifier of this component.
      Returns:
      access modifier
    • description

      public List<String> description()
      Description (javadoc) of this component.
      Returns:
      description lines
    • typeName

      public TypeName typeName()
      Type name of this component.
      Returns:
      type name