forked from JavaTX/JavaCompilerCore
makeBasicAssumptions fixed
This commit is contained in:
parent
63a10f4775
commit
7ff5b6d9db
@ -1186,7 +1186,7 @@ public class SourceFile
|
|||||||
for(int j=0;j<methods.length;j++){
|
for(int j=0;j<methods.length;j++){
|
||||||
if(java.lang.reflect.Modifier.isPublic(methods[j].getModifiers())){
|
if(java.lang.reflect.Modifier.isPublic(methods[j].getModifiers())){
|
||||||
String methodName=methods[j].getName();
|
String methodName=methods[j].getName();
|
||||||
if(methodName.equals("add")){
|
//if(methodName.equals("add")){
|
||||||
|
|
||||||
java.lang.reflect.Type genericReturnType=methods[j].getGenericReturnType();
|
java.lang.reflect.Type genericReturnType=methods[j].getGenericReturnType();
|
||||||
Type returnType=createTypeFromJavaGenericType(genericReturnType,methods[j].getReturnType(),jreSpiderRegistry);
|
Type returnType=createTypeFromJavaGenericType(genericReturnType,methods[j].getReturnType(),jreSpiderRegistry);
|
||||||
@ -1211,7 +1211,7 @@ public class SourceFile
|
|||||||
//basicAssumptions.addMethodIntersectionType(new CIntersectionType(method));
|
//basicAssumptions.addMethodIntersectionType(new CIntersectionType(method));
|
||||||
parentClass.addField(method);
|
parentClass.addField(method);
|
||||||
|
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user