Removed unused methods from DescriptorRendererImpl.
This commit is contained in:
@@ -108,15 +108,6 @@ public class DescriptorRendererImpl implements Renderer<DeclarationDescriptor> {
|
|||||||
};
|
};
|
||||||
private final RenderDeclarationDescriptorVisitor rootVisitor = new RenderDeclarationDescriptorVisitor();
|
private final RenderDeclarationDescriptorVisitor rootVisitor = new RenderDeclarationDescriptorVisitor();
|
||||||
|
|
||||||
private static List<String> getOuterClassesNames(ClassDescriptor cd) {
|
|
||||||
ArrayList<String> result = new ArrayList<String>();
|
|
||||||
while (cd.getContainingDeclaration() instanceof ClassifierDescriptor) {
|
|
||||||
result.add(cd.getName().getName());
|
|
||||||
cd = (ClassDescriptor) cd.getContainingDeclaration();
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected boolean hasDefaultValue(ValueParameterDescriptor descriptor) {
|
protected boolean hasDefaultValue(ValueParameterDescriptor descriptor) {
|
||||||
return descriptor.hasDefaultValue();
|
return descriptor.hasDefaultValue();
|
||||||
}
|
}
|
||||||
@@ -327,15 +318,6 @@ public class DescriptorRendererImpl implements Renderer<DeclarationDescriptor> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public String renderAsObject(@NotNull ClassDescriptor classDescriptor) {
|
|
||||||
StringBuilder stringBuilder = new StringBuilder();
|
|
||||||
rootVisitor.renderClassDescriptor(classDescriptor, stringBuilder, "object");
|
|
||||||
if (shouldRenderDefinedIn()) {
|
|
||||||
appendDefinedIn(classDescriptor, stringBuilder);
|
|
||||||
}
|
|
||||||
return stringBuilder.toString();
|
|
||||||
}
|
|
||||||
|
|
||||||
public String renderMessage(String s) {
|
public String renderMessage(String s) {
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user