Class AttributePathFinder

    • Constructor Detail

      • AttributePathFinder

        public AttributePathFinder()
    • Method Detail

      • findAllPaths

        public java.util.List<ReferencePath> findAllPaths​(TypeDescriptor src,
                                                          TypeDescriptor dest)
        Description copied from interface: ReferencePathFinder
        Finds all possible reference paths between the specified given item types.
        Specified by:
        findAllPaths in interface ReferencePathFinder
        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.