Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @attribute
- private String var = "";
- /*
- * @param s @NotNull
- */
- public void setString(String s){
- ...
- }
- package sample;
- import com.javadude.annotation.Bean;
- import com.javadude.annotation.Property;
- import com.javadude.annotation.PropertyKind;
- @Bean(properties={
- @Property(name="name"),
- @Property(name="phone", bound=true),
- @Property(name="friend", type=Person.class, kind=PropertyKind.LIST)
- })
- public class Person extends PersonGen {}
Add Comment
Please, Sign In to add comment