JDK-5103912 : (soa) Visitor api could be improved
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: javax.lang.model
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2004-09-17
  • Updated: 2005-10-21
  • Resolved: 2005-10-21
Related Reports
Duplicate :  
Relates :  
The current apt visitors do not return any value.  Apparently more refined visitor patterns using generics allow values to be returned directly instead of being extracted afterwards.

EVALUATION The JSR 269 visitors have generic parameters for both the return value and an additional parameter as well as a mechanism to cope with the expression problem.

EVALUATION Should be considered in son of apt jsr. ###@###.### 2004-09-17