Interface Constructor

    • Method Detail

      • of

        static Constructor of()
        Creates a new instance implementing this interface by using the default implementation.
        Returns:
        the new instance
      • newPublic

        static Constructor newPublic()
        Creates a new instance implementing this interface by using the default implementation and setting the Modifier.PUBLIC-modifier.
        Returns:
        the new instance
        Since:
        2.5
      • newPrivate

        static Constructor newPrivate()
        Creates a new instance implementing this interface by using the default implementation and setting the Modifier.PRIVATE-modifier.
        Returns:
        the new instance
        Since:
        2.5
      • newProtected

        static Constructor newProtected()
        Creates a new instance implementing this interface by using the default implementation and setting the Modifier.PROTECTED-modifier.
        Returns:
        the new instance
        Since:
        2.5
      • 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