View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.modifier.redundantmodifier;
2   
3   public class InputRedundantModifierFinalInAnonymousClass {
4       public static abstract class Example {
5           public abstract void innerTest();
6   
7           public final void test() {
8           }
9       }
10  
11      public static void test() {
12          new Example() {
13              @Override
14              public final void innerTest() { // violation
15              }
16          };
17      }
18  }