Annotation Type Map
-
@Retention(SOURCE) @Target({}) public @interface Map
A refinement mapping of (constructor) parameters for the to-be-generated refinement.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Generic[]
withComplexGenerics
Potential nested type parameters of the replacement (cf.String[]
withGenerics
Potential nested type parameters of the replacement (cf.
-
-
-
Element Detail
-
from
Class<?> from
The type of input parameter that if matched (equality) should be replaced.- Returns:
- the type of input parameter that if matched should be replaced
-
-
-
to
Class<?> to
The replacement type for matched parameters.- Returns:
- the replacement type for matched parameters
-
-
-
withGenerics
String[] withGenerics
Potential nested type parameters of the replacement (cf.to()
) type. If the replacement type has inner type variables usewithComplexGenerics()
.- Returns:
- potential nested type parameters of the replacement type
- Default:
- {}
-
-