Project: AspectJ
Bug 156904 Incorrect warning when advising a private method of a private inner class
Reported: 2006-09-11 13:39:27 | Status: resolved fixed

The Eclipse AJDT give an incorrect warning when you want to advise a private method of a private inner class. When 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.

Files changed in fix:
tests/bugs153/pr156904/inDiffPkgAndImport/Outer.java tests/bugs153/pr156904/inDiffPkgWithoutImport/Outer.java tests/bugs153/pr156904/inSamePkg/Outer.java tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java