Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] How to get the super AspectElement from a given AspectElement

Hi Andy,

I'd love to walk over the model and just ask if a type is an aspect. It's just that I dont know how to do this. When trying to find a way the best that I could come up with was via the AsmManager method getHierarchy(), but there I cannot get a hold of the types because the typeMap is private. How should I walk the model to get the types?

On 25 Nov 2009, at 15:15, Andy Clement wrote:

I can't recall the entire way that structure model works right now.
Why not walk the model and ask which types are aspects?  Surely that
will work?  I might even take a patch to change the structure model to
provide what you need if you change it to be how you would like it to
be.

cheers,
Andy


--
Johan Fabry
jfabry@xxxxxxxxxxxxx - http://dcc.uchile.cl/~jfabry
PLEIAD Lab - Computer Science Department (DCC) - University of Chile





Back to the top