Fix for issue 342: @Deprecated annotation not propagated to generated getter/setter

This commit is contained in:
Roel Spilker committed 2012-03-19 23:18:37 +01:00
1 parent b4fe2d4e25
commit 8bc82cad05
13 files changed
+150 -17

No files matched your search

@@ -0,0 +1,14 @@
import lombok.Setter;
class SetterDeprecated {
@Deprecated @Setter int annotation;
@Setter int javadoc;
public @java.lang.Deprecated @java.lang.SuppressWarnings("all") void setAnnotation(final int annotation) {
this.annotation = annotation;
}
public @java.lang.Deprecated @java.lang.SuppressWarnings("all") void setJavadoc(final int javadoc) {
this.javadoc = javadoc;
}
SetterDeprecated() {
super();
}
}