Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] @DeclareParents not weaving

It seems like you are missing the @Aspect annotation on the MetaAspect class.

-Ramnivas

On 2/19/07, Manie Coetzee < manie.coetzee@xxxxxxxxx> wrote:
Hi,

I have been trawling the mailing list for an answer to my problem, but
have not found a clear answer or solution.

Basically, I want to create a aspect, that will match to any class
with the @CreateMetaNode annotation.  At the moment, I do not get any
errors, it is simply ignored by the compilef (iajc).

I am using the last stable build from AspectJ.  Here is my code:

public class MetaAspect {

    @DeclareParents(value="@net.tierbos.helikaon.core.platform.meta.CreateMetaNode
*", defaultImpl = MetaNodeImp.class)
    private static MetaNode node;
}

Any help would be much appreciated.

Regards
Manie
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Back to the top