interface I {
}
- static class IImpl implements I {
+ public static class IIimpl implements I {
public void m2() { }
}
- @DeclareParents(value="Basic2b",defaultImpl=X.IImpl.class)
- private I simplefield;;
+ @DeclareParents(value="Basic2b",defaultImpl=X.IIimpl.class)
+ private I simplefield;
@Before("execution(* *(..))")
@Aspect class X {
interface I {
- public void m2();
- public void m3();
- public void m4();
+ public void m2();
+ public void m3();
+ public void m4();
}
- static class IImpl implements I {
+ public static class IIimpl implements I {
public void m2() { }
public void m3() { }
public void m4() { }
}
- @DeclareParents(value="Basic3b",defaultImpl=IImpl.class)
+ @DeclareParents(value="Basic3b",defaultImpl=X.IIimpl.class)
private I simplefield;
-
@Before("call(* *(..))")
public void advice1() {}