mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-17 18:14:25 +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,18 @@
|
||||
class SetterDeprecated {
|
||||
@Deprecated
|
||||
int annotation;
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
int javadoc;
|
||||
@java.lang.Deprecated
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public void setAnnotation(final int annotation) {
|
||||
this.annotation = annotation;
|
||||
}
|
||||
@java.lang.Deprecated
|
||||
@java.lang.SuppressWarnings("all")
|
||||
public void setJavadoc(final int javadoc) {
|
||||
this.javadoc = javadoc;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user