Community
Participate
Working Groups
N20050722-0010 The "declaration" property of a TypeDeclarationStatement has the wrong getLocationInParent() in JLS3 API. Expected: DECLARATION_PROPERTY Is: TYPE_DECLARATION_PROPERTY This manifests e.g. in the ASTView's inability to focus on a local type: - have this class in a 5.0 project (JLS3 AST): class Outer { void m() { class Local {} } } - select 'Local' - open ASTView and press F5 -> tree doesn't expand to selection (since it compares getLocationInParent())
Fixed in builds > N20050723. Improved tests; updated build notes.
F5 doesn't work, but debugging the code seems to show the right location. Verified in 3.2M1 (I20050808-2000)
Works for me too. F5 should be bound to the retargetable 'Refresh' action by default and execute 'Show AST of active editor' in the ASTView. However, this may not work if you're in a debugging session and debug has stolen F5 for 'Step Into'.