1
2
3
4
5
6
7
8
9 package com.puppycrawl.tools.checkstyle.checks.modifier.redundantmodifier;
10
11 public abstract class InputRedundantModifierFinalInAbstractMethods {
12 public abstract void method(final String param);
13
14 public abstract void method2(String param);
15
16 public abstract void method3(String param1, final String param2);
17 }
18 interface IWhatever {
19 void method(final String param);
20
21 void method2(String param);
22 }
23 class CWhatever {
24 native void method(final String param);
25
26 native void method2(String param);
27 }
28 enum EWhatever {
29 TEST() {
30 public void method(String s) {};
31 };
32
33 public abstract void method(final String s);
34 }