You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Main.java 296B

12345678910111213
  1. import java.lang.reflect.Type;
  2. public class Main {
  3. public static void main(String[]argv) throws Exception {
  4. Class c = Class.forName("a.b.Adapter$1");
  5. Type[] ts = c.getGenericInterfaces();
  6. for (int i = 0; i < ts.length; i++) {
  7. Type type = ts[i];
  8. System.out.println(ts[i]);
  9. }
  10. }
  11. }