| Total Complexity | 3 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Coverage | 75% |
| Changes | 0 | ||
| 1 | package io.github.ro4.annotation; |
||
| 7 | 1 | public class CheckableMethodMatcher implements MethodMatcher { |
|
| 8 | |||
| 9 | @Override |
||
| 10 | public boolean matches(Method method, Class<?> targetClass) { |
||
| 11 | 1 | return method.isAnnotationPresent(Checkable.class); |
|
| 12 | } |
||
| 13 | |||
| 14 | @Override |
||
| 15 | public boolean isRuntime() { |
||
| 16 | 1 | return false; |
|
| 17 | } |
||
| 18 | |||
| 19 | @Override |
||
| 20 | public boolean matches(Method method, Class<?> targetClass, Object... args) { |
||
| 21 | return matches(method, targetClass); |
||
| 22 | } |
||
| 23 | } |