Bug 79610 - IVariableBinding#getJavaElement() returns null for local variables
Summary: IVariableBinding#getJavaElement() returns null for local variables
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M4   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-26 19:01 EST by Markus Keller CLA
Modified: 2004-12-15 06:04 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2004-11-26 19:01:10 EST
IVariableBinding#getJavaElement() returns null for local variables, e.g. for arg:
	void m(int arg) { }

Expected: ILocalVariable
Comment 1 Jerome Lanneluc CLA 2004-11-29 11:41:56 EST
Implemented getJavaElement() for local variables.
Added regression tests ASTModelBridgeTests#testLocalVariable1() and
testLocalVariable2()
Comment 2 Frederic Fusier CLA 2004-12-15 06:04:51 EST
Verified for 3.1 M4 using build I200412142000 + ASTView 1.0.2.