Package com.google.j2objc.annotations
Enum ReflectionSupport.Level
- java.lang.Object
-
- java.lang.Enum<ReflectionSupport.Level>
-
- com.google.j2objc.annotations.ReflectionSupport.Level
-
- All Implemented Interfaces:
Serializable
,Comparable<ReflectionSupport.Level>
- Enclosing class:
- ReflectionSupport
public static enum ReflectionSupport.Level extends Enum<ReflectionSupport.Level>
Enumerates the available levels of reflection support.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FULL
NATIVE_ONLY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReflectionSupport.Level
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReflectionSupport.Level[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NATIVE_ONLY
public static final ReflectionSupport.Level NATIVE_ONLY
-
FULL
public static final ReflectionSupport.Level FULL
-
-
Method Detail
-
values
public static ReflectionSupport.Level[] 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 (ReflectionSupport.Level c : ReflectionSupport.Level.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReflectionSupport.Level 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
-
-