blob: 24d752de2676e636e9b5d4fb1490c8ded41a3303 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/*******************************************************************************
* Copyright (c) 2010 Contributors
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt
*
* Contributors:
* Andy Clement - Repro test case
* Abraham Nevado
*******************************************************************************/
aspect X {
after(): execution(* A.m()) {
System.out.println(thisJoinPoint.getArgs().toString());
}
before(): execution(* A.m()) {
System.out.println(thisJoinPointStaticPart);
}
}
|