summaryrefslogtreecommitdiffstats
path: root/ajde/testdata/examples/plainJava/apples/TransportAspect.java
blob: 0649986a64c0ad772926e1e9fb6c6ae43d2fd73d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package apples;

/**
 * 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" );
        }
    }
}