Interface IClassPathItem

    • Method Detail

      • hasClass

        boolean hasClass​(String name)
      • hasPackage

        boolean hasPackage​(@NotNull
                           String name)
        Parameters:
        name - qualified package name
        Returns:
        true if this classpath item knows about classes in specified package or any subpackage thereof.
      • getRootClasses

        @Deprecated
        Iterable<String> getRootClasses​(String namespace)
        Deprecated.
        The only client of this method doesn't seem to be really bound to particular iteration order and could live with API like getAllClasses()
      • getAvailableClasses

        @Deprecated
        Iterable<String> getAvailableClasses​(String namespace)
        Deprecated.
        the only distinction between this method and getRootClasses(String) is that this one gives inner classes, but is it something anyone care about? The only use of this method (getAvailableClasses().iterator().hasNext()) would work the same with getRootClasses (inner classes could not be there it there are no outer)
      • getSubpackages

        @Deprecated
        Iterable<String> getSubpackages​(String namespace)
        Deprecated.
        there are 2 uses of the method, 1 is to be replaced with hasPackage(String), another shall get refactored as there's no need in specific iteration order