Interface Import

    • Method Detail

      • getStaticMember

        Optional<String> getStaticMember()
        Returns any static member referenced in this import. For non-static imports, this value will be empty.
        Returns:
        the static member referenced
      • setStaticMember

        Import setStaticMember​(String member)
        Sets the static member referenced by this import. Remember to also set the modifier to static using the static_() method!
        Parameters:
        member - the new static member to reference
        Returns:
        a reference to this model
      • of

        static Import of​(Type type)
        Creates a new instance implementing this interface by using the default implementation.
        Parameters:
        type - the type
        Returns:
        the new instance
      • 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