blob: 8b6d046ee7214f162bd3fe240623da1fbc2075e0 (
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 v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* 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);
}
}
|