mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 06:21:43 +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.
15 lines
263 B
Java
15 lines
263 B
Java
import lombok.experimental.SuperBuilder;
|
|
|
|
public class SuperBuilderInAnonymousClass {
|
|
Object annonymous = new Object() {
|
|
@SuperBuilder
|
|
class InnerParent {
|
|
private String string;
|
|
}
|
|
|
|
@SuperBuilder
|
|
class InnerChild {
|
|
private String string;
|
|
}
|
|
};
|
|
} |