public class ArgumentDescriptor extends Object
Modifier and Type | Field and Description |
---|---|
static ArgumentDescriptor[] |
EMPTY_ARRAY |
String |
name
The name of the argument
|
ArgumentType |
type
The type of the argument
|
Constructor and Description |
---|
ArgumentDescriptor(ArgumentType type) |
ArgumentDescriptor(ArgumentType type,
String name) |
Modifier and Type | Method and Description |
---|---|
RubyArray |
toArrayForm(Ruby runtime,
boolean isLambda) |
String |
toPrefixForm()
Generate the prefixed version of this descriptor.
|
public final ArgumentType type
public final String name
public static final ArgumentDescriptor[] EMPTY_ARRAY
public ArgumentDescriptor(ArgumentType type, String name)
public ArgumentDescriptor(ArgumentType type)
public String toPrefixForm()
MethodArgs2
Copyright © 2001-2015 JRuby. All Rights Reserved.