Interface RecordRemixer<R extends Record>

All Known Implementing Classes:
Remix.None
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public interface RecordRemixer<R extends Record>
A RecordRemixer is a factory for a RecordRemix that can be linked to a record class using either the Remix annotation or Records.remix(Class, RecordRemixer).

Any subclass must have a default constructor to instantiate it via reflection.

  • Method Summary

    Modifier and Type Method Description
    void create​(RecordRemix<R> r)
    Creates the RecordRemix that specifies the record behaviour.
  • Method Details

    • create

      void create​(RecordRemix<R> r)
      Creates the RecordRemix that specifies the record behaviour.

      This method is only called once.