Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
MatcherIsStatic |
|
| 1.0;1 |
1 | 7652 | package com.lexicalscope.fluentreflection; |
2 | ||
3 | import org.hamcrest.Description; | |
4 | ||
5 | 1204 | final class MatcherIsStatic extends ReflectionMatcher<FluentMember> { |
6 | @Override | |
7 | protected boolean matchesSafely(final FluentMember item) { | |
8 | 7652 | return item.isStatic(); |
9 | } | |
10 | ||
11 | @Override | |
12 | public void describeTo(final Description description) { | |
13 | 0 | description.appendText("static element"); |
14 | 0 | } |
15 | } |