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 <[EMAIL PROTECTED]> 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
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users



_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to