Serialize properties for objects

A new special CallableKind for properties created for objects --
OBJECT_PROPERTY.
Also fix PropertyPsiData.isFinal() in case of properties backed by fields
This commit is contained in:
Alexander Udalov
2013-07-03 20:34:09 +04:00
parent a57f74c278
commit 011f733aad
46 changed files with 85 additions and 39 deletions
@@ -199,10 +199,10 @@ public final class PropertyPsiData {
if (getter != null) {
return getter.getMember().isFinal();
}
if (setter != null) {
return setter.getMember().isFinal();
}
return false;
assert field != null : "Property with no getter and no setter should at least have a backing field";
return field.getMember().isFinal();
}
}