2 * Copyright (c) 2018 Pantheon Technologies, s.r.o. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.yangtools.yang.xpath.api;
10 import com.google.common.annotations.Beta;
11 import com.google.common.collect.ImmutableSet;
13 import org.opendaylight.yangtools.yang.xpath.api.YangLocationPath.Step;
16 * Common interface for {@link YangFilterExpr} and {@link Step}, both of which can contain predicates. Predicates are
17 * expressed in terms of {@link YangExpr}.
19 * @author Robert Varga
22 public interface YangPredicateAware {
23 default Set<YangExpr> getPredicates() {
24 return ImmutableSet.of();