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:
peichhorn committed 2011-06-01 02:44:53 +02:00
1 parent aa96fcbc77
commit 850c3eaf07
72 files changed
+2570 -1

No files matched your search

@@ -0,0 +1,56 @@
@lombok.RequiredArgsConstructor class RequiredArgsConstructor1 {
final int x;
String name;
public @java.beans.ConstructorProperties({"x"}) @java.lang.SuppressWarnings("all") RequiredArgsConstructor1(final int x) {
super();
this.x = x;
}
}
@lombok.RequiredArgsConstructor(access = lombok.AccessLevel.PROTECTED) class RequiredArgsConstructorAccess {
final int x;
String name;
protected @java.beans.ConstructorProperties({"x"}) @java.lang.SuppressWarnings("all") RequiredArgsConstructorAccess(final int x) {
super();
this.x = x;
}
}
@lombok.RequiredArgsConstructor(staticName = "staticname") class RequiredArgsConstructorStaticName {
final int x;
String name;
private @java.lang.SuppressWarnings("all") RequiredArgsConstructorStaticName(final int x) {
super();
this.x = x;
}
public static @java.lang.SuppressWarnings("all") RequiredArgsConstructorStaticName staticname(final int x) {
return new RequiredArgsConstructorStaticName(x);
}
}
@lombok.RequiredArgsConstructor() class RequiredArgsConstructorWithAnnotations {
final int x;
String name;
public @Deprecated @java.beans.ConstructorProperties({"x"}) @java.lang.SuppressWarnings("all") RequiredArgsConstructorWithAnnotations(final int x) {
super();
this.x = x;
}
}
@lombok.AllArgsConstructor class AllArgsConstructor1 {
final int x;
String name;
public @java.beans.ConstructorProperties({"x", "name"}) @java.lang.SuppressWarnings("all") AllArgsConstructor1(final int x, final String name) {
super();
this.x = x;
this.name = name;
}
}
@lombok.NoArgsConstructor class NoArgsConstructor1 {
final int x;
String name;
public @java.lang.SuppressWarnings("all") NoArgsConstructor1() {
super();
}
}