public static enum IRBytecodeAdapter.BlockPassType extends java.lang.Enum<IRBytecodeAdapter.BlockPassType>
| Modifier and Type | Method and Description |
|---|---|
static IRBytecodeAdapter.BlockPassType |
fromIR(ClosureAcceptingInstr callInstr) |
boolean |
given() |
boolean |
literal() |
static IRBytecodeAdapter.BlockPassType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IRBytecodeAdapter.BlockPassType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IRBytecodeAdapter.BlockPassType NONE
public static final IRBytecodeAdapter.BlockPassType GIVEN
public static final IRBytecodeAdapter.BlockPassType LITERAL
public static IRBytecodeAdapter.BlockPassType[] values()
for (IRBytecodeAdapter.BlockPassType c : IRBytecodeAdapter.BlockPassType.values()) System.out.println(c);
public static IRBytecodeAdapter.BlockPassType 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 nullpublic boolean given()
public boolean literal()
public static IRBytecodeAdapter.BlockPassType fromIR(ClosureAcceptingInstr callInstr)
Copyright © 2001-2020 JRuby. All Rights Reserved.