All Known Implementing Classes:
FieldSpecImpl

@ClassVersion(sourceVersion="$Id: FieldSpec.java 1085 2024-01-05 16:23:28Z tquadrat $") @API(status=STABLE, since="0.0.5") public sealed interface FieldSpec permits FieldSpecImpl
The specification for a generated field declaration.
Author:
Square,Inc.
Modified by:
Thomas Thrien (thomas.thrien@tquadrat.org)
Version:
$Id: FieldSpec.java 1085 2024-01-05 16:23:28Z tquadrat $
Since:
0.0.5
UML Diagram
UML Diagram for "org.tquadrat.foundation.javacomposer.FieldSpec"

UML Diagram for "org.tquadrat.foundation.javacomposer.FieldSpec"

UML Diagram for "org.tquadrat.foundation.javacomposer.FieldSpec"
  • Method Details

    • equals

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

      int hashCode()
      Overrides:
      hashCode in class Object
    • hasModifier

      boolean hasModifier(Modifier modifier)
      Checks whether the given modifier was applied to this field.
      Parameters:
      modifier - The modifier.
      Returns:
      true if the given modifier has been applied to this field.
    • modifiers

      Returns the modifiers for this field.
      Returns:
      The modifiers.
    • name

      Returns the name for this field.
      Returns:
      The name.
    • toBuilder

      Returns a builder that is already initialised with the components that built this field.
      Returns:
      The builder.
    • toString

      Overrides:
      toString in class Object
    • type

      Returns the type of the field.
      Returns:
      The type.