You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1234567891011121314151617181920 |
- package p2;
-
- import p1.C;
- public class A2 {
- public static void main(String[] args) {
- new C().foo();
- new C().bar();
- }
- }
-
- aspect InterClass {
- void C.foo() {
- assert(C.class != null);
- }
-
- void around(): execution(void C.bar()) {
- assert(C.class != null);
- proceed();
- }
- }
|