toString() for types
This commit is contained in:
committed by
Alexander Udalov
parent
6be5ecc666
commit
ae4a3942df
+5
@@ -99,6 +99,11 @@ public class TypeDeserializer {
|
||||
public List<AnnotationDescriptor> getAnnotations() {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return TypeUtils.toString(this);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
+5
@@ -208,6 +208,11 @@ public class DeserializedClassDescriptor extends ClassDescriptorBase implements
|
||||
public List<AnnotationDescriptor> getAnnotations() {
|
||||
return Collections.emptyList(); // TODO
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return getName().toString();
|
||||
}
|
||||
}
|
||||
|
||||
private static class DeserializedClassMemberScope extends DeserializedMemberScope {
|
||||
|
||||
Reference in New Issue
Block a user