Rename FQNAMES -> FQ_NAMES

This commit is contained in:
Alexander Udalov
2014-04-23 22:41:04 +04:00
parent 525709bced
commit af421f53da
36 changed files with 60 additions and 61 deletions
@@ -176,6 +176,6 @@ class LazyJavaAnnotationDescriptor(
override fun toString(): String {
return DescriptorRenderer.FQNAMES_IN_TYPES.renderAnnotation(this)
return DescriptorRenderer.FQ_NAMES_IN_TYPES.renderAnnotation(this)
}
}
@@ -58,6 +58,6 @@ public class AnnotationDescriptorImpl implements AnnotationDescriptor {
@Override
public String toString() {
return DescriptorRenderer.FQNAMES_IN_TYPES.renderAnnotation(this);
return DescriptorRenderer.FQ_NAMES_IN_TYPES.renderAnnotation(this);
}
}
@@ -194,7 +194,7 @@ public class TypeParameterDescriptorImpl extends DeclarationDescriptorNonRootImp
@Override
public String toString() {
try {
return DescriptorRenderer.FQNAMES_IN_TYPES.render(this);
return DescriptorRenderer.FQ_NAMES_IN_TYPES.render(this);
} catch (Exception e) {
return this.getClass().getName() + "@" + System.identityHashCode(this);
}
@@ -54,7 +54,7 @@ public interface DescriptorRenderer extends Renderer<DeclarationDescriptor> {
.setModifiers()
.setStartFromName(true).build();
DescriptorRenderer FQNAMES_IN_TYPES = new DescriptorRendererBuilder().build();
DescriptorRenderer FQ_NAMES_IN_TYPES = new DescriptorRendererBuilder().build();
DescriptorRenderer SHORT_NAMES_IN_TYPES = new DescriptorRendererBuilder().setShortNames(true).build();