Interface Identifier<T>

All Known Implementing Classes:
TypeDefIdentifier

public interface Identifier<T>
The part of the CodeGenerator that maps an object to a String id.
  • Method Details

    • getType

      Class<T> getType()
    • getFunction

      Function<T,String> getFunction()
    • id

      default String id(T item)
      Converst the specified item to an id.
      Parameters:
      item - The specified item
      Returns:
      the id