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
15 public CallerSideTestHelper() {
16 }
17
18 public CallerSideTestHelper(int i) {
19 }
20
21 public void passingParameterToAdviceMethod() {
22 }
23
24 public String invokeMemberMethodAround() {
25 return "invokeMemberMethodAround";
26 }
27
28 public String invokeMemberMethodAround(String a, String b) {
29 return "invokeMemberMethodAround";
30 }
31
32 public String invokeMemberMethodAround(String a, String b, String c) {
33 return "invokeMemberMethodAround";
34 }
35
36 public String invokeStaticMethodAround() {
37 return "invokeMemberMethodAround";
38 }
39
40 public int invokeMemberMethodAroundPrimitiveType() {
41 return 2;
42 }
43
44 public int invokeStaticMethodAroundPrimitiveType() {
45 return 3;
46 }
47
48 public void invokeMemberMethodAroundVoidType() {
49 return;
50 }
51
52 public String invokeMemberMethodPre() {
53 return "invokeMemberMethodPre";
54 }
55
56 public String invokeMemberMethodPost() {
57 return "invokeMemberMethodPost";
58 }
59
60 public String invokeMemberMethodPrePost() {
61 return "invokeMemberMethodPrePost";
62 }
63
64 public static String invokeStaticMethodPre() {
65 return "invokeStaticMethodPre";
66 }
67
68 public static String invokeStaticMethodPost() {
69 return "invokeStaticMethodPost";
70 }
71
72 public static String invokeStaticMethodPrePost() {
73 return "invokeStaticMethodPrePost";
74 }
75 }