Enum Class PrototypeAttribute
- All Implemented Interfaces:
Serializable,Comparable<PrototypeAttribute>,Constable
Attributes of a native prototype item.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConst-function prototype attribute.Leaf-function prototype attribute.No-return prototype attribute.No-throw prototype attribute.Pure-function prototype attribute.Variable-argument prototype attribute.Volatile member-function prototype attribute. -
Method Summary
Modifier and TypeMethodDescriptionformat()Format this attribute for an unknown compiler.format(CompilerType comptype) Format this attribute for a compiler.static PrototypeAttributeReturns the enum constant of this class with the specified name.static PrototypeAttribute[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VarArg
Variable-argument prototype attribute. -
NoReturn
No-return prototype attribute. -
NoThrow
No-throw prototype attribute. -
Leaf
Leaf-function prototype attribute. -
Pure
Pure-function prototype attribute. -
Const
Const-function prototype attribute. -
Volatile
Volatile member-function prototype attribute.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
format
Format this attribute for an unknown compiler.- Returns:
- formatted attribute, or null
-
format
Format this attribute for a compiler.- Parameters:
comptype- compiler type- Returns:
- formatted attribute, or null
-