Interface TypeSet.Resolver

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean couldResolve​(java.lang.String name)
      Checks if the given class could be resolved by this resolver.
      java.lang.Class<?> resolve​(java.lang.String name)
      Resolve the class by the given name
    • Method Detail

      • resolve

        java.lang.Class<?> resolve​(java.lang.String name)
                            throws java.lang.ClassNotFoundException
        Resolve the class by the given name
        Parameters:
        name - the name of the class, might be fully classified or not.
        Returns:
        the class
        Throws:
        java.lang.ClassNotFoundException - if the class couldn't be found
      • couldResolve

        boolean couldResolve​(java.lang.String name)
        Checks if the given class could be resolved by this resolver. Notice, that a resolver's ability to resolve a class does not imply that the class will actually be found and resolved.
        Parameters:
        name - the name of the class, might be fully classified or not.
        Returns:
        whether the class can be resolved