Annotation Type Unmapped


public @interface Unmapped
The Unmapped option is used for indicating whether the code generation should skip methods that are using unmapped types. The main variations are:
  • @Unmapped - skip methods that use unmapped types, unless the unmapped types are primitives
  • @Unmapped(includingPrimitives=true) - skip methods that use unmapped types, including those that use unmapped primitives
  • @Unmapped(includingArrays=true) - skip methods that use unmapped types, including those that use arrays
  • @Unmapped(includingPrimitives=true, includingArrays=true) - skip methods that use unmapped types, including primitives and arrays
  • @Unmapped(false) - do not skip any methods, regardless of whether they use unmapped types
While, technically, it is possible to specify @Unmapped(value=false, includingPrimitives=true) this combination does not make sense and is treated identical to @Unmapped(false).
Author:
Mirko Raner
  • Optional Element Summary

    Optional Elements 
    Modifier and Type Optional Element Description
    boolean includingArrays
    Indicates whether to also skip methods that use array types.
    boolean includingPrimitives
    Indicates whether to also skip methods that use unmapped primitives.
    boolean value
    Indicates whether to skip methods using unmapped types.
  • Element Details

    • value

      boolean value
      Indicates whether to skip methods using unmapped types.
      Returns:
      true if methods using unmapped types should be skipped, false otherwise
      Default:
      true
    • includingPrimitives

      boolean includingPrimitives
      Indicates whether to also skip methods that use unmapped primitives. Notably, enabling this option will also skip methods that have a void return type (unless void is mapped to some other type).
      Returns:
      true if methods using unmapped primitives should be skipped, false otherwise
      Default:
      false
    • includingArrays

      boolean includingArrays
      Indicates whether to also skip methods that use array types. Notably, enabling this option will also skip methods that have a void return type (unless void is mapped to some other type).
      Returns:
      true if methods using unmapped primitives should be skipped, false otherwise
      Default:
      false