public class VariableSite
extends java.lang.invoke.MutableCallSite
Modifier and Type | Field and Description |
---|---|
static org.objectweb.asm.Handle |
IVAR_ASM_HANDLE |
Constructor and Description |
---|
VariableSite(java.lang.invoke.MethodType type,
java.lang.String name,
java.lang.String file,
int line) |
Modifier and Type | Method and Description |
---|---|
int |
chainCount() |
void |
clearChainCount() |
java.lang.String |
file() |
void |
incrementChainCount() |
static java.lang.invoke.CallSite |
ivar(java.lang.invoke.MethodHandles.Lookup lookup,
java.lang.String name,
java.lang.invoke.MethodType type) |
IRubyObject |
ivarGet(IRubyObject self) |
IRubyObject |
ivarGetFail(IRubyObject self) |
void |
ivarSet(IRubyObject self,
IRubyObject value) |
void |
ivarSetFail(IRubyObject self,
IRubyObject value) |
int |
line() |
java.lang.String |
name() |
static boolean |
testRealClass(int id,
IRubyObject self) |
public VariableSite(java.lang.invoke.MethodType type, java.lang.String name, java.lang.String file, int line)
public int chainCount()
public void incrementChainCount()
public void clearChainCount()
public java.lang.String file()
public int line()
public java.lang.String name()
public static java.lang.invoke.CallSite ivar(java.lang.invoke.MethodHandles.Lookup lookup, java.lang.String name, java.lang.invoke.MethodType type) throws java.lang.Throwable
java.lang.Throwable
public IRubyObject ivarGet(IRubyObject self) throws java.lang.Throwable
java.lang.Throwable
public IRubyObject ivarGetFail(IRubyObject self)
public void ivarSet(IRubyObject self, IRubyObject value) throws java.lang.Throwable
java.lang.Throwable
public void ivarSetFail(IRubyObject self, IRubyObject value)
public static boolean testRealClass(int id, IRubyObject self)
Copyright © 2001-2022 JRuby. All Rights Reserved.