Project: JDT
Bug 4385 QualifiedAllocationExpression.sourceEnd incorrect if type is an AnonymousLocalTypeDeclaration
Reported: 2001-10-11 11:41:42 | Status: resolved fixed

Consider the following source: Protectable p= new Protectable() { public void protect() throws Exception { setUp(); basicRun(result); tearDown(); } }; SourceEnd of the QualifiedAllocationExpression new Protectable is the e of Protectable and not the closing } of the type declaration

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/core/refactoring/code/StatementAnalyzer.java