| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
package org.kuali.rice.kns.util.spring; |
| 17 |
|
|
| 18 |
|
import java.lang.annotation.Annotation; |
| 19 |
|
|
| 20 |
|
import org.springframework.aop.ClassFilter; |
| 21 |
|
import org.springframework.aop.MethodMatcher; |
| 22 |
|
import org.springframework.aop.Pointcut; |
| 23 |
|
|
| 24 |
|
|
| 25 |
|
|
| 26 |
|
|
| 27 |
|
|
|
|
|
| 0% |
Uncovered Elements: 7 (7) |
Complexity: 3 |
Complexity Density: 0.75 |
|
| 28 |
|
public class ClassOrMethodAnnotationPointcut implements Pointcut { |
| 29 |
|
private final ClassFilter classFilter; |
| 30 |
|
private final MethodMatcher methodMatcher; |
| 31 |
|
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
| 32 |
0
|
public ClassOrMethodAnnotationPointcut(Class<? extends Annotation> annotationType) {... |
| 33 |
0
|
this.classFilter = new ClassOrMethodAnnotationFilter(annotationType); |
| 34 |
0
|
this.methodMatcher = new ClassOrMethodAnnotationMatcher(annotationType); |
| 35 |
|
} |
| 36 |
|
|
| 37 |
|
|
| 38 |
|
@see |
| 39 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 40 |
0
|
public ClassFilter getClassFilter() {... |
| 41 |
0
|
return classFilter; |
| 42 |
|
} |
| 43 |
|
|
| 44 |
|
|
| 45 |
|
@see |
| 46 |
|
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 47 |
0
|
public MethodMatcher getMethodMatcher() {... |
| 48 |
0
|
return methodMatcher; |
| 49 |
|
} |
| 50 |
|
|
| 51 |
|
} |