java.lang.Object
io.micronaut.data.processor.visitors.Utils

@Internal public final class Utils extends Object
The mapping util class.
  • Constructor Details

    • Utils

      public Utils()
  • Method Details

    • resolvePersistentEntity

      public static SourcePersistentEntity resolvePersistentEntity(io.micronaut.inject.ast.ClassElement returnType, Function<io.micronaut.inject.ast.ClassElement,SourcePersistentEntity> entityResolver)
    • getConfiguredDataTypes

      public static Map<String,DataType> getConfiguredDataTypes(io.micronaut.inject.ast.ClassElement element)
      Resolves the configured data types.
      Parameters:
      element - The element
      Returns:
      The data types
    • getConfiguredDataConverters

      public static Map<String,String> getConfiguredDataConverters(io.micronaut.inject.ast.ClassElement element)
      Resolves the configured data converters.
      Parameters:
      element - The element
      Returns:
      The data converters