toString() for deserialized classes
This commit is contained in:
committed by
Alexander Udalov
parent
7f2f3a60a7
commit
699d5acd36
+5
@@ -245,6 +245,11 @@ public class DeserializedClassDescriptor extends ClassDescriptorBase implements
|
|||||||
return supertypes;
|
return supertypes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "deserialized class " + getName().toString();
|
||||||
|
}
|
||||||
|
|
||||||
private class DeserializedClassTypeConstructor implements TypeConstructor {
|
private class DeserializedClassTypeConstructor implements TypeConstructor {
|
||||||
private final Collection<JetType> supertypes = computeSuperTypes();
|
private final Collection<JetType> supertypes = computeSuperTypes();
|
||||||
private final List<TypeParameterDescriptor> parameters = deserializer.typeParameters(classProto.getTypeParametersList());
|
private final List<TypeParameterDescriptor> parameters = deserializer.typeParameters(classProto.getTypeParametersList());
|
||||||
|
|||||||
Reference in New Issue
Block a user