mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-31 22:17:45 +00:00
Added a test infrastructure that simulates eclipse with diet-parse, type-binding and so forth. Similar to eclipse, the test needs to be executed with lombok as vm-agent. @Delegate runs with this setup, sadly val does not, at least for now.
And as expected the tests shows that @Synchronized and @SneakyThrows are currently broken for eclipse but not for ecj.
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
class GetterAccessLevel {
|
||||
@lombok.Getter(lombok.AccessLevel.NONE) boolean isNone;
|
||||
@lombok.Getter(lombok.AccessLevel.PRIVATE) boolean isPrivate;
|
||||
@lombok.Getter(lombok.AccessLevel.PACKAGE) boolean isPackage;
|
||||
@lombok.Getter(lombok.AccessLevel.PROTECTED) boolean isProtected;
|
||||
@lombok.Getter(lombok.AccessLevel.PUBLIC) boolean isPublic;
|
||||
@lombok.Getter(lombok.AccessLevel.NONE) String noneString;
|
||||
@lombok.Getter(lombok.AccessLevel.PRIVATE) String privateString;
|
||||
@lombok.Getter(lombok.AccessLevel.PACKAGE) String packageString;
|
||||
@lombok.Getter(lombok.AccessLevel.PROTECTED) String protectedString;
|
||||
@lombok.Getter(lombok.AccessLevel.PUBLIC) String publicString;
|
||||
@lombok.Getter(value = lombok.AccessLevel.PUBLIC) String value;
|
||||
private @java.lang.SuppressWarnings("all") boolean isPrivate() {
|
||||
return this.isPrivate;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all") boolean isPackage() {
|
||||
return this.isPackage;
|
||||
}
|
||||
protected @java.lang.SuppressWarnings("all") boolean isProtected() {
|
||||
return this.isProtected;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") boolean isPublic() {
|
||||
return this.isPublic;
|
||||
}
|
||||
private @java.lang.SuppressWarnings("all") String getPrivateString() {
|
||||
return this.privateString;
|
||||
}
|
||||
@java.lang.SuppressWarnings("all") String getPackageString() {
|
||||
return this.packageString;
|
||||
}
|
||||
protected @java.lang.SuppressWarnings("all") String getProtectedString() {
|
||||
return this.protectedString;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") String getPublicString() {
|
||||
return this.publicString;
|
||||
}
|
||||
public @java.lang.SuppressWarnings("all") String getValue() {
|
||||
return this.value;
|
||||
}
|
||||
GetterAccessLevel() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user