Interface FieldModifier<T extends FieldModifier<T>>

  • Type Parameters:
    T - the extending type
    All Superinterfaces:
    HasModifiers<T>
    All Known Subinterfaces:
    Field

    public interface FieldModifier<T extends FieldModifier<T>>
    Composed trait of all the modifiers that can be added to a Field.
    Since:
    2.0
    Author:
    Emil Forslund
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default T final_()
      Adds the final keyword to this model.
      default T notFinal()
      Removes the final keyword from this model.
      default T notPrivate()
      Removes the private keyword from this model.
      default T notProtected()
      Removes the protected keyword from this model.
      default T notPublic()
      Removes the public keyword from this model.
      default T notStatic()
      Removes the static keyword from this model.
      default T notSynchronized()
      Removes the synchronized keyword from this model.
      default T notTransient()
      Removes the volatile keyword from this model.
      default T notVolatile()
      Removes the volatile keyword from this model.
      default T private_()
      Adds the private keyword to this model.
      default T protected_()
      Adds the protected keyword to this model.
      default T public_()
      Adds the public keyword to this model.
      default T static_()
      Adds the static keyword to this model.
      default T synchronized_()
      Adds the synchronized keyword to this model.
      default T transient_()
      Adds the transient keyword to this model.
      default T volatile_()
      Adds the volatile keyword to this model.
    • Method Detail

      • public_

        default T public_()
        Adds the public keyword to this model.
        Returns:
        a reference to this model
      • notPublic

        default T notPublic()
        Removes the public keyword from this model.
        Returns:
        a reference to this model
      • protected_

        default T protected_()
        Adds the protected keyword to this model.
        Returns:
        a reference to this model
      • notProtected

        default T notProtected()
        Removes the protected keyword from this model.
        Returns:
        a reference to this model
      • private_

        default T private_()
        Adds the private keyword to this model.
        Returns:
        a reference to this model
      • notPrivate

        default T notPrivate()
        Removes the private keyword from this model.
        Returns:
        a reference to this model
      • static_

        default T static_()
        Adds the static keyword to this model.
        Returns:
        a reference to this model
      • notStatic

        default T notStatic()
        Removes the static keyword from this model.
        Returns:
        a reference to this model
      • final_

        default T final_()
        Adds the final keyword to this model.
        Returns:
        a reference to this model
      • notFinal

        default T notFinal()
        Removes the final keyword from this model.
        Returns:
        a reference to this model
      • synchronized_

        default T synchronized_()
        Adds the synchronized keyword to this model.
        Returns:
        a reference to this model
      • notSynchronized

        default T notSynchronized()
        Removes the synchronized keyword from this model.
        Returns:
        a reference to this model
      • transient_

        default T transient_()
        Adds the transient keyword to this model.
        Returns:
        a reference to this model
      • notTransient

        default T notTransient()
        Removes the volatile keyword from this model.
        Returns:
        a reference to this model
      • volatile_

        default T volatile_()
        Adds the volatile keyword to this model.
        Returns:
        a reference to this model
      • notVolatile

        default T notVolatile()
        Removes the volatile keyword from this model.
        Returns:
        a reference to this model