View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.naming.methodname;
2   
3   public class InputMethodNameOverriddenMethods extends SomeClass
4   {
5       @Override
6       public void PUBLICfoo() { //Ignored due to impossibility of change by developer
7           
8       }
9       
10      @java.lang.Override
11      protected void PROTECTEDfoo() { //Ignored due to impossibility of change by developer
12          
13      }
14  }
15  
16  class SomeClass {
17      public void PUBLICfoo() { //Warning (broken naming convention)
18          
19      }
20      protected void PROTECTEDfoo() { //Warning (broken naming convention)
21          
22      }
23  }