Bug 84659

Summary: 1.5][search][annot] Reference to constant not found in annotation on type declaration
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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 ***