Package org.jruby.common
Enum Class IRubyWarnings.ID
- All Implemented Interfaces:
Serializable
,Comparable<IRubyWarnings.ID>
,Constable
- Enclosing interface:
IRubyWarnings
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGeneric identifier often used when there isn't an extra ID type. -
Method Summary
Modifier and TypeMethodDescriptiongetID()
static IRubyWarnings.ID
Returns the enum constant of this class with the specified name.static IRubyWarnings.ID[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MISCELLANEOUS
Generic identifier often used when there isn't an extra ID type.Note: Some of the "MISCELLANEOUS" warnings might end up being re-categorized.
-
AMBIGUOUS_ARGUMENT
-
ACCESSOR_NOT_INITIALIZED
-
ACCESSOR_MODULE_FUNCTION
-
ARGUMENT_AS_PREFIX
-
ARGUMENT_EXTRA_SPACE
-
ASSIGNMENT_IN_CONDITIONAL
-
BIGNUM_FROM_FLOAT_RANGE
-
BLOCK_BEATS_DEFAULT_VALUE
-
BLOCK_NOT_ACCEPTED
-
BLOCK_UNUSED
-
BLOCK_DEPRECATED
-
CONSTANT_ALREADY_INITIALIZED
-
CONSTANT_DEPRECATED
-
CONSTANT_BAD_REFERENCE
-
CVAR_FROM_TOPLEVEL_SINGLETON_METHOD
-
DECLARING_SCLASS_VARIABLE
-
DEPRECATED_METHOD
-
DUMMY_VALUE_USED
-
END_IN_METHOD
-
ELSE_WITHOUT_RESCUE
-
EMPTY_IMPLEMENTATION
-
ENV_VARS_FROM_CLI_METHOD
-
FIXNUMS_NOT_SYMBOLS
-
FLOAT_OUT_OF_RANGE
-
GLOBAL_NOT_INITIALIZED
-
GROUPED_EXPRESSION
-
INEFFECTIVE_GLOBAL
-
INVALID_CHAR_SEQUENCE
-
IVAR_NOT_INITIALIZED
-
MAY_BE_TOO_BIG
-
MULTIPLE_VALUES_FOR_BLOCK
-
NEGATIVE_NUMBER_FOR_U
-
NO_SUPER_CLASS
-
NOT_IMPLEMENTED
-
OBSOLETE_ARGUMENT
-
PARENTHISE_ARGUMENTS
-
PROXY_EXTENDED_LATE
-
STATEMENT_NOT_REACHED
-
LITERAL_IN_CONDITIONAL_RANGE
-
REDEFINING_DANGEROUS
-
REGEXP_IGNORED_FLAGS
-
REGEXP_LITERAL_IN_CONDITION
-
REGEXP_MATCH_AGAINST_STRING
-
SAFE_NOT_SUPPORTED
-
STRUCT_CONSTANT_REDEFINED
-
SYMBOL_AS_INTEGER
-
SYSSEEK_BUFFERED_IO
-
SYSWRITE_BUFFERED_IO
-
SWALLOWED_IO_EXCEPTION
-
TOO_MANY_ARGUMENTS
-
UNDEFINING_BAD
-
USELESS_EXPRESSION
-
VOID_VALUE_EXPRESSION
-
NAMED_CAPTURE_CONFLICT
-
NON_PERSISTENT_JAVA_PROXY
-
LISTEN_SERVER_SOCKET
-
PROFILE_MAX_METHODS_EXCEEDED
-
UNSUPPORTED_SUBPROCESS_OPTION
-
GC_STRESS_UNIMPLEMENTED
-
GC_ENABLE_UNIMPLEMENTED
-
GC_DISABLE_UNIMPLEMENTED
-
RATIONAL_OUT_OF_RANGE
-
REDEFINING_METHOD
-
-
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
-
getID
-