mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-11 03:13:38 +00:00
30 lines
624 B
Java
30 lines
624 B
Java
class DelegateWithDeprecated {
|
|
private Bar bar;
|
|
private interface Bar {
|
|
@Deprecated
|
|
void deprecatedAnnotation();
|
|
/**
|
|
* @deprecated
|
|
*/
|
|
void deprecatedComment();
|
|
void notDeprecated();
|
|
}
|
|
@java.lang.Deprecated
|
|
@java.lang.SuppressWarnings("all")
|
|
@lombok.Generated
|
|
public void deprecatedAnnotation() {
|
|
this.bar.deprecatedAnnotation();
|
|
}
|
|
@java.lang.Deprecated
|
|
@java.lang.SuppressWarnings("all")
|
|
@lombok.Generated
|
|
public void deprecatedComment() {
|
|
this.bar.deprecatedComment();
|
|
}
|
|
@java.lang.SuppressWarnings("all")
|
|
@lombok.Generated
|
|
public void notDeprecated() {
|
|
this.bar.notDeprecated();
|
|
}
|
|
}
|