|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.powermock.reflect.internal.matcherstrategies.FieldMatcherStrategy
org.powermock.reflect.internal.matcherstrategies.FieldTypeMatcherStrategy
org.powermock.reflect.internal.matcherstrategies.AssignableToFieldTypeMatcherStrategy
public class AssignableToFieldTypeMatcherStrategy
| Constructor Summary | |
|---|---|
AssignableToFieldTypeMatcherStrategy(java.lang.Class<?> fieldType)
|
|
| Method Summary | |
|---|---|
boolean |
matches(java.lang.reflect.Field field)
A field matcher that checks if a field matches a given criteria. |
| Methods inherited from class org.powermock.reflect.internal.matcherstrategies.FieldTypeMatcherStrategy |
|---|
notFound, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AssignableToFieldTypeMatcherStrategy(java.lang.Class<?> fieldType)
| Method Detail |
|---|
public boolean matches(java.lang.reflect.Field field)
FieldMatcherStrategy
matches in class FieldTypeMatcherStrategyfield - The field to check whether it matches the strategy or not.
true if this field matches the strategy,
false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||