throw new IllegalArgumentException("Unknown type");
}
return convertToUsage(type, JavaParserFactory.getContext(context, typeSolver));
}
private String qName(ClassOrInterfaceType classOrInterfaceType) {
<BUG>String name = classOrInterfaceType.getName();

if (classOrInterfaceType.getScope() != null) {

return qName(classOrInterfaceType.getScope()) + "." + name;
</BUG>
} else {

throw new IllegalArgumentException("Unknown type");
}
return convertToUsage(type, JavaParserFactory.getContext(context, typeSolver));
}
private String qName(ClassOrInterfaceType classOrInterfaceType) {
String name = classOrInterfaceType.getName().getId();
if (classOrInterfaceType.getScope().isPresent()) {
return qName(classOrInterfaceType.getScope().get()) + "." + name;
} else {
