Bug 7825 - AbstractVariableDeclaration::modifiersSourceStart always 0 for Argument
Summary: AbstractVariableDeclaration::modifiersSourceStart always 0 for Argument
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M2   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 7274
  Show dependency tree
 
Reported: 2002-01-17 06:38 EST by Adam Kiezun CLA
Modified: 2002-02-11 04:55 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 Adam Kiezun CLA 2002-01-17 06:38:55 EST
class A {
	public void m(int i, final boolean b){}
}


modifiersSourceStart is 0 for both Arguments
i'd expect it to be the same as type.sourceStart for the first argument 
(beginning of 'int')
and point to the beginning of 'final' for the seconf argument
Comment 1 Olivier Thomann CLA 2002-01-22 10:21:38 EST
Won't be fixed in the current stream. Need to wait for the new AST nodes.
Comment 2 Olivier Thomann CLA 2002-01-22 10:35:33 EST
You should use the declaration source start instead of the modifier source 
start. The declaration source start is properly set in build > 0109.
Let me know if you have any problem. These positions are fixed in the new AST 
nodes.
Comment 3 Adam Kiezun CLA 2002-01-22 10:57:53 EST
ok, fixed - using declarationSourceStart
with 0 problems