Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Bug in AJDT regarding private inner class?

Yes, this does look like a bug. The markers and cross references view show the match, and the advice is applying at runtime, so it looks like the warning is incorrect. Please can you raise this in bugzilla.

Regards,

Matt.

On 11/09/06, Wim Deblauwe <wim.deblauwe@xxxxxxxxx> wrote:
Hi,

I want to advise a private method in a private inner class, like this

public class Outer
{
   private class Inner
   {
      private void myMethod()
   }
}

Using the following poincut:

poincut innerpointcut():execution( * Outer.Inner.myMethod() );

and advice:

before():innerpointcut()
{
   System.out.println( "executing!" );
}

I get a warning "invalidAbsoluteTypeName" next to my pointcut, but next to the advice, there is a marker that points to the private method. Is this a bug in AJDT?

regards,

Wim

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




Back to the top