Generics Resolve fixen

This commit is contained in:
JanUlrich 2018-08-19 19:42:31 +02:00
parent 9281786db4
commit a823ef2b16

View File

@ -38,10 +38,7 @@ public class MethodAssumption extends Assumption{
} }
public RefTypeOrTPHOrWildcardOrGeneric getReturnType(GenericsResolver resolver) { public RefTypeOrTPHOrWildcardOrGeneric getReturnType(GenericsResolver resolver) {
if(retType instanceof GenericRefType) { return resolver.resolve(retType);
return resolver.resolve(retType);
}
return retType;
} }
public List<RefTypeOrTPHOrWildcardOrGeneric> getArgTypes(GenericsResolver resolver) { public List<RefTypeOrTPHOrWildcardOrGeneric> getArgTypes(GenericsResolver resolver) {