Bug 84659 - 1.5][search][annot] Reference to constant not found in annotation on type declaration
Summary: 1.5][search][annot] Reference to constant not found in annotation on type dec...
Status: RESOLVED DUPLICATE of bug 83230
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 M7   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-08 04:34 EST by Markus Keller CLA
Modified: 2005-04-29 07:16 EDT (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 2005-02-08 04:34:08 EST
I20050202

Search for references to the constant Annot.DEFAULT. References are not found in
annotations on type declarations (see comments)

@interface Annot {
	public static final String DEFAULT= "John";
	String value();
}

@Annot(Annot.DEFAULT) //not found
class Test {
	@Annot(Annot.DEFAULT)
	int a;
	@Annot(value=Annot.DEFAULT)
	int b;
	int c;
	int d;
}

@Annot(value=Annot.DEFAULT) //not found
enum Test2 {}
Comment 1 Frederic Fusier CLA 2005-02-15 06:05:27 EST

*** This bug has been marked as a duplicate of 83230 ***