summaryrefslogtreecommitdiffstats
path: root/tests/ajdoc/input/applesJava/TransportAspect.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ajdoc/input/applesJava/TransportAspect.java')
-rw-r--r--tests/ajdoc/input/applesJava/TransportAspect.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/ajdoc/input/applesJava/TransportAspect.java b/tests/ajdoc/input/applesJava/TransportAspect.java
new file mode 100644
index 000000000..b9256998f
--- /dev/null
+++ b/tests/ajdoc/input/applesJava/TransportAspect.java
@@ -0,0 +1,24 @@
+
+/**
+ * This aspect crosscuts the process of shipping apples.
+ *
+ * @author Mik Kersten
+ * @version $Version$
+ */
+
+public class TransportAspect
+{
+ private String crateName = "temp crate";
+
+ /**
+ * Bruises each apple in the crate according to the bruise facor. The bruise
+ * factor is an integer that is passed as a parameter.
+ */
+ private void bruiser( int bruiseFactor )
+ {
+ for ( int i = 0; i < 5; i++ )
+ {
+ System.out.println( "bruising" );
+ }
+ }
+}