Interface ReferencePathFinder

  • All Known Implementing Classes:
    AttributePathFinder

    public interface ReferencePathFinder
    An abstraction of the reference path search between type descriptors.
    • Method Detail

      • findAllPaths

        java.util.List<ReferencePath> findAllPaths​(TypeDescriptor src,
                                                   TypeDescriptor dest)
        Finds all possible reference paths between the specified given item types.
        Parameters:
        src - a type to find references from
        dest - a type to find reference paths to
        Returns:
        a list of paths leading from the source type to the destination type or an empty list, if there are no paths from the source to the destination. The paths are ordered from shortest to longest in the list.