List<FilterCondition> conditions = new ArrayList<FilterCondition>();
if (!processed.isEmpty()) {
for (int i = 0, n = args.size(); i < n; i++) {
AtomObject arg = args.get(i);
if (arg instanceof AtomVariable) {
TokenNodeProvider provider = createNodeProvider((AtomVariable) arg, processed);
if (provider != null) {
conditions.add(new JoinCondition(new WMENodeProvider(i), provider));
}
}
}