All Known Implementing Classes:
SchemaInferenceStack
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Beta @FunctionalInterface public interface LeafrefResolver
Helper interface aiding resolution of type leafref chains.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull org.opendaylight.yangtools.yang.model.api.TypeDefinition<?>
    resolveLeafref(@NonNull org.opendaylight.yangtools.yang.model.api.type.LeafrefTypeDefinition type)
    Resolve specified LeafrefTypeDefinition until a non-leafref type is found.
  • Method Details

    • resolveLeafref

      @NonNull org.opendaylight.yangtools.yang.model.api.TypeDefinition<?> resolveLeafref(@NonNull org.opendaylight.yangtools.yang.model.api.type.LeafrefTypeDefinition type)
      Resolve specified LeafrefTypeDefinition until a non-leafref type is found.
      Parameters:
      type - leafref definition
      Returns:
      Resolved type
      Throws:
      NullPointerException - if type is null
      IllegalArgumentException - if the type definition cannot be resolved