import org.opendaylight.yangtools.yang.binding.Identifiable;
import org.opendaylight.yangtools.yang.binding.Identifier;
import org.opendaylight.yangtools.yang.binding.TypeObject;
+import org.opendaylight.yangtools.yang.common.Decimal64;
import org.opendaylight.yangtools.yang.common.Empty;
import org.opendaylight.yangtools.yang.common.Uint16;
import org.opendaylight.yangtools.yang.common.Uint32;
<N extends Identifiable<K> & ChildOf<? super T>, K extends Identifier<N>>
@NonNull MatchBuilderPath<O, N> extractChild(Class<@NonNull N> listItem, K listKey);
+ /**
+ * Match an {@code boolean} leaf's value.
+ *
+ * @param methodRef method reference to the getter method
+ * @return A {@link ValueMatchBuilder}
+ * @throws NullPointerException if methodRef is null
+ */
+ @NonNull ValueMatchBuilder<O, Boolean> leaf(BooleanLeafReference<T> methodRef);
+
+ /**
+ * Match an {@code decimal64} leaf's value.
+ *
+ * @param methodRef method reference to the getter method
+ * @return A {@link ValueMatchBuilder}
+ * @throws NullPointerException if methodRef is null
+ */
+ @NonNull ComparableMatchBuilder<O, Decimal64> leaf(Decimal64LeafReference<T> methodRef);
+
/**
* Match an {@code empty} leaf's value.
*
C dummyMethod(P parent);
}
+ @FunctionalInterface
+ public interface BooleanLeafReference<P> extends LeafReference<P, Boolean> {
+
+ }
+
+ @FunctionalInterface
+ public interface Decimal64LeafReference<P> extends LeafReference<P, Decimal64> {
+
+ }
+
@FunctionalInterface
public interface EmptyLeafReference<P> extends LeafReference<P, Empty> {