1 package com.puppycrawl.tools.checkstyle.bcel.checks; 2 3 public class SuperClass 4 { 5 protected int reusedName; 7 protected int subClassPrivate; 9 private int superClassPrivate; 11 protected String differentType; 13 14 public static int staticMethod() { 16 return 0; 17 } 18 public int nonStaticMethod() { 20 return 0; 21 } 22 public static int staticMethodSameParamName(int i) { 24 return 0; 25 } 26 public static int staticMethodSameParamType(int i) { 28 return 0; 29 } 30 public static int staticMethodDifferentParamNum(int i, int j) { 32 return 0; 33 } 34 public static int staticMethodDifferentParamType(int i) { 36 return 0; 37 } 38 public static int staticMethodDifferentObjectType(Integer i) { 40 return 0; 41 } 42 public static int staticMethodSuperParamType(Object i) { 44 return 0; 45 } 46 } 47 | Popular Tags |