Bug 265586 - [source transformation] Attached source code for aspects is converted to Java syntax
Summary: [source transformation] Attached source code for aspects is converted to Java...
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 2.0.0   Edit
Assignee: AJDT-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 265589
  Show dependency tree
 
Reported: 2009-02-19 22:40 EST by Andrew Eisenberg CLA
Modified: 2009-05-11 17:48 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 2009-02-19 22:40:40 EST
When viewing the source code on a binary aspect, the source code seen has been sent through the AspectsConvertingParser and so it looks very strange with class swapped out for aspect, etc.

It is possible to not perform the transformation and have the source code look normal, but that breaks the outline view and also prevents the binary code from being indexed.

What to do????  Both ways are broken.

I am leaning towards performing the transformation so the code looks funny, but the outline view is appropriate.  The reason is that the code is still readable (even if funny looking), and it is also navigable (ie- outline view, search, call hierarchy, etc).
Comment 1 Andrew Eisenberg CLA 2009-02-19 22:43:43 EST
See SourceTransformerAspect
Comment 2 Andrew Eisenberg CLA 2009-04-16 18:42:22 EDT
This has been addressed.  See bug 265589.