01: package method;
02:
03: public class RenameMethodTest {
04:
05: public RenameMethodTest() {
06: }
07:
08: public RenameMethodTest(int x) {
09: code();
10: code(x);
11: height();
12: height(x);
13: }
14:
15: public void withinMethod(int x) {
16: code();
17: code(x);
18: height();
19: height(x);
20: }
21:
22: public int code() {
23: }
24:
25: public int code(int x) {
26: }
27:
28: public static int height() {
29: }
30:
31: public static void height(int x) {
32: }
33:
34: protected void protectedMethod(int x) {
35: }
36:
37: void packageProtectedMethod(int x) {
38: }
39:
40: private void privateMethod(int x) {
41: }
42:
43: }
|