Enum TypePool.Default.ComponentTypeLocator.Illegal

    • Constructor Detail

      • Illegal

        private Illegal()
    • Method Detail

      • values

        public static TypePool.Default.ComponentTypeLocator.Illegal[] 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.Default.ComponentTypeLocator.Illegal c : TypePool.Default.ComponentTypeLocator.Illegal.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.Default.ComponentTypeLocator.Illegal valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • bind

        public TypePool.AbstractBase.ComponentTypeReference bind​(java.lang.String name)
        Binds this component type to a given property name of an annotation.
        Specified by:
        bind in interface TypePool.Default.ComponentTypeLocator
        Parameters:
        name - The name of an annotation property which the returned component type reference should query for resolving an array's component type.
        Returns:
        A component type reference to an annotation value's component type.