mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 20:17:25 +00:00
22 lines
440 B
Java
22 lines
440 B
Java
public class AccessorsInAnonymousClass {
|
|
Object annonymous = new Object() {
|
|
class Inner {
|
|
private String string;
|
|
@java.lang.SuppressWarnings("all")
|
|
@lombok.Generated
|
|
public String string() {
|
|
return this.string;
|
|
}
|
|
/**
|
|
* @return {@code this}.
|
|
*/
|
|
@java.lang.SuppressWarnings("all")
|
|
@lombok.Generated
|
|
public Inner string(final String string) {
|
|
this.string = string;
|
|
return this;
|
|
}
|
|
}
|
|
};
|
|
}
|