public void evaluateJsonBranch(JsonBranch jsonBranch,
                                 JsonPathCache cache,
                                 CompletenessCounter completenessCounter,
                                 String address,
                                 Object jsonFragment) {
    List<T> values = cache.get(address, jsonBranch.getJsonPath(), jsonFragment);
    handleValues(completenessCounter, jsonBranch, values);
  }
public void evaluateJsonBranch ( JsonBranch jsonBranch , JsonPathCache cache , CompletenessCounter completenessCounter , String address , Object jsonFragment ) { List < T > values = cache . get ( address , jsonBranch . getJsonPath ( ) , jsonFragment ) ; handleValues ( completenessCounter , jsonBranch , values ) ; }
/*
private boolean isCollectionSkippable(
List<String> skippableIds,
JsonBranch collection,
int i,
JsonPathCache cache,
Object jsonFragment)
{
boolean skippable = false;
JsonBranch identifierPath = collection.getIdentifier();
if (!skippableIds.isEmpty() && identifierPath != null) {
String address = String.format("%s/%d/%s",
collection.getJsonPath(), i, identifierPath.getJsonPath());
List<T> values = cache.get(address, identifierPath.getJsonPath(), jsonFragment);
String id = (skippedEntryChecker != null)
? skippedEntryChecker.extractId(values.get(0))
: values.get(0).getValue();
skippable = skippableIds.contains(id);
}
return skippable;
}