Render class object name when verbose.
This commit is contained in:
@@ -560,14 +560,16 @@ public class DescriptorRendererImpl implements DescriptorRenderer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
List<TypeParameterDescriptor> typeParameters = klass.getTypeConstructor().getParameters();
|
List<TypeParameterDescriptor> typeParameters = klass.getTypeConstructor().getParameters();
|
||||||
if (!classObject) {
|
|
||||||
|
if (!classObject || verbose) {
|
||||||
renderName(klass, builder);
|
renderName(klass, builder);
|
||||||
renderTypeParameters(typeParameters, builder, false);
|
}
|
||||||
if (classWithPrimaryConstructor) {
|
renderTypeParameters(typeParameters, builder, false);
|
||||||
ConstructorDescriptor primaryConstructor = klass.getUnsubstitutedPrimaryConstructor();
|
|
||||||
if (primaryConstructor != null) {
|
if (!classObject && classWithPrimaryConstructor) {
|
||||||
renderValueParameters(primaryConstructor, builder);
|
ConstructorDescriptor primaryConstructor = klass.getUnsubstitutedPrimaryConstructor();
|
||||||
}
|
if (primaryConstructor != null) {
|
||||||
|
renderValueParameters(primaryConstructor, builder);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user