Community
Participate
Working Groups
In latest, the statements() method returns a list of SwitchGroups, but SwitchGroups doesn't exist. /** * Returns the live ordered list of statements for this switch statement. * Within this list, <code>SwitchCase</code> nodes mark the start of * the switch groups. * * @return the live list of switch group nodes * (element type: <code>SwitchGroups</code>) */ public List statements() { return this.statements; } Right now statements() returns a list of Statement. This needs to be clarified for M6.
Indeed, the spec is bogus (and has been since day 1). I've fixed in HEAD.
Marking as fixed.
Verified in 20050330-0500