Fixing getGenericReturnType to recognize the GenericArrayTypeImpl and ParameterizedTy...
[jpf-core.git] / examples / Reflection.java
index e1ea00c96605b21f2fb228f0d2767d9c594511cd..b32715832912b6b30b60dc1e25510a89f5c6cb26 100644 (file)
@@ -77,7 +77,8 @@ public class Reflection {
          Method method = null;
       for(Method mth : methods) {
         //if (mth.getName().equals("getConstructor")) {
-        if (mth.getName().equals("isAssignableFrom")) {
+        //if (mth.getName().equals("isAssignableFrom")) {
+        if (mth.getName().equals("getTypeParameters")) {
            method = mth;
         }
       }