Generics Resolve fixen

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

View File

@ -38,11 +38,8 @@ public class MethodAssumption extends Assumption{
}
public RefTypeOrTPHOrWildcardOrGeneric getReturnType(GenericsResolver resolver) {
if(retType instanceof GenericRefType) {
return resolver.resolve(retType);
}
return retType;
}
public List<RefTypeOrTPHOrWildcardOrGeneric> getArgTypes(GenericsResolver resolver) {
List<RefTypeOrTPHOrWildcardOrGeneric> ret = new ArrayList<>();