File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
org.springframework.core/src/test/java/org/springframework/core/annotation Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 19
19
import static org .junit .Assert .*;
20
20
import static org .springframework .core .annotation .AnnotationUtils .*;
21
21
22
+ import java .io .Serializable ;
23
+ import java .lang .annotation .ElementType ;
22
24
import java .lang .annotation .Inherited ;
23
25
import java .lang .annotation .Retention ;
24
26
import java .lang .annotation .RetentionPolicy ;
27
+ import java .lang .annotation .Target ;
25
28
import java .lang .reflect .Method ;
29
+ import java .util .List ;
26
30
27
31
import org .junit .Test ;
28
32
import org .springframework .core .Ordered ;
33
+ import org .springframework .core .annotation .AnnotationUtils .ParameterAnnotation ;
29
34
30
35
/**
31
36
* @author Rod Johnson
@@ -364,7 +369,8 @@ public static interface InterfaceWithAnnotatedMethodParameters {
364
369
365
370
void foo (String foo , @ MyAnnotation ("foo" ) Long bar );
366
371
367
- void bar (@ MyAnnotation ("first" ) String first , String second , @ MyAnnotation ("third" ) Serializable third );
372
+ void bar (@ MyAnnotation ("first" ) String first , String second ,
373
+ @ Transactional @ MyAnnotation ("third" ) Serializable third );
368
374
}
369
375
}
370
376
You can’t perform that action at this time.
0 commit comments