1
2
3
4
5
6
7
8
9
10
11
12
13
14 package com.puppycrawl.tools.checkstyle.checks.naming.abbreviationaswordinname;
15
16 import org.junit.Before;
17
18 abstract class InputAbbreviationAsWordInNameOverridableMethod extends Class1 {
19 public int serialNUMBER = 6;
20 public final int s1erialNUMBER = 6;
21 private static int s2erialNUMBER = 6;
22 private static final int s3erialNUMBER = 6;
23
24 @Override
25 @SuppressWarnings(value = { "" })
26 @Before
27 protected void oveRRRRRrriddenMethod(){
28 int a = 0;
29
30 }
31 }
32
33 class Class1 {
34 @SuppressWarnings(value = { "" })
35 protected void oveRRRRRrriddenMethod(){
36 int a = 0;
37
38 }
39
40 }
41
42 class Class2 extends Class1 {
43
44 @Override
45 @SuppressWarnings(value = { "" })
46 @Before
47 protected void oveRRRRRrriddenMethod(){
48 int a = 0;
49
50 }
51
52 }