toString() for types

This commit is contained in:
Andrey Breslav
2013-05-15 16:09:49 +04:00
committed by Alexander Udalov
parent 6be5ecc666
commit ae4a3942df
2 changed files with 10 additions and 0 deletions
@@ -99,6 +99,11 @@ public class TypeDeserializer {
public List<AnnotationDescriptor> getAnnotations() { public List<AnnotationDescriptor> getAnnotations() {
return Collections.emptyList(); return Collections.emptyList();
} }
@Override
public String toString() {
return TypeUtils.toString(this);
}
}; };
} }
@@ -208,6 +208,11 @@ public class DeserializedClassDescriptor extends ClassDescriptorBase implements
public List<AnnotationDescriptor> getAnnotations() { public List<AnnotationDescriptor> getAnnotations() {
return Collections.emptyList(); // TODO return Collections.emptyList(); // TODO
} }
@Override
public String toString() {
return getName().toString();
}
} }
private static class DeserializedClassMemberScope extends DeserializedMemberScope { private static class DeserializedClassMemberScope extends DeserializedMemberScope {