@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface BindProperties
Example
@BindProperties("y")
public class X {
public Y getY() { ... }
public void setY(Y y) { ... }
}
public class Y {
...
}
X x = ...
resources.bind(x) will also bind Y. However, if Y is also annotated with BindProperties, it will not attempt to
bind Y's properties.
| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String[] |
value |