1 package test2; 2 3 class ReplaceClassName2 { 4 } 5 6 class ReplaceClassName3 { 7 } 8 9 public class ReplaceClassName { 10 ReplaceClassName2 field; ReplaceClassName(ReplaceClassName2 a)11 public ReplaceClassName(ReplaceClassName2 a) { 12 field = a; 13 } 14 foo(ReplaceClassName2 a)15 public void foo(ReplaceClassName2 a) { 16 field = a; 17 } 18 } 19