All Superinterfaces:
DeclarationReference, Immutable

@Beta @NonNullByDefault public interface DeclarationInFile extends DeclarationReference
A DeclarationReference to something which resembles file.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the file where the declaration occurred.

    Methods inherited from interface org.opendaylight.yangtools.yang.model.api.meta.DeclarationReference

    toHumanReadable
  • Method Details

    • fileName

      String fileName()
      Return the file where the declaration occurred. Returned is guaranteed to be non-empty and reference a file-like resource. No further guarantees on structure of the string are made.
      Returns:
      A non-empty file name.