Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.4.15, 2.5.4
-
None
-
None
Description
Consider the following:
class C { @Deprecated boolean condition }
Methods isCondition, getCondition, setCondition that are added by Verifier.visitProperty do not have the java.lang.Deprecated annotation. The PropertyNode has a link to the FieldNode so deprecated can be checked for there. But the generated methods do not have this link.
Attachments
Issue Links
- relates to
-
GROOVY-10810 Spring Validator error when validating trait-added property
- Open
-
GROOVY-11231 TupleConstructor could copy annotations to constructor
- Open