Enum Flag

  • All Implemented Interfaces:
    Serializable, Comparable<Flag>

    public enum Flag
    extends Enum<Flag>
    The various types of access that can be requested. The names of these match the names that go into the json configuration for native-image.
    Author:
    Andy Clement
    • Enum Constant Detail

      • allPublicFields

        public static final Flag allPublicFields
      • allDeclaredFields

        public static final Flag allDeclaredFields
      • allDeclaredConstructors

        public static final Flag allDeclaredConstructors
      • allPublicConstructors

        public static final Flag allPublicConstructors
      • allDeclaredMethods

        public static final Flag allDeclaredMethods
      • allPublicMethods

        public static final Flag allPublicMethods
      • allDeclaredClasses

        public static final Flag allDeclaredClasses
      • allPublicClasses

        public static final Flag allPublicClasses
    • Method Detail

      • values

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

        public static Flag 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
      • toString

        public static String toString​(Flag[] flags)