core-java
core-java copied to clipboard
Replace `AggregateRoot`/`AggregatePart` arrangement with `@Friend` annotation
The annotation would allow to specify classes that are allowed to access the state of the annotated one.
For a broader picture overview please see this DDDi talk.
See also #1286.