JDK-6203539 : (soa) DeclarationVisitor api could be simplified
  • Type: Bug
  • Component: tools
  • Sub-Component: apt
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2004-12-03
  • Updated: 2010-04-02
  • Resolved: 2005-10-21
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
The DeclarationVisitor interface includes methods corresponding to interfaces that shoud have no corresponding concrete classes; i.e. all ExecutableDeclaration's should either be concretely ConstructorDeclarations or MethodDeclarations.  Such method might be removable from the api.

Additionally, it would be simply if the declaration scanner mechanism only had a source order form; to implement this using public api elements, a getAllMembers method would be needed (bug 6194307).

Comments
EVALUATION The element and type visitor interfaces and utility implementation in JSR 269 address theses and other shortcomings of the apt mirror API visitors.
21-10-2005

EVALUATION A fine idea. ###@###.### 2005-03-16 00:49:49 GMT
16-03-2005