makeBasicAssumptions fixed

This commit is contained in:
JanUlrich 2014-08-07 16:09:07 +02:00
parent 63a10f4775
commit 7ff5b6d9db

View File

@ -1186,7 +1186,7 @@ public class SourceFile
for(int j=0;j<methods.length;j++){
if(java.lang.reflect.Modifier.isPublic(methods[j].getModifiers())){
String methodName=methods[j].getName();
if(methodName.equals("add")){
//if(methodName.equals("add")){
java.lang.reflect.Type genericReturnType=methods[j].getGenericReturnType();
Type returnType=createTypeFromJavaGenericType(genericReturnType,methods[j].getReturnType(),jreSpiderRegistry);
@ -1211,7 +1211,7 @@ public class SourceFile
//basicAssumptions.addMethodIntersectionType(new CIntersectionType(method));
parentClass.addField(method);
}
//}
}
}