Interface FieldDefinitionParser

All Known Implementing Classes:
AnnotationDefinitionParser, CompositeFieldDefinitionParser, IdAnnotationDefinitionParser, NamedDefinitionParser
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 FieldDefinitionParser
Parser for creating IdDefinition from fields.
  • Method Summary

    Modifier and Type
    Method
    Description
    parse(List<Class<?>> lookupClassList, Field field)
    Parses a field to create its ID definition.
  • Method Details

    • parse

      IdDefinition parse(List<Class<?>> lookupClassList, Field field)
      Parses a field to create its ID definition.
      Parameters:
      lookupClassList - list of classes in the hierarchy
      field - the field to parse
      Returns:
      the ID definition or null