Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 314297

Summary: Java search should find type and method references inside pointcuts and declare declarations
Product: [Tools] AJDT Reporter: Andrew Eisenberg <andrew.eisenberg>
Component: CoreAssignee: AJDT-inbox <AJDT-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 2.0.2   
Target Milestone: 2.1.1   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Andrew Eisenberg CLA 2010-05-25 11:55:33 EDT
Eg- 

aspect Foo {
  pointcut() : execution(* * Bar.my(..));
  declare parents : Bar implements Baz;
  declare error :  execution(* * Bar.my(..)) : "Error";
}

etc...

All of the types and methods referred to in the above aspect should be available from Java search.  Things are complicated a little bit since method arguments may not be fully specified and types may not be fully qualified.  In these situations, we should still return the results, but specify them as "inaccurate".
Comment 1 Andrew Eisenberg CLA 2010-10-05 16:21:16 EDT
Done.