Bug 314297 - Java search should find type and method references inside pointcuts and declare declarations
Summary: Java search should find type and method references inside pointcuts and decla...
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: Core (show other bugs)
Version: 2.0.2   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: 2.1.1   Edit
Assignee: AJDT-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-25 11:55 EDT by Andrew Eisenberg CLA
Modified: 2010-10-05 16:21 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 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.