mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 16:21:25 +00:00
60f575496b
Generated qualified names (e.g. Outer.Inner) now stop at anonymous classes instead of adding an empty part. All handlers that add static fields/methods/types now add error messages instead of generating invalid code.
10 lines
191 B
Java
10 lines
191 B
Java
import lombok.Getter;
|
|
|
|
public class GetterLazyInAnonymousClass {
|
|
Object annonymous = new Object() {
|
|
class Inner {
|
|
@Getter(lazy = true)
|
|
private final String string = "test";
|
|
}
|
|
};
|
|
} |