mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 22:17:41 +00:00
Fix for issue 342: @Deprecated annotation not propagated to generated getter/setter
This commit is contained in:
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();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user