mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
more java tests moved to community
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
public class Boxi {
|
||||
private interface Foo<T> {
|
||||
T t();
|
||||
}
|
||||
|
||||
{
|
||||
Foo<String> a = new Foo<String>() {
|
||||
public String t() {
|
||||
return "a";
|
||||
}
|
||||
};
|
||||
Foo<Integer> b = new Foo<Integer>() {
|
||||
public Integer t() {
|
||||
return <flown11>42;
|
||||
}
|
||||
};
|
||||
|
||||
int <caret>i = <flown1>b.t();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user