mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 04:15:06 +00:00
30 lines
722 B
Java
30 lines
722 B
Java
import lombok.Getter;
|
|
import lombok.Setter;
|
|
import lombok.experimental.Accessors;
|
|
public class AccessorsInAnonymousClass {
|
|
Object annonymous = new Object() {
|
|
@Getter @Setter @Accessors(fluent = true) class Inner {
|
|
private String string;
|
|
Inner() {
|
|
super();
|
|
}
|
|
public @java.lang.SuppressWarnings("all") @lombok.Generated String string() {
|
|
return this.string;
|
|
}
|
|
/**
|
|
* @return {@code this}.
|
|
*/
|
|
public @java.lang.SuppressWarnings("all") @lombok.Generated Inner string(final String string) {
|
|
this.string = string;
|
|
return this;
|
|
}
|
|
}
|
|
x() {
|
|
super();
|
|
}
|
|
};
|
|
public AccessorsInAnonymousClass() {
|
|
super();
|
|
}
|
|
}
|