Community
Participate
Working Groups
EnhancedForStatement declares a method public IVariableBinding resolveBinding(); This API method is out of character for statement nodes, which don't generally have bindings at all. It's not clear why it was added in the first place. The method is certainly superfluous; clients can simply call EnhancedForStatement.getParameter().resolveBinding() The EnhancedForStatement is one of the node types that is new for JLS3. This API method was introduced back in 3.0, but has never been implemented correctly (it has always returned null). We should delete this method from the API before 3.1 ships.
Deprecated method. Added TODO to remove post 3.1M4. Updated build notes.
Verified in 200412140800