@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"}).| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String[] |
value
Contains the name of the accessor methods associated
with each constructor parameter.
|
public abstract java.lang.String[] value