| Modifier and Type | Field and Description |
|---|---|
| private final RecursiveAssertionConfiguration | |
| private final List | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private final Set |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| public List | |
| private void | assertRecursively(Predicate<Object> predicate, Object node, Class<?> nodeType, FieldLocation fieldLocation)
|
| private void | doRecursionForSpecialTypes(Predicate<Object> predicate, Object node, Class<?> nodeType, FieldLocation fieldLocation)
|
| private void | |
| private void | evaluateFieldsOfCurrentNodeRecursively(Predicate<Object> predicate, Object node, FieldLocation fieldLocation)
|
| private static String | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private void | recurseIntoArray(Predicate<Object> predicate, Object node, Class<?> nodeType, FieldLocation fieldLocation)
|
| private void | recurseIntoCollection(Predicate<Object> predicate, Collection<?> collection, FieldLocation fieldLocation)
|
| private void | recurseIntoFieldsOfCurrentNode(Predicate<Object> predicate, Object node, Class<?> nodeType, FieldLocation fieldLocation)
|
| private void | |
| private void | recurseIntoMapElement(Predicate<Object> predicate, FieldLocation fieldLocation, Object nextNode, String msgFormat)
|
| private void | |
| private void | recurseIntoMapValues(Predicate<Object> predicate, Map<?, ?> currentNode, FieldLocation fieldLocation)
|
| private void | |
| public void | |
| private static Class | |
| private boolean | |
| private boolean | |
| private boolean |
| configuration | back to summary |
|---|---|
| private final RecursiveAssertionConfiguration configuration | |
| fieldsFailingTheAssertion | back to summary |
|---|---|
| private final List<FieldLocation> fieldsFailingTheAssertion | |
| INDEX_FORMAT | back to summary |
|---|---|
| private static final String INDEX_FORMAT | |
| KEY_FORMAT | back to summary |
|---|---|
| private static final String KEY_FORMAT | |
| NULL | back to summary |
|---|---|
| private static final String NULL | |
| VALUE_FORMAT | back to summary |
|---|---|
| private static final String VALUE_FORMAT | |
| visitedNodeIds | back to summary |
|---|---|
| private final Set<String> visitedNodeIds | |
| RecursiveAssertionDriver | back to summary |
|---|---|
| public RecursiveAssertionDriver(RecursiveAssertionConfiguration configuration) | |
| assertionFails | back to summary |
|---|---|
| private boolean assertionFails(Predicate<Object> predicate, Object node) | |
| assertOverObjectGraph | back to summary |
|---|---|
| public List | |
| assertRecursively | back to summary |
|---|---|
| private void assertRecursively(Predicate<Object> predicate, Object node, Class<?> nodeType, FieldLocation fieldLocation) | |
| doRecursionForSpecialTypes | back to summary |
|---|---|
| private void doRecursionForSpecialTypes(Predicate<Object> predicate, Object node, Class<?> nodeType, FieldLocation fieldLocation) | |
| evaluateAssertion | back to summary |
|---|---|
| private void evaluateAssertion(Predicate<Object> predicate, Object node, FieldLocation fieldLocation) | |
| evaluateFieldsOfCurrentNodeRecursively | back to summary |
|---|---|
| private void evaluateFieldsOfCurrentNodeRecursively(Predicate<Object> predicate, Object node, FieldLocation fieldLocation) | |
| identityToString | back to summary |
|---|---|
| private static String identityToString(final Object object) | |
| isArray | back to summary |
|---|---|
| private boolean isArray(Class<?> nodeType) | |
| isCollection | back to summary |
|---|---|
| private boolean isCollection(Class<?> nodeType) | |
| isContainer | back to summary |
|---|---|
| private boolean isContainer(Class<?> nodeType) | |
| isMap | back to summary |
|---|---|
| private boolean isMap(Class<?> nodeType) | |
| isNullWhichAreIgnored | back to summary |
|---|---|
| private boolean isNullWhichAreIgnored(Object node) | |
| isPrimitiveWhichAreIgnored | back to summary |
|---|---|
| private boolean isPrimitiveWhichAreIgnored(Class<?> nodeType) | |
| isRootObject | back to summary |
|---|---|
| private boolean isRootObject(FieldLocation fieldLocation) | |
| isTypeRequiringSpecificHandling | back to summary |
|---|---|
| private boolean isTypeRequiringSpecificHandling(Class<?> nodeType) | |
| markNodeAsVisited | back to summary |
|---|---|
| private boolean markNodeAsVisited(Object node) | |
| nodeIsJavaTypeToIgnore | back to summary |
|---|---|
| private boolean nodeIsJavaTypeToIgnore(Object node) | |
| nodeMustBeIgnored | back to summary |
|---|---|
| private boolean nodeMustBeIgnored(Object node, Class<?> nodeType, FieldLocation fieldLocation) | |
| recurseIntoArray | back to summary |
|---|---|
| private void recurseIntoArray(Predicate<Object> predicate, Object node, Class<?> nodeType, FieldLocation fieldLocation) | |
| recurseIntoCollection | back to summary |
|---|---|
| private void recurseIntoCollection(Predicate<Object> predicate, Collection<?> collection, FieldLocation fieldLocation) | |
| recurseIntoFieldsOfCurrentNode | back to summary |
|---|---|
| private void recurseIntoFieldsOfCurrentNode(Predicate<Object> predicate, Object node, Class<?> nodeType, FieldLocation fieldLocation) | |
| recurseIntoMap | back to summary |
|---|---|
| private void recurseIntoMap(Predicate<Object> predicate, Map<?, ?> node, FieldLocation fieldLocation) | |
| recurseIntoMapElement | back to summary |
|---|---|
| private void recurseIntoMapElement(Predicate<Object> predicate, FieldLocation fieldLocation, Object nextNode, String msgFormat) | |
| recurseIntoMapKeys | back to summary |
|---|---|
| private void recurseIntoMapKeys(Predicate<Object> predicate, Map<?, ?> currentNode, FieldLocation fieldLocation) | |
| recurseIntoMapValues | back to summary |
|---|---|
| private void recurseIntoMapValues(Predicate<Object> predicate, Map<?, ?> currentNode, FieldLocation fieldLocation) | |
| recurseIntoOptional | back to summary |
|---|---|
| private void recurseIntoOptional(Predicate<Object> predicate, Object node, FieldLocation fieldLocation) | |
| reset | back to summary |
|---|---|
| public void reset() | |
| safeGetClass | back to summary |
|---|---|
| private static Class | |
| shouldEvaluateAssertion | back to summary |
|---|---|
| private boolean shouldEvaluateAssertion(Class<?> nodeType) | |
| shouldRecurseIntoNode | back to summary |
|---|---|
| private boolean shouldRecurseIntoNode(Object node) | |
| shouldRecurseOverSpecialTypes | back to summary |
|---|---|
| private boolean shouldRecurseOverSpecialTypes(Class<?> nodeType) | |