Annotation Type Nested


  • @Retention(RUNTIME)
    @Target({METHOD,FIELD})
    public @interface Nested

    Marks a property as specifying a nested bean, whose properties should be checked for annotations.

    This annotation should be attached to the getter method in Java or the property in Groovy. Annotations on setters or just the field in Java are ignored.