@Target(value=PARAMETER) @Retention(value=RUNTIME) public @interface WithType
Parameters with types that can’t be resolved at compile time may be annotated @WithType.
String
value
public abstract String value
The class name intended for this parameter.
Use the value as returned from Class.getName(), not Class.getCanonicalName(); e.g. Foo$Bar instead of Foo.Bar.
Class.getName()
Class.getCanonicalName()
Foo$Bar
Foo.Bar