AsmManager.getHierarchy().getRoot()... then getChildren() for each IProgramElement
Andy 2009/11/25 Johan Fabry <[email protected]>: > 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 > [email protected] - http://dcc.uchile.cl/~jfabry > PLEIAD Lab - Computer Science Department (DCC) - University of Chile > > > > _______________________________________________ > aspectj-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/aspectj-users > _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
