Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Joinpoint reflection

Wes Isberg (wes@xxxxxxxxxxxxx) said:
> I'd be very interested in a function that could
> predict
> all join points.  That would solve a lot of problems
> in
> computer science! 

You believe that hogwash about the halting problem? 
;)  j/k.

Yes, I'm aware that some joinpoints are only
determinable at runtime....like, the "if" joinpoint. 
I'm am, however, only interested in the "static
shadow" of the pointcuts.

> The IDE support also displays shadows
> using the AJDE structure model, so, e.g., you can
> view the methods affected by a pointcut.

Please, point me to documentation on the IDE
support--it may be what I'm looking for.

Here's a few of the applications I can see for this,
and the AJDE API may be just what I'm looking for:

1.  Code coverage tool using aspectj --the code
coverage analyzer needs to not just know what is run
but what is NOT run.  

2.  An aspect J driven debugger--one needs to know
where one can set breakpoints.

3. An early warning/error detection system that is
more flexible than declare warning/declare error.  The
code would have to be run, but it could output any
errors it might have on startup. To tell you the truth
I don't see much use for this.

My particular interest for this particular question is
in #1--and yes I'm aware of a few code coverage tools
already available.  The only free one I could find,
however, is JUnit Quilt. 

>I'd be interested in knowing why this is so
>necessary for your application, in case there's an
>important language or tool feature to implement.

As far as extending AspectJ--I started looking at it
because I wanted to transparently proxy certain
objects.  However, I've discovered that I can't quite
do what I need with it, so I'm now looking at JOIE
(The Java Object Instrumentation Environment) and BCEL
(Byte code engineering library) to potentially solve
my problem.  Its a crosscutting  concern, but it
appears it would take quite a lot of extension to
AspectJ.  

If anybody is interested in my application specific
needs for that purpose, I'd love to share them with
you.  

Thanks,
-Scott Dossey
seveirein@xxxxxxxxx

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com


Back to the top