Bug 338160 - [itit] Ability to easily recognize intertype inner type declarations in the model
Summary: [itit] Ability to easily recognize intertype inner type declarations in the m...
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-24 17:15 EST by Andrew Eisenberg CLA
Modified: 2011-02-24 17:15 EST (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 2011-02-24 17:15:59 EST
Currently, it is not simplet to determine if a class declaration is actually an intertype inner type.  There are several steps required to do this:

1. Is this an public static final inner class of an aspect?
2. If so, grab the crosscutting model and check to see if there are any outgoing DeclaredOn relationships.
3. If yes, then ITIT.

There are 2 problems here.  We will not be able to determine if a type is an ITIT if 

1. If there has not been a successful build yet, or
2. If the ITIT does not have a valid target type.

The solution that I currently have is sufficient for PushIn refactoring, but it is not ideal for the above reasons.  Once I start looking at searching for ITITs, this issue may become more important.