*/
public static Map<String, Object> getProperties(Predicate predicate) {
if (predicate == null) {
return Collections.emptyMap();
}
PropertyPredicateVisitor visitor = new PropertyPredicateVisitor();
visit(predicate, visitor);
return visitor.getProperties();
}