equal
deleted
inserted
replaced
25 * The first version of this class. The second version is in |
25 * The first version of this class. The second version is in |
26 * RedefineMethodWithAnnotationsTarget_2.java. |
26 * RedefineMethodWithAnnotationsTarget_2.java. |
27 */ |
27 */ |
28 public class RedefineMethodWithAnnotationsTarget { |
28 public class RedefineMethodWithAnnotationsTarget { |
29 public void annotatedMethod(@ParameterAnnotation( |
29 public void annotatedMethod(@ParameterAnnotation( |
30 value = ParameterAnnotation.STRING_VALUE_1) String parameter) { } |
30 value = ParameterAnnotation.STRING_VALUE_1) String parameter) { |
|
31 System.out.println("First version of annotatedMethod(String)"); |
|
32 System.out.println("parameter is " + parameter); |
|
33 } |
31 public void annotatedMethod(@ParameterAnnotation( |
34 public void annotatedMethod(@ParameterAnnotation( |
32 value = ParameterAnnotation.INT_VALUE_1) int parameter) { } |
35 value = ParameterAnnotation.INT_VALUE_1) int parameter) { |
|
36 System.out.println("First version of annotatedMethod(int)"); |
|
37 System.out.println("parameter is " + parameter); |
|
38 } |
33 } |
39 } |