mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-27 20:25:27 +00:00
15 lines
253 B
Java
15 lines
253 B
Java
import lombok.experimental.Delegate;
|
|
|
|
class DelegateWithDeprecated {
|
|
@Delegate private Bar bar;
|
|
|
|
private interface Bar {
|
|
@Deprecated
|
|
void deprecatedAnnotation();
|
|
/**
|
|
* @deprecated
|
|
*/
|
|
void deprecatedComment();
|
|
void notDeprecated();
|
|
}
|
|
} |