Interface Labelable

All Known Subinterfaces:
Repository

public interface Labelable
Since:
5.12
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    Accepts the provided visitor and invokes the appropriate visit overload for this labelable type, returning its result.
  • Method Details

    • accept

      <T> T accept(@Nonnull LabelableVisitor<T> visitor)
      Accepts the provided visitor and invokes the appropriate visit overload for this labelable type, returning its result.

      Note: Nullability for the return value is intentionally not documented one way or another. It is expected that the caller will know the nullability of the visitor implementation they are passing and code accordingly.

      Type Parameters:
      T - type of visitor
      Parameters:
      visitor - the visitor to invoke
      Returns:
      the result of the invoked visit method