From: hyukmin kwon Date: Thu, 22 Nov 2012 09:24:41 +0000 (+0900) Subject: [Title] JSDT : Open declaration bug for the LHS of an assignment X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=554b57543c81b5d6cbbf099d696f874541b5fadd;p=sdk%2Fide%2Fproduct.git [Title] JSDT : Open declaration bug for the LHS of an assignment statement is fixed. [Desc.] Open declaration bug for the LHS of an assignment statement is fixed. [Issue] REDMINE-7454 --- diff --git a/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionOnSingleNameReference.java b/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionOnSingleNameReference.java index de19843..2ea52b2 100644 --- a/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionOnSingleNameReference.java +++ b/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/codeassist/select/SelectionOnSingleNameReference.java @@ -78,6 +78,10 @@ public TypeBinding resolveType(BlockScope scope) { throw new SelectionNodeFound(binding); } +public TypeBinding resolveType(BlockScope scope, boolean define, TypeBinding useType) { + return resolveType(scope); +} + public TypeBinding resolveForAllocation(BlockScope scope, ASTNode location) { TypeBinding typeBinding=null; this.binding=