mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 09:19:13 +07:00
find type parameters for class
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import java.util.*;
|
||||
public class Super<T> {
|
||||
|
||||
}
|
||||
|
||||
class Test extends Super<String>{
|
||||
void bar() {
|
||||
List<String> l = new ArrayList<String>();
|
||||
for (String t : l) {
|
||||
System.out.println(t);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user