Package | Description |
---|---|
org.powermock.reflect.internal | |
org.powermock.reflect.internal.matcherstrategies |
Modifier and Type | Method and Description |
---|---|
private static java.util.Set<java.lang.reflect.Field> |
WhiteboxImpl.findAllFieldsUsingStrategy(FieldMatcherStrategy strategy,
java.lang.Object object,
boolean checkHierarchy,
java.lang.Class<?> startClass)
Find all fields using strategy.
|
private static java.lang.reflect.Field |
WhiteboxImpl.findField(java.lang.Object object,
FieldMatcherStrategy strategy,
java.lang.Class<?> where)
Find field.
|
private static java.lang.reflect.Field |
WhiteboxImpl.findFieldInHierarchy(java.lang.Object object,
FieldMatcherStrategy strategy)
Find field in hierarchy.
|
private static java.lang.reflect.Field |
WhiteboxImpl.findSingleFieldUsingStrategy(FieldMatcherStrategy strategy,
java.lang.Object object,
boolean checkHierarchy,
java.lang.Class<?> startClass)
Find single field using strategy.
|
Modifier and Type | Class and Description |
---|---|
class |
AllFieldsMatcherStrategy |
class |
AssignableFromFieldTypeMatcherStrategy |
class |
AssignableToFieldTypeMatcherStrategy |
class |
FieldAnnotationMatcherStrategy |
class |
FieldNameMatcherStrategy |
class |
FieldTypeMatcherStrategy |