mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
find type parameters for class
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
class Test {
|
||||
List<String> l;
|
||||
|
||||
Test() {
|
||||
Set<String> s = new HashSet<String>();
|
||||
for (String t : s) {
|
||||
System.out.println(t);
|
||||
}
|
||||
}
|
||||
|
||||
void foo(String t) {
|
||||
System.out.println(t);
|
||||
}
|
||||
|
||||
void bar() {
|
||||
for (String t : l) {
|
||||
System.out.println(t);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user