View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.modifier.redundantmodifier;
2   
3   public class InputRedundantModifierFinalInEnumStaticMethods {
4       public enum TestEnum {
5           VALUE {
6              @Override public void someMethodToOverride() {
7                   // do it differently
8               }
9            };
10  
11          public void someMethodToOverride() { }
12          public static final void someStaticMethod() { }    //violation
13          public static void someMethod() { }
14      }
15  }
16