Package org.jruby
Class BasicObjectStub
java.lang.Object
org.jruby.BasicObjectStub
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addFinalizer
(IRubyObject self, IRubyObject finalizer) static IRubyObject
anyToString
(IRubyObject self) static String
asJavaString
(IRubyObject self) static RubyString
asString
(IRubyObject self) static IRubyObject
callMethod
(IRubyObject self, ThreadContext context, int methodIndex, String name) static IRubyObject
callMethod
(IRubyObject self, ThreadContext context, int methodIndex, String name, IRubyObject arg) static IRubyObject
callMethod
(IRubyObject self, ThreadContext context, String name) static IRubyObject
callMethod
(IRubyObject self, ThreadContext context, String name, IRubyObject arg) static IRubyObject
callMethod
(IRubyObject self, ThreadContext context, String name, IRubyObject[] args) static IRubyObject
callMethod
(IRubyObject self, ThreadContext context, String name, IRubyObject[] args, Block block) static IRubyObject
callSuper
(IRubyObject self, ThreadContext context, IRubyObject[] args, Block block) static IRubyObject
checkArrayType
(IRubyObject self) static IRubyObject
checkStringType
(IRubyObject self) static RubyArray
convertToArray
(IRubyObject self) static RubyFloat
convertToFloat
(IRubyObject self) static RubyHash
convertToHash
(IRubyObject self) static RubyInteger
convertToInteger
(IRubyObject self) static RubyInteger
convertToInteger
(IRubyObject self, int convertMethodIndex, String convertMethod) static RubyInteger
convertToInteger
(IRubyObject self, String convertMethod) static RubyString
convertToString
(IRubyObject self) static void
copySpecialInstanceVariables
(IRubyObject self, IRubyObject clone) static Object
dataGetStruct
(IRubyObject self) static Object
static void
dataWrapStruct
(IRubyObject self, Object obj) static IRubyObject
dup
(IRubyObject self) static boolean
eql
(IRubyObject self, IRubyObject other) static InstanceVariables
static InternalVariables
static Class
getJavaClass
(IRubyObject self) static RubyClass
getMetaClass
(IRubyObject self) static Ruby
getRuntime
(IRubyObject self) static RubyClass
getSingletonClass
(IRubyObject self) static RubyClass
getType
(IRubyObject self) static Object
getVariable
(IRubyObject self, int index) static int
getVariableCount
(IRubyObject self) getVariableList
(IRubyObject self) static boolean
hasVariables
(IRubyObject self) static IRubyObject
id
(IRubyObject self) static IRubyObject
infectBy
(IRubyObject self, IRubyObject obj) static IRubyObject
inspect
(IRubyObject self) static boolean
isClass
(IRubyObject self) static boolean
isFrozen
(IRubyObject self) static boolean
isImmediate
(IRubyObject self) static boolean
isModule
(IRubyObject self) static boolean
isNil
(IRubyObject self) static boolean
isTaint
(IRubyObject self) static boolean
isTrue
(IRubyObject self) static boolean
isUntrusted
(IRubyObject self) static IRubyObject
op_eqq
(IRubyObject self, ThreadContext context, IRubyObject other) static IRubyObject
op_equal
(IRubyObject self, ThreadContext context, IRubyObject other) static IRubyObject
rbClone
(IRubyObject self) static void
removeFinalizers
(IRubyObject self) static boolean
respondsTo
(IRubyObject self, String name) static void
setFrozen
(IRubyObject self, boolean b) static void
setTaint
(IRubyObject self, boolean b) static void
setUntrusted
(IRubyObject self, boolean b) static void
setVariable
(IRubyObject self, int index, Object value) static void
syncVariables
(IRubyObject self, List<Variable<Object>> variables) static Object
toJava
(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
-