KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > CallerSideTestHelper


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 JavaDoc invokeMemberMethodAround() {
25         return "invokeMemberMethodAround";
26     }
27
28     public String JavaDoc invokeMemberMethodAround(String JavaDoc a, String JavaDoc b) {
29         return "invokeMemberMethodAround";
30     }
31
32     public String JavaDoc invokeMemberMethodAround(String JavaDoc a, String JavaDoc b, String JavaDoc c) {
33         return "invokeMemberMethodAround";
34     }
35
36     public String JavaDoc 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 JavaDoc invokeMemberMethodPre() {
53         return "invokeMemberMethodPre";
54     }
55
56     public String JavaDoc invokeMemberMethodPost() {
57         return "invokeMemberMethodPost";
58     }
59
60     public String JavaDoc invokeMemberMethodPrePost() {
61         return "invokeMemberMethodPrePost";
62     }
63
64     public static String JavaDoc invokeStaticMethodPre() {
65         return "invokeStaticMethodPre";
66     }
67
68     public static String JavaDoc invokeStaticMethodPost() {
69         return "invokeStaticMethodPost";
70     }
71
72     public static String JavaDoc invokeStaticMethodPrePost() {
73         return "invokeStaticMethodPrePost";
74     }
75 }
Popular Tags