mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-31 18:19:55 +00:00
850c3eaf07
And as expected the tests shows that @Synchronized and @SneakyThrows are currently broken for eclipse but not for ecj.
40 lines
1.0 KiB
Java
40 lines
1.0 KiB
Java
class GetterLazyInvalidNotFinal {
|
|
private @lombok.Getter(lazy = true) String fieldName = "";
|
|
GetterLazyInvalidNotFinal() {
|
|
super();
|
|
}
|
|
}
|
|
class GetterLazyInvalidNotPrivate {
|
|
final @lombok.Getter(lazy = true) String fieldName = "";
|
|
GetterLazyInvalidNotPrivate() {
|
|
super();
|
|
}
|
|
}
|
|
class GetterLazyInvalidNotPrivateFinal {
|
|
@lombok.Getter(lazy = true) String fieldName = "";
|
|
GetterLazyInvalidNotPrivateFinal() {
|
|
super();
|
|
}
|
|
}
|
|
class GetterLazyInvalidNone {
|
|
private final @lombok.Getter(lazy = true,value = lombok.AccessLevel.NONE) String fieldName = "";
|
|
GetterLazyInvalidNone() {
|
|
super();
|
|
}
|
|
}
|
|
@lombok.Getter(lazy = true) class GetterLazyInvalidClass {
|
|
private final String fieldName = "";
|
|
public @java.lang.SuppressWarnings("all") String getFieldName() {
|
|
return this.fieldName;
|
|
}
|
|
GetterLazyInvalidClass() {
|
|
super();
|
|
}
|
|
}
|
|
class GetterLazyInvalidNoInit {
|
|
private final @lombok.Getter(lazy = true) String fieldName;
|
|
GetterLazyInvalidNoInit() {
|
|
super();
|
|
this.fieldName = "foo";
|
|
}
|
|
} |