KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > commons > attributes > test > SuperSample


1 /*
2  * Copyright 2003-2004 The Apache Software Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.apache.commons.attributes.test;
17
18 /**
19  * @@Dependency ( SampleService.class, "super-sample" )
20  */

21 public class SuperSample {
22     
23     /**
24      * @@ThreadSafe ()
25      * @@Dependency ( SampleService.class, "super-field" )
26      */

27     public Object JavaDoc field;
28     
29     /**
30      * @@Dependency ( SampleService.class, "super-noattrs" )
31      */

32     public Object JavaDoc noAttributesInSubClass;
33     
34     /**
35      * @@Dependency ( SampleService.class, "sample-ctor1" )
36      */

37     public SuperSample () {
38         
39     }
40     
41     /**
42      * @@Dependency ( SampleService.class, "sample-ctor2" )
43      * @@.array ThreadSafe()
44      */

45     public SuperSample (String JavaDoc input, String JavaDoc[][] array) {
46         
47     }
48     
49     /**
50      * @@Dependency ( SampleService.class, "super-some-method-sample" )
51      * @@ThreadSafe ()
52      */

53     public void someMethod (int parameter) {
54         
55     }
56     
57     /**
58      * @@Dependency ( SampleService.class, "super-privateMethod" )
59      */

60     private void privateMethod () {
61         
62     }
63     
64 }
Popular Tags