mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 14:17:48 +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.Getter;
|
||||
class GetterDeprecated {
|
||||
@Deprecated @Getter int annotation;
|
||||
@Getter int javadoc;
|
||||
public @java.lang.Deprecated @java.lang.SuppressWarnings("all") int getAnnotation() {
|
||||
return this.annotation;
|
||||
}
|
||||
public @java.lang.Deprecated @java.lang.SuppressWarnings("all") int getJavadoc() {
|
||||
return this.javadoc;
|
||||
}
|
||||
GetterDeprecated() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user