mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-28 08:21:35 +00:00
1b534d17d3
Specifically, Rawi01's patches to make javadoc behaviour in eclipse better, which cannot be applied to ecj as you get load errors (javadoc not a thing there). As part of this commit, tests can be limited to ecj or eclipse, and I made cut-down versions of a few tests (to run on ecj, as the main one cannot be, due to javadoc issues). The tests now marked as eclipse only don't fail on ecj, but they don't generate the same result. Alternatively, we could go with a separated out after-ecj and after-eclipse dir instead, but that's perhaps going overboard.
46 lines
979 B
Java
46 lines
979 B
Java
//platform !eclipse: Requires a 'full' eclipse with intialized workspace, and we don't (yet) have that set up properly in the test run.
|
|
public class DelegateAlreadyImplemented<T> {
|
|
|
|
@lombok.experimental.Delegate
|
|
private A<Integer, T> a;
|
|
|
|
public void a() {
|
|
}
|
|
|
|
public void b(java.util.List<String> l) {
|
|
}
|
|
|
|
public void c(java.util.List<Integer> l, String[] a, Integer... varargs) {
|
|
}
|
|
|
|
public void d(String[][][][] d) {
|
|
}
|
|
|
|
public <Y> void e(Y x) {
|
|
}
|
|
|
|
@SuppressWarnings("unchecked")
|
|
public void f(T s, java.util.List<T> l, T[] a, T... varargs) {
|
|
}
|
|
|
|
public void g(Number g) {
|
|
}
|
|
}
|
|
|
|
interface A<T, T2> {
|
|
public void a();
|
|
|
|
public void b(java.util.List<T> l);
|
|
|
|
@SuppressWarnings("unchecked")
|
|
public void c(java.util.List<T> l, String[] a, T... varargs);
|
|
|
|
public void d(String[][][][] d);
|
|
|
|
public <X> X e(X x);
|
|
|
|
@SuppressWarnings("unchecked")
|
|
public void f(T2 s, java.util.List<T2> l, T2[] a, T2... varargs);
|
|
|
|
public <G extends Number> void g(G g);
|
|
} |