Package org.jruby.runtime.invokedynamic
Class VariableSite
java.lang.Object
java.lang.invoke.CallSite
java.lang.invoke.MutableCallSite
org.jruby.runtime.invokedynamic.VariableSite
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionVariableSite
(MethodType type, String name, boolean rawValue, String file, int line) -
Method Summary
Modifier and TypeMethodDescriptionint
void
file()
void
static CallSite
ivar
(MethodHandles.Lookup lookup, String name, MethodType type) ivarGet
(IRubyObject self) ivarGetFail
(IRubyObject self) void
ivarSet
(IRubyObject self, IRubyObject value) void
ivarSetFail
(IRubyObject self, IRubyObject value) int
line()
name()
static boolean
testRealClass
(int id, IRubyObject self) Methods inherited from class java.lang.invoke.MutableCallSite
dynamicInvoker, getTarget, setTarget, syncAll
-
Field Details
-
IVAR_ASM_HANDLE
public static final org.objectweb.asm.Handle IVAR_ASM_HANDLE
-
-
Constructor Details
-
VariableSite
-
-
Method Details
-
chainCount
public int chainCount() -
incrementChainCount
public void incrementChainCount() -
clearChainCount
public void clearChainCount() -
file
-
line
public int line() -
name
-
ivar
public static CallSite ivar(MethodHandles.Lookup lookup, String name, MethodType type) throws Throwable - Throws:
Throwable
-
ivarGet
- Throws:
Throwable
-
ivarGetFail
-
ivarSet
- Throws:
Throwable
-
ivarSetFail
-
testRealClass
-