| Modifier and Type | Field and Description |
|---|---|
| protected int | |
| protected transient InterpreterContext | |
| protected final int | |
| protected IRScope | |
| private transient MethodData | |
| private boolean | |
| protected final Signature | |
| protected final StaticScope |
| Access | Constructor and Description |
|---|---|
| public | |
| public | AbstractIRMethod(StaticScope scope, String id, int line, Visibility visibility, RubyModule implementationClass)
|
| Modifier and Type | Method and Description |
|---|---|
| protected static <T extends AbstractIRMethod & Compilable | |
| public Object | |
| public DynamicMethod | dup()
Implements abstract org. Duplicate this method, returning DynamicMethod referencing the same code and with the same attributes. |
| public InterpreterContext | |
| public abstract void | |
| public ArgumentDescriptor[] | getArgumentDescriptors()
Implements org. Get the array of ArgumentDescriptors that represent the arguments to this method. |
| public Arity | getArity()
Overrides org.
Deprecated
Retrieve the arity of this method, used for reporting arity to Ruby code. |
| public String | |
| public Collection | |
| public IRScope | |
| public int | |
| public MethodData | getMethodData()
Overrides org. Additional metadata about this method. |
| public boolean | |
| public Signature | getSignature()
Overrides org. Implements org. Get the Signature for this method. |
| public StaticScope | |
| public boolean | |
| public boolean | |
| protected abstract void | |
| public final void | |
| public void | setRuby2Keywords()
Overrides org. Implements org. Indicates the method will behave like a ruby2 keywords accepting method. |
| public abstract SplitSuperState | startSplitSuperCall(ThreadContext context, IRubyObject self, RubyModule klazz, String name, IRubyObject[] args, Block block)
|
| public String | |
| protected static <T extends AbstractIRMethod & Compilable |
| callCount | back to summary |
|---|---|
| protected int callCount | |
| interpreterContext | back to summary |
|---|---|
| protected transient InterpreterContext interpreterContext | |
| line | back to summary |
|---|---|
| protected final int line | |
| method | back to summary |
|---|---|
| protected IRScope method | |
| methodData | back to summary |
|---|---|
| private transient MethodData methodData | |
| ruby2Keywords | back to summary |
|---|---|
| private boolean ruby2Keywords | |
| signature | back to summary |
|---|---|
| protected final Signature signature | |
| staticScope | back to summary |
|---|---|
| protected final StaticScope staticScope | |
| AbstractIRMethod | back to summary |
|---|---|
| public AbstractIRMethod(IRScope method, Visibility visibility, RubyModule implementationClass) | |
| AbstractIRMethod | back to summary |
|---|---|
| public AbstractIRMethod(StaticScope scope, String id, int line, Visibility visibility, RubyModule implementationClass) | |
| build | back to summary |
|---|---|
| protected static <T extends AbstractIRMethod & Compilable | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by | |
| dup | back to summary |
|---|---|
| public DynamicMethod dup() Implements abstract org. Doc from org. Duplicate this method, returning DynamicMethod referencing the same code and with the same attributes. It is not required that this method produce a new object if the semantics of the DynamicMethod subtype do not require such.
| |
| ensureInstrsReady | back to summary |
|---|---|
| public InterpreterContext ensureInstrsReady() | |
| finishSplitCall | back to summary |
|---|---|
| public abstract void finishSplitCall(SplitSuperState<T extends InternalSplitState> state) | |
| getArgumentDescriptors | back to summary |
|---|---|
| public ArgumentDescriptor[] getArgumentDescriptors() Implements org. Doc from org. Get the array of ArgumentDescriptors that represent the arguments to this method.
| |
| getArity | back to summary |
|---|---|
| public Arity getArity() Overrides org. Doc from org. Deprecated
Retrieve the arity of this method, used for reporting arity to Ruby code. This arity may or may not reflect the actual specific or variable arities of the referenced method.
| |
| getFile | back to summary |
|---|---|
| public String getFile() Implements org. Doc from org. Get the filename for the method.
| |
| getInstanceVariableNames | back to summary |
|---|---|
| public Collection Overrides org.
| |
| getIRScope | back to summary |
|---|---|
| public IRScope getIRScope() | |
| getLine | back to summary |
|---|---|
| public int getLine() Implements org. Doc from org. Get the line number for the method. 0-based (ie. line 1 returns a 0)
| |
| getMethodData | back to summary |
|---|---|
| public MethodData getMethodData() Overrides org. Additional metadata about this method.
| |
| getRuby2Keywords | back to summary |
|---|---|
| public boolean getRuby2Keywords() | |
| getSignature | back to summary |
|---|---|
| public Signature getSignature() Overrides org. Implements org. Doc from org. Get the Signature for this method.
| |
| getStaticScope | back to summary |
|---|---|
| public StaticScope getStaticScope() | |
| isBuildComplete | back to summary |
|---|---|
| public boolean isBuildComplete() | |
| needsToFindImplementer | back to summary |
|---|---|
| public boolean needsToFindImplementer() | |
| printMethodIR | back to summary |
|---|---|
| protected abstract void printMethodIR() | |
| setCallCount | back to summary |
|---|---|
| public final void setCallCount(int callCount) | |
| setRuby2Keywords | back to summary |
|---|---|
| public void setRuby2Keywords() Overrides org. Implements org. Doc from org. Indicates the method will behave like a ruby2 keywords accepting method. This must be a Ruby implementation to work. See Module#ruby2_keywords for information on the semantics of a method which is marked this way. | |
| startSplitSuperCall | back to summary |
|---|---|
| public abstract SplitSuperState | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| tryJit | back to summary |
|---|---|
| protected static <T extends AbstractIRMethod & Compilable | |