mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-27 18:23:24 +00:00
06581537f2
TODO: Update -eclipse tests.
27 lines
521 B
Java
27 lines
521 B
Java
import java.util.*;
|
|
import lombok.val;
|
|
|
|
public class ValOutersWithGenerics<Z> {
|
|
class Inner {
|
|
}
|
|
|
|
public void testOutersWithGenerics() {
|
|
val foo = "";
|
|
List<Inner> list = new ArrayList<Inner>();
|
|
val elem = list.get(0);
|
|
}
|
|
|
|
public void testLocalClasses() {
|
|
class Local<A> {}
|
|
|
|
val q = new Local<String>();
|
|
}
|
|
|
|
static class SubClass extends ValOutersWithGenerics<String> {
|
|
public void testSubClassOfOutersWithGenerics() {
|
|
List<Inner> list = new ArrayList<Inner>();
|
|
val elem = list.get(0);
|
|
}
|
|
}
|
|
}
|