Bug 7825

Summary: AbstractVariableDeclaration::modifiersSourceStart always 0 for Argument
Product: [Eclipse Project] JDT Reporter: Adam Kiezun <akiezun>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M2   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Bug Depends on:    
Bug Blocks: 7274    

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