read properties from binary classes

(intermediate version)
This commit is contained in:
Stepan Koltsov
2012-01-03 17:16:50 +04:00
parent 72192bf67b
commit 7325285813
17 changed files with 284 additions and 31 deletions
@@ -118,7 +118,9 @@ public class DataFlowValueFactory {
if (classDescriptor.getModality().isOverridable() && propertyDescriptor.getModality().isOverridable()) return false;
}
else {
assert !propertyDescriptor.getModality().isOverridable() : "Property outside a class must not be overridable";
if (propertyDescriptor.getModality().isOverridable()) {
throw new IllegalStateException("Property outside a class must not be overridable: " + propertyDescriptor.getName());
}
}
return true;
}