Class TypeSet.VoidResolver

  • All Implemented Interfaces:
    TypeSet.Resolver
    Enclosing class:
    TypeSet

    public static class TypeSet.VoidResolver
    extends java.lang.Object
    implements TypeSet.Resolver
    Resolver that resolves the "void" type.
    • Constructor Summary

      Constructors 
      Constructor Description
      VoidResolver()  
    • Method Summary

      All Methods Instance Methods Concrete 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VoidResolver

        public VoidResolver()
    • Method Detail

      • resolve

        public java.lang.Class<?> resolve​(java.lang.String name)
                                   throws java.lang.ClassNotFoundException
        Description copied from interface: TypeSet.Resolver
        Resolve the class by the given name
        Specified by:
        resolve in interface TypeSet.Resolver
        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

        public boolean couldResolve​(java.lang.String name)
        Description copied from interface: TypeSet.Resolver
        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.
        Specified by:
        couldResolve in interface TypeSet.Resolver
        Parameters:
        name - the name of the class, might be fully classified or not.
        Returns:
        whether the class can be resolved