Package pro.projo.interfaces.annotation
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
@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 booleanincludingArraysIndicates whether to also skip methods that use array types.booleanincludingPrimitivesIndicates whether to also skip methods that use unmapped primitives.booleanvalueIndicates whether to skip methods using unmapped types.
-
Element Details
-
value
boolean valueIndicates whether to skip methods using unmapped types.- Returns:
trueif methods using unmapped types should be skipped,falseotherwise
- Default:
- true
-
includingPrimitives
boolean includingPrimitivesIndicates whether to also skip methods that use unmapped primitives. Notably, enabling this option will also skip methods that have avoidreturn type (unlessvoidis mapped to some other type).- Returns:
trueif methods using unmapped primitives should be skipped,falseotherwise
- Default:
- false
-
includingArrays
boolean includingArraysIndicates whether to also skip methods that use array types. Notably, enabling this option will also skip methods that have avoidreturn type (unlessvoidis mapped to some other type).- Returns:
trueif methods using unmapped primitives should be skipped,falseotherwise
- Default:
- false
-