Description
proposed improvements:
- introduce TreeFactory.createReadOnlyTree(Tree readOnlyParent, String childName, NodeState childState) in order to reduce dependencies to internal ImmutableTree
- introduce TreeLocation.getName()
- introduce constants for path and name of the root tree
furthermore in the implementations:
- use root-node related constants in ImmutableTree
- simplify ImmutableTree.isRoot
- remove redundant checks for null when param is marked nonnull
- add missing param annotations