View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.design.designforextension;
2   
3   import java.util.List;
4   
5   import org.junit.Ignore;
6   import org.junit.Test;
7   
8   public class InputDesignForExtensionMultipleAnnotations {
9   
10      @Ignore
11      @Deprecated
12      public void foo1() {
13          foo3();
14      }
15  
16      @Deprecated
17      @Ignore
18      public void foo2() {
19          foo3();
20      }
21  
22      @Ignore
23      // comment
24      @Deprecated
25      public void foo4() {
26          foo3();
27      }
28  
29      @Deprecated
30      // comment
31      @Ignore
32      public void foo5() {
33          foo3();
34      }
35  
36  
37      @Ignore
38      /**
39       * comment
40       */
41      @Deprecated
42      public void foo6() {
43          foo3();
44      }
45  
46      @Deprecated
47      /**
48       * comment
49       */
50      @Ignore
51      public void foo7() {
52          foo3();
53      }
54  
55      @Ignore
56      /* comment */
57      @Deprecated
58      public void foo8() {
59          foo3();
60      }
61  
62      @Deprecated
63      /* comment */
64      @Ignore
65      public void foo9() {
66          foo3();
67      }
68  
69      /* comment */
70      @Ignore
71      @Deprecated
72      public void foo10() {
73          foo3();
74      }
75  
76      /* comment */
77      @Deprecated
78      @Ignore
79      public void foo11() {
80          foo3();
81      }
82  
83      private void foo3() {}
84  }