packageimpl;importorg.aspectj.lang.annotation.Aspect;importorg.aspectj.lang.annotation.DeclareParents;publicclassDefaultFooimplementsFoo{// Uncommenting the following fixes the error DefaultFoo(){}publicvoiddoFoo(){System.out.println("In doFoo "+this.getClass());}}