code: public static Expression asEquals(List<String> properties) {
  		PredicateDefAnd predicate = PredicateDefAnd.create();
  		for (String property : properties) {
  			predicate.add(cmpEq(
  					property(self(), property),
  					property(cast(arg(0), ExpressionCast.THIS_TYPE), property)));
  		}
  		return predicate;
  	}
docs: Verifies that the properties are equal
  
  @param properties list of the properties
  @return new instance of the Expression