View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.annotation.missingoverride;
2   
3   import java.io.Serializable;
4   
5   public class InputMissingOverrideBadOverrideFromOther implements IFoo2
6   {
7       /**
8        * {@inheritDoc}
9        */
10      public void doFoo() { }
11  
12      public void doFoo2() { }
13  
14  }
15  
16  interface IFoo2 {
17  
18      void doFoo();
19  }
20  
21  interface IBar2 extends IFoo2 {
22  
23      /**
24       * {@inheritDoc}
25       */
26      public void doFoo();
27  }
28  
29  class MoreJunk2 extends InputMissingOverrideBadOverrideFromOther {
30  
31      /**
32       * {@inheritDoc}
33       */
34      public void doFoo() {
35      }
36  
37      /**
38       * {@inheritDoc}
39       */
40      public void doFoo2() { }
41  
42      class EvenMoreJunk extends MoreJunk2 implements Serializable {
43  
44          /**
45           * {@inheritDoc}
46           */
47          public void doFoo() {
48          }
49  
50          /**
51           * {@inheritDoc}
52           */
53          public void doFoo2() { }
54      }
55  }
56  
57  enum Football2 implements IFoo2, IBar2 {
58      Detroit_Lions;
59  
60      /**
61       * {@inheritDoc}
62       */
63      public void doFoo()
64      {
65  
66      }
67  }