-
Bug
-
Resolution: Fixed
-
P3
-
5.0, 6
-
None
-
b57
-
generic
-
generic
Update JSR 269 to current draft, changes include:
* SourceVersion has methods to detect both simple names (e.g. "foo") and qualified names (e.g. "foo.bar")
* The package docs for the modeling classes state clients should not expect to be able to modify the collections returned by the methods in the hierarchies.
* The utility visitor classes have been restructured. Generally, the revised forms are more flexible and should allow for more compact code in subclasses. All the methods in the kind-visitors obey the usual method naming conventions (no underscores).
* The most fundamental change is having the methods in the modeling and processing interface hierarchies which return collections (Lists and Sets) use wildcards; e.g. List<? extends Element> instead of List<Element>.
* SourceVersion has methods to detect both simple names (e.g. "foo") and qualified names (e.g. "foo.bar")
* The package docs for the modeling classes state clients should not expect to be able to modify the collections returned by the methods in the hierarchies.
* The utility visitor classes have been restructured. Generally, the revised forms are more flexible and should allow for more compact code in subclasses. All the methods in the kind-visitors obey the usual method naming conventions (no underscores).
* The most fundamental change is having the methods in the modeling and processing interface hierarchies which return collections (Lists and Sets) use wildcards; e.g. List<? extends Element> instead of List<Element>.
- duplicates
-
JDK-6203539 (soa) DeclarationVisitor api could be simplified
-
- Closed
-
-
JDK-5008404 Need method to identify Java identifiers
-
- Closed
-
-
JDK-5103912 (soa) Visitor api could be improved
-
- Closed
-
- relates to
-
JDK-6335673 Update JSR 269 to Early Draft v0.42
-
- Resolved
-