Bug 82141 - AST: Missing Bindings on annotations
Summary: AST: Missing Bindings on annotations
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M5   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 81499 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-04 10:47 EST by Martin Aeschlimann CLA
Modified: 2005-02-16 11:09 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2005-01-04 10:47:45 EST
20050104

In the following code the annotations ('@Override' '@Annot' and argument
'value') don't have bindings. 

public class B {
	@Override @Annot(value="Hello") public String toString() {
		return super.toString();
	}
	
	
	@interface Annot {
		String value();
	}
}
Comment 1 Olivier Thomann CLA 2005-01-04 22:54:27 EST
The binding for value in @Annot(value="Hello") is a method binding.
Fixed and released in HEAD.
Regression test added in ASTConverter15Test.test0099.
Comment 2 Olivier Thomann CLA 2005-01-04 23:03:58 EST
*** Bug 81499 has been marked as a duplicate of this bug. ***
Comment 3 David Audel CLA 2005-02-16 11:09:52 EST
Verified in I20050215-2300