Collection attribute declarations currently need a
with add to declare that the
add method is used to mutate the collection. Most Java collections use an
add method to add elements to the collection, so it would make sense to be able to skip the
with add part of the collection declaration and have
add be the default update method.
coll Collection<String> CompilationUnit.ids() [new LinkedList<String>] root CompilationUnit;
- Add tests for collection attribute declarations using the default mutation method.
- Allow the parser to parse
colldeclarations without the
- Update the reference manual to mention that
withis optional in collection attribute declarations.
- Add an example of a collection attribute declaration without the
withpart in the reference manual.