@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface JRubyMethod
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String[] |
alias
Any alias or aliases for this method.
|
java.lang.Class[] |
argTypes
Argument types to coerce to before calling
|
boolean |
backtrace
Deprecated.
|
CompatVersion |
compat
Deprecated.
|
boolean |
frame
Whether this method expects to have a call frame allocated for it.
|
boolean |
meta
Whether this method should be defined on the metaclass.
|
boolean |
module
Whether this method should be a module function, defined on metaclass and private on class.
|
java.lang.String[] |
name
The name or names of this method in Ruby-land.
|
boolean |
notImplemented
Whether this method should show up as defined in response to respond_to? calls
|
boolean |
omit
Whether to use a frame slot for backtrace information
|
int |
optional
The number of optional arguments.
|
FrameField[] |
reads
What, if anything, method reads from caller's frame
|
int |
required
The number of required arguments.
|
boolean |
rest
Whether this method has a "rest" argument.
|
boolean |
scope
Deprecated.
|
Visibility |
visibility
The visibility of this method.
|
FrameField[] |
writes
What, if anything, method writes to caller's frame
|
public abstract java.lang.String[] name
public abstract boolean meta
public abstract boolean module
public abstract boolean frame
public abstract Visibility visibility
public abstract FrameField[] reads
public abstract FrameField[] writes
public abstract java.lang.Class[] argTypes
public abstract boolean omit
public abstract boolean notImplemented
@Deprecated public abstract CompatVersion compat
Copyright © 2001-2018 JRuby. All Rights Reserved.