Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
ConvertClassToReflectedTypeMatcher |
|
| 1.0;1 |
1 | 0 | package com.lexicalscope.fluentreflection; |
2 | ||
3 | import static com.lexicalscope.fluentreflection.ReflectionMatchers.reflectingOn; | |
4 | ||
5 | import org.hamcrest.Matcher; | |
6 | ||
7 | import ch.lambdaj.function.convert.Converter; | |
8 | ||
9 | 8 | class ConvertClassToReflectedTypeMatcher implements Converter<Class<?>, Matcher<FluentClass<?>>> { |
10 | @Override | |
11 | public Matcher<FluentClass<?>> convert(final Class<?> from) { | |
12 | 8 | return reflectingOn(from); |
13 | } | |
14 | } |