View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.annotation.missingdeprecated;
2   
3   /**
4    * @deprecated bleh
5    * @deprecated boo
6    */
7   @Deprecated
8   public class InputMissingDeprecatedSpecialCase
9   {
10      /**
11       * @deprecated bleh
12       * @deprecated boo
13       */
14      public int i;
15  
16      /**
17       * @deprecated
18       */
19      public void foo() {
20  
21      }
22  
23      /**
24       * @deprecated
25       */
26      @Deprecated
27      public void foo2() {
28  
29      }
30  
31      /**
32       * @deprecated
33       * @deprecated
34       */
35      @Deprecated
36      public void foo3() {
37  
38      }
39      
40      /**
41       * @deprecated bleh
42       * @deprecated
43       */
44      @Deprecated
45      public void foo4() {
46  
47      }
48      
49      /**
50       * @deprecated
51       * @deprecated bleh
52       */
53      @Deprecated
54      public void foo5() {
55  
56      }
57      
58      void local(@Deprecated String s) {
59  
60      }
61  
62      void local2(
63          /** @deprecated bleh*/
64          String s) {
65  
66      }
67  
68      void local3(/** @deprecated */ @Deprecated String s) {
69  
70      }
71      
72      /**
73       * @Deprecated
74       */
75      void dontUse() {
76          
77      }
78      
79      /**
80       * @Deprecated
81       * @deprecated
82       *  because I said.
83       */
84      @Deprecated
85      void dontUse2() {
86          
87      }
88  }