Enum TypePool.Empty

    • Enum Constant Detail

      • INSTANCE

        public static final TypePool.Empty INSTANCE
        The singleton instance.
    • Method Detail

      • values

        public static TypePool.Empty[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (TypePool.Empty c : TypePool.Empty.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TypePool.Empty valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • describe

        public TypePool.Resolution describe​(String name)
        Locates and describes the given type by its name.
        Specified by:
        describe in interface TypePool
        Parameters:
        name - The name of the type to describe. The name is to be written as when calling Object.toString() on a loaded Class.
        Returns:
        A resolution of the type to describe. If the type to be described was found, the returned TypePool.Resolution represents this type. Otherwise, an illegal resolution is returned.
      • clear

        public void clear()
        Clears this type pool's cache.
        Specified by:
        clear in interface TypePool