KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > expression > Target


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.expression;
9
10 /**
11  * @author <a HREF="mailto:jboner@codehaus.org">Jonas BonŽr </a>
12  * @Serializable
13  */

14 public final class Target {
15     public static int modifier2 = 0;
16
17     transient static final protected int modifier3 = 0;
18
19     // ============ field modifier test =============
20
int modifier1 = 0;
21
22     // ============ field type test =============
23
int type1;
24
25     int[][] type2;
26
27     String JavaDoc type3;
28
29     String JavaDoc[] type4;
30
31     // ============ field name test =============
32
int __field$Name1;
33
34     // ============ field attribute test =============
35

36     /**
37      * @ReadOnly
38      */

39     int attribute1;
40
41     // ============ method modifiers test =============
42
void modifiers1() {
43     }
44
45     public static void modifiers2() {
46     }
47
48     protected native static final synchronized void modifiers3();
49
50     private void modifiers4() {
51     }
52
53     // ============ method parameters test =============
54
void parameters1() {
55     }
56
57     void parameters2(int i, float f, byte b) {
58     }
59
60     void parameters2bis(int i, short s, byte b, int ibis, float fbis, byte bbis) {
61     }
62
63     void parameters3(String JavaDoc s, java.lang.StringBuffer JavaDoc sb, java.lang.String JavaDoc s2) {
64     }
65
66     void parameters4(Object JavaDoc[] o) {
67     }
68
69     void parameters5(int[][] i) {
70     }
71
72     // ============ method return type test =============
73
void returnType1() {
74     }
75
76     int returnType2() {
77         return -1;
78     }
79
80     String JavaDoc returnType3() {
81         return "test";
82     }
83
84     java.lang.Process JavaDoc returnType4() {
85         return null;
86     }
87
88     float[][] returnType5() {
89         return null;
90     }
91
92     // ============ method name test =============
93
void __method$Name1() {
94     }
95
96     // ============ method attribute test =============
97

98     /**
99      * @Requires
100      */

101     public void attributes1() {
102     }
103
104     /**
105      * @Requires
106      */

107     public Target() {
108
109     }
110
111     // ============ ctor test =============
112
private Target(int i) {
113
114     }
115
116
117 }
Popular Tags