@Documented @Retention(value=RUNTIME) @Target(value=CONSTRUCTOR) public @interface ConstructorProperties
Person(String name, int age)
may be linked to the bean's two accessors, getName()
and getAge()
using
@ConstructorProperties({"name","age"})
.