}
if (type instanceof JRawType) {
return resolveClass(logger, ((JRawType) type).getBaseType(), context);
}
if (type instanceof JTypeParameter) {
JTypeParameter typeParam = (JTypeParameter) type;
if (!resolveClass(logger, typeParam.getDeclaringClass(), context)) {
return false;
}
for (JClassType bound : typeParam.getBounds()) {
if (!resolveClass(logger, bound, context)) {
return false;
}
}
return true;