1   /***************************************************************************************
2    * Copyright (c) Jonas Bonér, Alexandre Vasseur. All rights reserved.                 *
3    * http://aspectwerkz.codehaus.org                                                    *
4    * ---------------------------------------------------------------------------------- *
5    * The software in this package is published under the terms of the LGPL license      *
6    * a copy of which has been included with this distribution in the license.txt file.  *
7    **************************************************************************************/
8   package test;
9   
10  /***
11   * @author <a href="mailto:jboner@codehaus.org">Jonas Bonér </a>
12   */
13  public class CallerSideTestHelper {
14      public CallerSideTestHelper() {
15      }
16  
17      public CallerSideTestHelper(int i) {
18      }
19  
20      public void passingParameterToAdviceMethod() {
21      }
22  
23      public String invokeMemberMethodAround() {
24          return "invokeMemberMethodAround";
25      }
26  
27      public String invokeMemberMethodAround(String a, String b) {
28          return "invokeMemberMethodAround";
29      }
30  
31      public String invokeMemberMethodAround(String a, String b, String c) {
32          return "invokeMemberMethodAround";
33      }
34  
35      public String invokeStaticMethodAround() {
36          return "invokeMemberMethodAround";
37      }
38  
39      public int invokeMemberMethodAroundPrimitiveType() {
40          return 2;
41      }
42  
43      public int invokeStaticMethodAroundPrimitiveType() {
44          return 3;
45      }
46  
47      public void invokeMemberMethodAroundVoidType() {
48          return;
49      }
50  
51      public String invokeMemberMethodPre() {
52          return "invokeMemberMethodPre";
53      }
54  
55      public String invokeMemberMethodPost() {
56          return "invokeMemberMethodPost";
57      }
58  
59      public String invokeMemberMethodPrePost() {
60          return "invokeMemberMethodPrePost";
61      }
62  
63      public static String invokeStaticMethodPre() {
64          return "invokeStaticMethodPre";
65      }
66  
67      public static String invokeStaticMethodPost() {
68          return "invokeStaticMethodPost";
69      }
70  
71      public static String invokeStaticMethodPrePost() {
72          return "invokeStaticMethodPrePost";
73      }
74  }