Rename "context" -> "c" in deserialization for brevity

This commit is contained in:
Alexander Udalov
2014-11-24 16:25:14 +03:00
parent 1c04a6052f
commit 3a066dfd07
9 changed files with 82 additions and 85 deletions
@@ -156,7 +156,7 @@ class LazyOperationsLog(
}
o.javaClass.getSimpleName() == "DeserializedType" -> {
val typeDeserializer = o.field<TypeDeserializer>("typeDeserializer")
val context = typeDeserializer.field<DeserializationContext>("context")
val context = typeDeserializer.field<DeserializationContext>("c")
val typeProto = o.field<ProtoBuf.Type>("typeProto")
val text = when (typeProto.getConstructor().getKind()) {
ProtoBuf.Type.Constructor.Kind.CLASS -> context.nameResolver.getFqName(typeProto.getConstructor().getId()).asString()