All Superinterfaces:
Identifiable, Link, Stringifiable
All Known Subinterfaces:
EnumConstantLink, FieldLink, MethodLink, PackageLink, TypeLink
All Known Implementing Classes:
BasicEnumConstantLink, BasicFieldLink, BasicMethodLink, BasicPackageLink, BasicTypeLink

public interface WithName extends Identifiable, Link

An interface for links to types with a name.

  • Nested Class Summary

    Link.Kind
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Returns the identifier of this identifiable object.
    Returns the name of this link.

    Methods inherited from interface org.tudalgo.algoutils.tutor.general.match.Identifiable

    string
    kind, reflection
  • Method Details

    • name

      String name()

      Returns the name of this link.

      Returns:
      the name
    • identifier

      default String identifier()
      Description copied from interface: Identifiable

      Returns the identifier of this identifiable object.

      Specified by:
      identifier in interface Identifiable
      Returns:
      the identifier