diff options
Diffstat (limited to 'tests/ajdoc/input/applesAspectJ/BigRigAspect.java')
-rw-r--r-- | tests/ajdoc/input/applesAspectJ/BigRigAspect.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/ajdoc/input/applesAspectJ/BigRigAspect.java b/tests/ajdoc/input/applesAspectJ/BigRigAspect.java new file mode 100644 index 000000000..32b1577be --- /dev/null +++ b/tests/ajdoc/input/applesAspectJ/BigRigAspect.java @@ -0,0 +1,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 ); + } + } +} |