Package org.springframework.nativex.hint
Enum Flag
- java.lang.Object
-
- java.lang.Enum<Flag>
-
- org.springframework.nativex.hint.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, Sebastien Deleuze
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringtoString(Flag[] flags)static FlagvalueOf(String name)Returns the enum constant of this type with the specified name.static Flag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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
-
queryAllDeclaredMethods
public static final Flag queryAllDeclaredMethods
-
queryAllPublicMethods
public static final Flag queryAllPublicMethods
-
queryAllDeclaredConstructors
public static final Flag queryAllDeclaredConstructors
-
queryAllPublicConstructors
public static final Flag queryAllPublicConstructors
-
-
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 nameNullPointerException- if the argument is null
-
-