Render flexible types in debug mode
This commit is contained in:
@@ -301,6 +301,10 @@ public class DescriptorRendererImpl implements DescriptorRenderer {
|
||||
}
|
||||
return "???";
|
||||
}
|
||||
if (type instanceof FlexibleType && debugMode) {
|
||||
FlexibleType flexibleType = (FlexibleType) type;
|
||||
return "(" + renderType(flexibleType.getLowerBound()) + ".." + renderType(flexibleType.getUpperBound()) + ")";
|
||||
}
|
||||
if (type instanceof LazyType && debugMode) {
|
||||
return type.toString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user