mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-27 22:26:17 +00:00
de816ebbcd
also updates the changelog more generally, it was lacking some recent work.
38 lines
610 B
Java
38 lines
610 B
Java
@lombok.experimental.UtilityClass
|
|
class UtilityClass {
|
|
private long someField = System.currentTimeMillis();
|
|
|
|
void someMethod() {
|
|
System.out.println();
|
|
}
|
|
|
|
protected class InnerClass {
|
|
private String innerInnerMember;
|
|
}
|
|
}
|
|
|
|
class UtilityInner {
|
|
static class InnerInner {
|
|
@lombok.experimental.UtilityClass
|
|
class InnerInnerInner {
|
|
int member;
|
|
}
|
|
}
|
|
|
|
enum UtilityInsideEnum {
|
|
FOO, BAR;
|
|
|
|
@lombok.experimental.UtilityClass
|
|
class InsideEnum {
|
|
int member;
|
|
}
|
|
}
|
|
|
|
interface UtilityInsideInterface {
|
|
@lombok.experimental.UtilityClass
|
|
class InsideInterface {
|
|
int member;
|
|
}
|
|
}
|
|
}
|