Annotation Type MappedParam.Import

Enclosing class:
MappedParam

@Repeatable(Imports.class) @Retention(SOURCE) @Target({TYPE,PACKAGE,MODULE}) public static @interface MappedParam.Import
Import a type to be mapped.

The type needs to have a single constructor argument that is a String type, or have a factory method that has a single argument that is a String type.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
     
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Factory method name used to construct the type.
  • Element Details

    • value

      Class<?> value
    • factoryMethod

      String factoryMethod
      Factory method name used to construct the type. Empty means use a constructor
      Default:
      ""