KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > test > aop > annotationc > BytecodePOJO


1 /*
2   * JBoss, Home of Professional Open Source
3   * Copyright 2005, JBoss Inc., and individual contributors as indicated
4   * by the @authors tag. See the copyright.txt in the distribution for a
5   * full listing of individual contributors.
6   *
7   * This is free software; you can redistribute it and/or modify it
8   * under the terms of the GNU Lesser General Public License as
9   * published by the Free Software Foundation; either version 2.1 of
10   * the License, or (at your option) any later version.
11   *
12   * This software is distributed in the hope that it will be useful,
13   * but WITHOUT ANY WARRANTY; without even the implied warranty of
14   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15   * Lesser General Public License for more details.
16   *
17   * You should have received a copy of the GNU Lesser General Public
18   * License along with this software; if not, write to the Free
19   * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20   * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21   */

22 package org.jboss.test.aop.annotationc;
23
24 /**
25  * Comment
26  *
27  * @author <a HREF="mailto:bill@jboss.org">Bill Burke</a>
28  * @version $Revision: 37824 $
29  * @@org.jboss.test.aop.annotationc.empty
30  * @@org.jboss.test.aop.annotationc.single ("hello world")
31  * @@org.jboss.test.aop.annotationc.complex (ch='a', string="hello world", flt=5.5, dbl=6.6, shrt=5, lng=6, integer=7, bool=true, annotation=@org.jboss.test.aop.annotationc.single("hello"), array={"hello", "world"}, clazz=java.lang.String, enumVal=org.jboss.test.aop.annotationc.MyEnum.ONE)
32  */

33 public class BytecodePOJO
34 {
35    /**
36     * @@org.jboss.test.aop.annotationc.empty
37     * @@org.jboss.test.aop.annotationc.single ("hello world")
38     * @@org.jboss.test.aop.annotationc.complex (ch='a', string="hello world", flt=5.5, dbl=6.6, shrt=5, lng=6, integer=7, bool=true, annotation=@org.jboss.test.aop.annotationc.single("hello"), array={"hello", "world"}, clazz=java.lang.String, enumVal=org.jboss.test.aop.annotationc.MyEnum.TWO)
39     */

40    public BytecodePOJO()
41    {
42    }
43
44    /**
45     * @@org.jboss.test.aop.annotationc.empty
46     * @@org.jboss.test.aop.annotationc.single ("hello world")
47     * @@org.jboss.test.aop.annotationc.complex (ch='a', string="hello world", flt=5.5, dbl=6.6, shrt=5, lng=6, integer=7, bool=true, annotation=@org.jboss.test.aop.annotationc.single("hello"), array={"hello", "world"}, clazz=java.lang.String, enumVal=org.jboss.test.aop.annotationc.MyEnum.ONE)
48     */

49    public int field;
50
51    /**
52     * @@org.jboss.test.aop.annotationc.empty
53     * @@org.jboss.test.aop.annotationc.single ("hello world")
54     * @@org.jboss.test.aop.annotationc.complex (ch='a', string="hello world", flt=5.5, dbl=6.6, shrt=5, lng=6, integer=7, bool=true, annotation=@org.jboss.test.aop.annotationc.single("hello"), array={"hello", "world"}, clazz=java.lang.String, enumVal=org.jboss.test.aop.annotationc.MyEnum.TWO)
55     */

56    public void method()
57    {
58    }
59
60    /**
61     * @@org.jboss.test.aop.annotationc.ClassAnnotation (void.class)
62     */

63    public void someVoid()
64    {
65    }
66
67    /**
68     * @@org.jboss.test.aop.annotationc.ClassAnnotation (int.class)
69     */

70    public void someInt()
71    {
72    }
73
74    /**
75     * @@org.jboss.test.aop.annotationc.ClassAnnotation (short.class)
76     */

77    public void someShort()
78    {
79    }
80
81    /**
82     * @@org.jboss.test.aop.annotationc.ClassAnnotation (long.class)
83     */

84    public void someLong()
85    {
86    }
87
88    /**
89     * @@org.jboss.test.aop.annotationc.ClassAnnotation (double.class)
90     */

91    public void someDouble()
92    {
93    }
94
95    /**
96     * @@org.jboss.test.aop.annotationc.ClassAnnotation (float)
97     */

98    public void someFloat()
99    {
100    }
101
102    /**
103     * @@org.jboss.test.aop.annotationc.ClassAnnotation (char)
104     */

105    public void someChar()
106    {
107    }
108
109    /**
110     * @@org.jboss.test.aop.annotationc.ClassAnnotation (boolean)
111     */

112    public void someBoolean()
113    {
114    }
115    
116    /**
117     * @@org.jboss.test.aop.annotationc.empty
118     * @@org.jboss.test.aop.annotationc.single ("inner")
119     */

120    public class InnerClass
121    {
122       /**
123        * @@org.jboss.test.aop.annotationc.empty
124        * @@org.jboss.test.aop.annotationc.single ("inner ctor")
125        */

126       public InnerClass()
127       {
128          
129       }
130       
131       /**
132        * @@org.jboss.test.aop.annotationc.empty
133        * @@org.jboss.test.aop.annotationc.single ("inner ctor 2")
134        */

135       public InnerClass(int i)
136       {
137          
138       }
139
140       /**
141        * @@org.jboss.test.aop.annotationc.empty
142        * @@org.jboss.test.aop.annotationc.single ("inner method")
143        */

144       public void method(int i)
145       {
146          
147       }
148
149       /**
150        * @@org.jboss.test.aop.annotationc.empty
151        * @@org.jboss.test.aop.annotationc.single ("inner field")
152        */

153       int field;
154    }
155    
156    /**
157     * @@org.jboss.test.aop.annotationc.empty
158     * @@org.jboss.test.aop.annotationc.single ("static inner")
159     */

160    public static class StaticInnerClass
161    {
162       /**
163        * @@org.jboss.test.aop.annotationc.empty
164        * @@org.jboss.test.aop.annotationc.single ("static inner ctor")
165        */

166       public StaticInnerClass()
167       {
168          
169       }
170
171       /**
172        * @@org.jboss.test.aop.annotationc.empty
173        * @@org.jboss.test.aop.annotationc.single ("static inner ctor 2")
174        */

175       public StaticInnerClass(int i)
176       {
177          
178       }
179
180       /**
181        * @@org.jboss.test.aop.annotationc.empty
182        * @@org.jboss.test.aop.annotationc.single ("static inner method")
183        */

184       public void method(int i)
185       {
186          
187       }
188
189       /**
190        * @@org.jboss.test.aop.annotationc.empty
191        * @@org.jboss.test.aop.annotationc.single ("static inner field")
192        */

193       int field;
194    }
195    
196    public class NotAnnotated
197    {
198       
199    }
200 }
201
Popular Tags