Package org.jruby.runtime.marshal
Interface CoreObjectType
- All Known Implementing Classes:
AbstractInvoker,AbstractMemory,AbstractRubyMethod,Addrinfo,ArrayJavaProxy,ArrayJavaProxyCreator,AutoPointer,Buffer,CallbackInfo,ConcreteJavaProxy,ConditionVariable,DynamicLibrary,DynamicLibrary.Symbol,Enums,FileDescriptorIO,Function,Ifaddr,IncludedModule,IncludedModuleWrapper,InterfaceJavaProxy,JavaArray,JavaClass,JavaObject,JavaPackage,JavaPackage.BlankSlateWrapper,JavaProxy,JavaProxyClass,JavaProxyClass.ProxyMethodImpl,JavaProxyConstructor,JavaProxyReflectionObject,JFFIInvoker,JRubyExecutionContextLocal,JRubyFiberLocal,JRubyObjectInputStream,JRubyThreadLocal,JZlibDeflate,JZlibInflate,JZlibRubyGzipReader,JZlibRubyGzipWriter,MapJavaProxy,MapJavaProxy.RubyHashMap,MappedType,MemoryObject,MemoryPointer,MetaClass,Monitor,Mutex,NativeCallbackPointer,NativeException,Option,Pointer,PrependedModule,Queue,RubyArgsFile,RubyArgumentError,RubyArithmeticSequence,RubyArray,RubyArrayOneObject,RubyArraySpecialized,RubyArrayTwoObject,RubyBasicObject,RubyBasicSocket,RubyBigDecimal,RubyBignum,RubyBinding,RubyBoolean,RubyBoolean.False,RubyBoolean.True,RubyChain,RubyClass,RubyClassPathVariable,RubyComplex,RubyConcurrencyError,RubyContinuation,RubyConverter,RubyDate,RubyDateTime,RubyDigest.DigestBase,RubyDigest.DigestClass,RubyDir,RubyDomainError,RubyEncoding,RubyEncodingError,RubyEncodingError.RubyCompatibilityError,RubyEncodingError.RubyConverterNotFoundError,RubyEncodingError.RubyInvalidByteSequenceError,RubyEncodingError.RubyUndefinedConversionError,RubyEnumerator,RubyEnumerator.FeedValue,RubyEOFError,RubyException,RubyFatal,RubyFiberError,RubyFile,RubyFileStat,RubyFixnum,RubyFloat,RubyFloatDomainError,RubyFrozenError,RubyGenerator,RubyGlobal.CaseInsensitiveStringOnlyRubyHash,RubyGlobal.ReadOnlySystemPropertiesHash,RubyGlobal.StringOnlyRubyHash,RubyGzipFile,RubyHash,RubyIndexError,RubyInteger,RubyInterrupt,RubyInterruptedRegexpError,RubyIO,RubyIOError,RubyIPSocket,RubyKeyError,RubyLoadError,RubyLocalJumpError,RubyMatchData,RubyMethod,RubyModule,RubyNameError,RubyNameError.RubyNameErrorMessage,RubyNil,RubyNoMemoryError,RubyNoMethodError,RubyNotImplementedError,RubyNumeric,RubyObject,RubyObject.Data,RubyObjectSpace.WeakMap,RubyPathname,RubyProc,RubyProcess.RubyStatus,RubyRandom,RubyRange,RubyRangeError,RubyRational,RubyRegexp,RubyRegexpError,RubyRipper,RubyRuntimeError,RubyScriptError,RubySecurityError,RubyServerSocket,RubySet,RubySet.DivideTSortHash,RubySignalException,RubySocket,RubySortedSet,RubyStandardError,RubyStopIteration,RubyString,RubyStringScanner,RubyStruct,RubySymbol,RubySyntaxError,RubySyslog,RubySystemCallError,RubySystemExit,RubySystemStackError,RubyTCPServer,RubyTCPSocket,RubyThread,RubyThread.Location,RubyThreadError,RubyThreadGroup,RubyTime,RubyTypeError,RubyUDPSocket,RubyUnboundMethod,RubyUncaughtThrowError,RubyUNIXServer,RubyUNIXSocket,RubyYielder,RubyZeroDivisionError,SizedQueue,StringArraySet,StringIO,Struct,StructByValue,StructLayout,StructLayout.ArrayField,StructLayout.ArrayProxy,StructLayout.CharArrayProxy,StructLayout.EnumField,StructLayout.Field,StructLayout.FunctionField,StructLayout.InnerStructField,StructLayout.NumberField,StructLayout.PointerField,StructLayout.StringField,Tempfile,ThreadFiber,TracePoint,Type,Type.Array,Type.Builtin,VariadicInvoker,ZStream
public interface CoreObjectType
-
Method Summary
Modifier and TypeMethodDescriptionReturn the ClassIndex for the native type this object was constructed from.intDeprecated.
-
Method Details
-
getNativeTypeIndex
Deprecated.Return the ClassIndex value for the native type this object was constructed from. Particularly useful for determining marshalling format. All instances of subclasses of Hash, for example are of Java type RubyHash, and so should utilize RubyHash marshalling logic in addition to user-defined class marshalling logic.- Returns:
- the ClassIndex of the native type this object was constructed from
-
getNativeClassIndex
ClassIndex getNativeClassIndex()Return the ClassIndex for the native type this object was constructed from.
-