@Deprecated public enum CompatVersion extends java.lang.Enum<CompatVersion>
Enum Constant and Description |
---|
BOTH
Deprecated.
|
RUBY1_8
Deprecated.
|
RUBY1_9
Deprecated.
|
RUBY2_0
Deprecated.
|
RUBY2_1
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CompatVersion |
getVersionFromString(java.lang.String compatString)
Deprecated.
|
boolean |
is1_9()
Deprecated.
|
boolean |
is2_0()
Deprecated.
|
static boolean |
shouldBindMethod(CompatVersion runtimeVersion,
CompatVersion methodVersion)
Deprecated.
|
static CompatVersion |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static CompatVersion[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final CompatVersion RUBY1_8
@Deprecated public static final CompatVersion RUBY1_9
@Deprecated public static final CompatVersion RUBY2_0
@Deprecated public static final CompatVersion RUBY2_1
@Deprecated public static final CompatVersion BOTH
public static CompatVersion[] values()
for (CompatVersion c : CompatVersion.values()) System.out.println(c);
public static CompatVersion valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Deprecated public boolean is1_9()
@Deprecated public boolean is2_0()
@Deprecated public static CompatVersion getVersionFromString(java.lang.String compatString)
@Deprecated public static boolean shouldBindMethod(CompatVersion runtimeVersion, CompatVersion methodVersion)
Copyright © 2001-2018 JRuby. All Rights Reserved.