Enum TypeWriter.FieldPool.Disabled

    • Constructor Detail

      • Disabled

        private Disabled()
    • Method Detail

      • values

        public static TypeWriter.FieldPool.Disabled[] 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 (TypeWriter.FieldPool.Disabled c : TypeWriter.FieldPool.Disabled.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TypeWriter.FieldPool.Disabled 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
      • target

        public TypeWriter.FieldPool.Record target​(FieldDescription fieldDescription)
        Returns the field attribute appender that matches a given field description or a default field attribute appender if no appender was registered for the given field.
        Specified by:
        target in interface TypeWriter.FieldPool
        Parameters:
        fieldDescription - The field description of interest.
        Returns:
        The registered field attribute appender for the given field or the default appender if no such appender was found.