KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > sourceutils > TestIsDeprecated2


1 package sourceutils;
2
3 public class TestIsDeprecated2 {
4
5     /** @deprecated **/
6     public void methodDeprecated() {
7     }
8
9     public void methodNotDeprecated() {
10     }
11     
12     /** @deprecated **/
13     private int fieldDeprecated;
14
15     private int fieldNotDeprecated;
16     
17     /** @deprecated **/
18     public static class classDeprecated {
19     }
20
21     public static class classNotDeprecated {
22     }
23     
24 }
25
Popular Tags