Annotation Type ParameterName
-
@Documented @Retention(RUNTIME) @Target(PARAMETER) public @interface ParameterName
The Name of the parameter (aimed at constructors). This allows IOC frameworks to inject parameters into the constructor by name without the (Java) name itself becoming part of the API (and allowing in Java 8) things to be compiled -parameters.
-
-
Element Detail
-
name
@Nonnull String name
The name for this parameter.- Returns:
- the name.
-
-