Adding a native method to handle getBounds() with a default answer: java.lang.Object
[jpf-core.git] / examples / Reflection.java
index 88f41d555257c6e0fbae9fe898f9225fb289d3b8..f2feb06eaf5491190945dfd566f69f6dc075dcd7 100644 (file)
@@ -62,7 +62,12 @@ public class Reflection {
  
       }
       System.out.println();
-      
+
+      Type[] bounds = typeParameters[0].getBounds();
+      for (Type bound : bounds) {
+          System.out.println(bound);
+      }
+      System.out.println();
       Type returnType = methods[0].getGenericReturnType();
       System.out.println(returnType);