mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 12:22:31 +00:00
13 lines
224 B
Java
13 lines
224 B
Java
//version 8:
|
|
import lombok.experimental.WithBy;
|
|
|
|
public class WithByInAnonymousClass {
|
|
Object annonymous = new Object() {
|
|
@WithBy
|
|
class Inner {
|
|
private Inner(String string) { }
|
|
|
|
private String string;
|
|
}
|
|
};
|
|
} |