Package org.jruby
Class BasicObjectStub
java.lang.Object
org.jruby.BasicObjectStub
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddFinalizer(IRubyObject self, IRubyObject finalizer) static IRubyObjectanyToString(IRubyObject self) static StringasJavaString(IRubyObject self) static RubyStringasString(IRubyObject self) static IRubyObjectcallMethod(IRubyObject self, ThreadContext context, int methodIndex, String name) static IRubyObjectcallMethod(IRubyObject self, ThreadContext context, int methodIndex, String name, IRubyObject arg) static IRubyObjectcallMethod(IRubyObject self, ThreadContext context, String name) static IRubyObjectcallMethod(IRubyObject self, ThreadContext context, String name, IRubyObject arg) static IRubyObjectcallMethod(IRubyObject self, ThreadContext context, String name, IRubyObject[] args) static IRubyObjectcallMethod(IRubyObject self, ThreadContext context, String name, IRubyObject[] args, Block block) static IRubyObjectcallSuper(IRubyObject self, ThreadContext context, IRubyObject[] args, Block block) static IRubyObjectcheckArrayType(IRubyObject self) static IRubyObjectcheckStringType(IRubyObject self) static RubyArrayconvertToArray(IRubyObject self) static RubyFloatconvertToFloat(IRubyObject self) static RubyHashconvertToHash(IRubyObject self) static RubyIntegerconvertToInteger(IRubyObject self) static RubyIntegerconvertToInteger(IRubyObject self, int convertMethodIndex, String convertMethod) static RubyIntegerconvertToInteger(IRubyObject self, String convertMethod) static RubyStringconvertToString(IRubyObject self) static voidcopySpecialInstanceVariables(IRubyObject self, IRubyObject clone) static ObjectdataGetStruct(IRubyObject self) static Objectstatic voiddataWrapStruct(IRubyObject self, Object obj) static IRubyObjectdup(IRubyObject self) static booleaneql(IRubyObject self, IRubyObject other) static InstanceVariablesstatic InternalVariablesstatic ClassgetJavaClass(IRubyObject self) static RubyClassgetMetaClass(IRubyObject self) static RubygetRuntime(IRubyObject self) static RubyClassgetSingletonClass(IRubyObject self) static RubyClassgetType(IRubyObject self) static ObjectgetVariable(IRubyObject self, int index) static intgetVariableCount(IRubyObject self) getVariableList(IRubyObject self) static booleanhasVariables(IRubyObject self) static IRubyObjectid(IRubyObject self) static IRubyObjectinfectBy(IRubyObject self, IRubyObject obj) static IRubyObjectinspect(IRubyObject self) static booleanisClass(IRubyObject self) static booleanisFrozen(IRubyObject self) static booleanisImmediate(IRubyObject self) static booleanisModule(IRubyObject self) static booleanisNil(IRubyObject self) static booleanisTaint(IRubyObject self) static booleanisTrue(IRubyObject self) static booleanisUntrusted(IRubyObject self) static IRubyObjectop_eqq(IRubyObject self, ThreadContext context, IRubyObject other) static IRubyObjectop_equal(IRubyObject self, ThreadContext context, IRubyObject other) static IRubyObjectrbClone(IRubyObject self) static voidremoveFinalizers(IRubyObject self) static booleanrespondsTo(IRubyObject self, String name) static voidsetFrozen(IRubyObject self, boolean b) static voidsetTaint(IRubyObject self, boolean b) static voidsetUntrusted(IRubyObject self, boolean b) static voidsetVariable(IRubyObject self, int index, Object value) static voidsyncVariables(IRubyObject self, List<Variable<Object>> variables) static ObjecttoJava(IRubyObject self, Class cls)
-
Field Details
-
DUMMY_INTERNAL_VARIABLES
-
-
Constructor Details
-
BasicObjectStub
public BasicObjectStub()
-
-
Method Details
-
callSuper
public static IRubyObject callSuper(IRubyObject self, ThreadContext context, IRubyObject[] args, Block block) -
callMethod
-
callMethod
public static IRubyObject callMethod(IRubyObject self, ThreadContext context, String name, IRubyObject arg) -
callMethod
public static IRubyObject callMethod(IRubyObject self, ThreadContext context, String name, IRubyObject[] args) -
callMethod
public static IRubyObject callMethod(IRubyObject self, ThreadContext context, String name, IRubyObject[] args, Block block) -
callMethod
public static IRubyObject callMethod(IRubyObject self, ThreadContext context, int methodIndex, String name) -
callMethod
public static IRubyObject callMethod(IRubyObject self, ThreadContext context, int methodIndex, String name, IRubyObject arg) -
isNil
-
isTrue
-
isTaint
-
setTaint
-
infectBy
-
isFrozen
-
setFrozen
-
isUntrusted
-
setUntrusted
-
isImmediate
-
getMetaClass
-
getSingletonClass
-
getType
-
respondsTo
-
getRuntime
-
getJavaClass
-
asJavaString
-
asString
-
convertToArray
-
convertToHash
-
convertToFloat
-
convertToInteger
-
convertToInteger
public static RubyInteger convertToInteger(IRubyObject self, int convertMethodIndex, String convertMethod) -
convertToInteger
-
convertToString
-
anyToString
-
checkStringType
-
checkArrayType
-
toJava
-
dup
-
inspect
-
rbClone
-
isModule
-
isClass
-
dataWrapStruct
-
dataGetStruct
-
dataGetStructChecked
-
id
-
op_equal
-
op_eqq
-
eql
-
addFinalizer
-
removeFinalizers
-
hasVariables
-
getVariableCount
-
syncVariables
-
getVariableList
-
getInstanceVariables
-
getInternalVariables
-
getVariableNameList
-
copySpecialInstanceVariables
-
getVariable
-
setVariable
-