@Override public boolean matches(Object o) { this.value = retrieveValueByPath(contentProvider, o, path); if (this.value instanceof List) { List list = (List) this.value; return matchObjectInArray(list.toArray()); } else if (this.value instanceof Object[]) { return matchObjectInArray((Object[]) this.value); } else { return false; } }