summaryrefslogtreecommitdiffstats
path: root/tests/ajdoc/input/applesAspectJ/BigRigAspect.java
blob: 32b1577be19a79d45f9131353b1ff895f1222405 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
 * This aspect represents upacking apples after an airplane trip.
 * 
 * @author	Mik Kersten
 * @version	$Version$
 */

public class BigRigAspect extends TransportAspect
{
	/**
	 * Bruise apples with a bruising factor of 15 after unpacking.
	 */ 
	static advice unpackCrosscut() {
	    after {  
		bruise( 40 );
	    }
	    before {
		bruise( 10 );
	    }
    }
}