Interface Named

    • Method Detail

      • getSymbolicName

        @NotNull
        @Contract(pure=true)
        @NotNull java.util.Optional<SymbolicName> getSymbolicName()
        Returns:
        An optional symbolic name.
      • getRequiredSymbolicName

        @NotNull
        @Contract(pure=true)
        default @NotNull SymbolicName getRequiredSymbolicName()
        Returns:
        A symbolic name
        Throws:
        java.lang.IllegalStateException - If this has not been named yet.
      • asExpression

        @NotNull
        default @NotNull Expression asExpression()
        Description copied from interface: IdentifiableElement
        Transform this element into an expression
        Specified by:
        asExpression in interface IdentifiableElement
        Returns:
        this element as an expression. Will return the same instance if it is already an expression.