void __INIT_IMPL_org_apache_harmony_luni_internal_nls_Messages()
{
    // Initialize base class if necessary
    if (!__TIB_java_lang_Object.classInitialized) __INIT_java_lang_Object();
    __TIB_org_apache_harmony_luni_internal_nls_Messages.newInstanceFunc = __NEW_INSTANCE_org_apache_harmony_luni_internal_nls_Messages;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_org_apache_harmony_luni_internal_nls_Messages.vtable, __TIB_java_lang_Object.vtable, sizeof(__TIB_java_lang_Object.vtable));
    // Initialize vtable for this class
    // Initialize interface information
    __TIB_org_apache_harmony_luni_internal_nls_Messages.numImplementedInterfaces = 0;
    __TIB_org_apache_harmony_luni_internal_nls_Messages.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 0);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces

    __TIB_org_apache_harmony_luni_internal_nls_Messages.declaredFields = &__field_reflection_data[0];
    __TIB_org_apache_harmony_luni_internal_nls_Messages.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_org_apache_harmony_luni_internal_nls_Messages.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_org_apache_harmony_luni_internal_nls_Messages.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_org_apache_harmony_luni_internal_nls_Messages.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_org_apache_harmony_luni_internal_nls_Messages.methodDispatcherFunc = method_dispatcher;
    __TIB_org_apache_harmony_luni_internal_nls_Messages.declaredMethods = &__method_reflection_data[0];
    __TIB_org_apache_harmony_luni_internal_nls_Messages.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_org_apache_harmony_luni_internal_nls_Messages = XMLVM_CREATE_CLASS_OBJECT(&__TIB_org_apache_harmony_luni_internal_nls_Messages);
    __TIB_org_apache_harmony_luni_internal_nls_Messages.clazz = __CLASS_org_apache_harmony_luni_internal_nls_Messages;
    __TIB_org_apache_harmony_luni_internal_nls_Messages.baseType = JAVA_NULL;
    __CLASS_org_apache_harmony_luni_internal_nls_Messages_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_apache_harmony_luni_internal_nls_Messages);
    __CLASS_org_apache_harmony_luni_internal_nls_Messages_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_apache_harmony_luni_internal_nls_Messages_1ARRAY);
    __CLASS_org_apache_harmony_luni_internal_nls_Messages_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_apache_harmony_luni_internal_nls_Messages_2ARRAY);
    //XMLVM_BEGIN_WRAPPER[__INIT_org_apache_harmony_luni_internal_nls_Messages]
    //XMLVM_END_WRAPPER

    __TIB_org_apache_harmony_luni_internal_nls_Messages.classInitialized = 1;
}
void __INIT_IMPL_sdljava_event_SDLMouseButtonEvent()
{
    // Initialize base class if necessary
    if (!__TIB_sdljava_event_SDLEvent.classInitialized) __INIT_sdljava_event_SDLEvent();
    __TIB_sdljava_event_SDLMouseButtonEvent.newInstanceFunc = __NEW_INSTANCE_sdljava_event_SDLMouseButtonEvent;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_sdljava_event_SDLMouseButtonEvent.vtable, __TIB_sdljava_event_SDLEvent.vtable, sizeof(__TIB_sdljava_event_SDLEvent.vtable));
    // Initialize vtable for this class
    // Initialize interface information
    __TIB_sdljava_event_SDLMouseButtonEvent.numImplementedInterfaces = 0;
    __TIB_sdljava_event_SDLMouseButtonEvent.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 0);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces

    __TIB_sdljava_event_SDLMouseButtonEvent.declaredFields = &__field_reflection_data[0];
    __TIB_sdljava_event_SDLMouseButtonEvent.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_sdljava_event_SDLMouseButtonEvent.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_sdljava_event_SDLMouseButtonEvent.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_sdljava_event_SDLMouseButtonEvent.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_sdljava_event_SDLMouseButtonEvent.methodDispatcherFunc = method_dispatcher;
    __TIB_sdljava_event_SDLMouseButtonEvent.declaredMethods = &__method_reflection_data[0];
    __TIB_sdljava_event_SDLMouseButtonEvent.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_sdljava_event_SDLMouseButtonEvent = XMLVM_CREATE_CLASS_OBJECT(&__TIB_sdljava_event_SDLMouseButtonEvent);
    __TIB_sdljava_event_SDLMouseButtonEvent.clazz = __CLASS_sdljava_event_SDLMouseButtonEvent;
    __TIB_sdljava_event_SDLMouseButtonEvent.baseType = JAVA_NULL;
    __CLASS_sdljava_event_SDLMouseButtonEvent_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_sdljava_event_SDLMouseButtonEvent);
    __CLASS_sdljava_event_SDLMouseButtonEvent_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_sdljava_event_SDLMouseButtonEvent_1ARRAY);
    __CLASS_sdljava_event_SDLMouseButtonEvent_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_sdljava_event_SDLMouseButtonEvent_2ARRAY);
    //XMLVM_BEGIN_WRAPPER[__INIT_sdljava_event_SDLMouseButtonEvent]
    //XMLVM_END_WRAPPER

    __TIB_sdljava_event_SDLMouseButtonEvent.classInitialized = 1;
}
Exemplo n.º 3
0
void __INIT_IMPL_java_nio_BufferFactory()
{
    // Initialize base class if necessary
    XMLVM_CLASS_INIT(java_lang_Object)
    __TIB_java_nio_BufferFactory.newInstanceFunc = __NEW_INSTANCE_java_nio_BufferFactory;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_java_nio_BufferFactory.vtable, __TIB_java_lang_Object.vtable, sizeof(__TIB_java_lang_Object.vtable));
    // Initialize vtable for this class
    // Initialize interface information
    __TIB_java_nio_BufferFactory.numImplementedInterfaces = 0;
    __TIB_java_nio_BufferFactory.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 0);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces

    __TIB_java_nio_BufferFactory.declaredFields = &__field_reflection_data[0];
    __TIB_java_nio_BufferFactory.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_java_nio_BufferFactory.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_java_nio_BufferFactory.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_java_nio_BufferFactory.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_java_nio_BufferFactory.methodDispatcherFunc = method_dispatcher;
    __TIB_java_nio_BufferFactory.declaredMethods = &__method_reflection_data[0];
    __TIB_java_nio_BufferFactory.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_java_nio_BufferFactory = XMLVM_CREATE_CLASS_OBJECT(&__TIB_java_nio_BufferFactory);
    __TIB_java_nio_BufferFactory.clazz = __CLASS_java_nio_BufferFactory;
    __TIB_java_nio_BufferFactory.baseType = JAVA_NULL;
    __CLASS_java_nio_BufferFactory_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_nio_BufferFactory);
    __CLASS_java_nio_BufferFactory_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_nio_BufferFactory_1ARRAY);
    __CLASS_java_nio_BufferFactory_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_nio_BufferFactory_2ARRAY);
    //XMLVM_BEGIN_WRAPPER[__INIT_java_nio_BufferFactory]
    //XMLVM_END_WRAPPER

    __TIB_java_nio_BufferFactory.classInitialized = 1;
}
void __INIT_IMPL_org_apache_harmony_niochar_charset_UTF_8_Encoder()
{
    // Initialize base class if necessary
    XMLVM_CLASS_INIT(java_nio_charset_CharsetEncoder)
    __TIB_org_apache_harmony_niochar_charset_UTF_8_Encoder.newInstanceFunc = __NEW_INSTANCE_org_apache_harmony_niochar_charset_UTF_8_Encoder;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_org_apache_harmony_niochar_charset_UTF_8_Encoder.vtable, __TIB_java_nio_charset_CharsetEncoder.vtable, sizeof(__TIB_java_nio_charset_CharsetEncoder.vtable));
    // Initialize vtable for this class
    __TIB_org_apache_harmony_niochar_charset_UTF_8_Encoder.vtable[6] = (VTABLE_PTR) &org_apache_harmony_niochar_charset_UTF_8_Encoder_encodeLoop___java_nio_CharBuffer_java_nio_ByteBuffer;
    // Initialize interface information
    __TIB_org_apache_harmony_niochar_charset_UTF_8_Encoder.numImplementedInterfaces = 0;
    __TIB_org_apache_harmony_niochar_charset_UTF_8_Encoder.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 0);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces

    __TIB_org_apache_harmony_niochar_charset_UTF_8_Encoder.declaredFields = &__field_reflection_data[0];
    __TIB_org_apache_harmony_niochar_charset_UTF_8_Encoder.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_org_apache_harmony_niochar_charset_UTF_8_Encoder.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_org_apache_harmony_niochar_charset_UTF_8_Encoder.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_org_apache_harmony_niochar_charset_UTF_8_Encoder.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_org_apache_harmony_niochar_charset_UTF_8_Encoder.methodDispatcherFunc = method_dispatcher;
    __TIB_org_apache_harmony_niochar_charset_UTF_8_Encoder.declaredMethods = &__method_reflection_data[0];
    __TIB_org_apache_harmony_niochar_charset_UTF_8_Encoder.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_org_apache_harmony_niochar_charset_UTF_8_Encoder = XMLVM_CREATE_CLASS_OBJECT(&__TIB_org_apache_harmony_niochar_charset_UTF_8_Encoder);
    __TIB_org_apache_harmony_niochar_charset_UTF_8_Encoder.clazz = __CLASS_org_apache_harmony_niochar_charset_UTF_8_Encoder;
    __TIB_org_apache_harmony_niochar_charset_UTF_8_Encoder.baseType = JAVA_NULL;
    __CLASS_org_apache_harmony_niochar_charset_UTF_8_Encoder_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_apache_harmony_niochar_charset_UTF_8_Encoder);
    __CLASS_org_apache_harmony_niochar_charset_UTF_8_Encoder_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_apache_harmony_niochar_charset_UTF_8_Encoder_1ARRAY);
    __CLASS_org_apache_harmony_niochar_charset_UTF_8_Encoder_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_apache_harmony_niochar_charset_UTF_8_Encoder_2ARRAY);
    //XMLVM_BEGIN_WRAPPER[__INIT_org_apache_harmony_niochar_charset_UTF_8_Encoder]
    //XMLVM_END_WRAPPER

    __TIB_org_apache_harmony_niochar_charset_UTF_8_Encoder.classInitialized = 1;
}
void __INIT_IMPL_org_xmlvm_runtime_XMLVMClassLoader()
{
    // Initialize base class if necessary
    if (!__TIB_java_lang_ClassLoader.classInitialized) __INIT_java_lang_ClassLoader();
    __TIB_org_xmlvm_runtime_XMLVMClassLoader.newInstanceFunc = __NEW_INSTANCE_org_xmlvm_runtime_XMLVMClassLoader;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_org_xmlvm_runtime_XMLVMClassLoader.vtable, __TIB_java_lang_ClassLoader.vtable, sizeof(__TIB_java_lang_ClassLoader.vtable));
    // Initialize vtable for this class
    __TIB_org_xmlvm_runtime_XMLVMClassLoader.vtable[6] = (VTABLE_PTR) &org_xmlvm_runtime_XMLVMClassLoader_findClass___java_lang_String;
    __TIB_org_xmlvm_runtime_XMLVMClassLoader.vtable[7] = (VTABLE_PTR) &org_xmlvm_runtime_XMLVMClassLoader_findResource___java_lang_String;
    // Initialize interface information
    __TIB_org_xmlvm_runtime_XMLVMClassLoader.numImplementedInterfaces = 0;
    __TIB_org_xmlvm_runtime_XMLVMClassLoader.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 0);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces

    __TIB_org_xmlvm_runtime_XMLVMClassLoader.declaredFields = &__field_reflection_data[0];
    __TIB_org_xmlvm_runtime_XMLVMClassLoader.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_org_xmlvm_runtime_XMLVMClassLoader.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_org_xmlvm_runtime_XMLVMClassLoader.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_org_xmlvm_runtime_XMLVMClassLoader.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_org_xmlvm_runtime_XMLVMClassLoader.methodDispatcherFunc = method_dispatcher;
    __TIB_org_xmlvm_runtime_XMLVMClassLoader.declaredMethods = &__method_reflection_data[0];
    __TIB_org_xmlvm_runtime_XMLVMClassLoader.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_org_xmlvm_runtime_XMLVMClassLoader = XMLVM_CREATE_CLASS_OBJECT(&__TIB_org_xmlvm_runtime_XMLVMClassLoader);
    __TIB_org_xmlvm_runtime_XMLVMClassLoader.clazz = __CLASS_org_xmlvm_runtime_XMLVMClassLoader;
    __TIB_org_xmlvm_runtime_XMLVMClassLoader.baseType = JAVA_NULL;
    __CLASS_org_xmlvm_runtime_XMLVMClassLoader_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_xmlvm_runtime_XMLVMClassLoader);
    __CLASS_org_xmlvm_runtime_XMLVMClassLoader_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_xmlvm_runtime_XMLVMClassLoader_1ARRAY);
    __CLASS_org_xmlvm_runtime_XMLVMClassLoader_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_xmlvm_runtime_XMLVMClassLoader_2ARRAY);
    //XMLVM_BEGIN_WRAPPER[__INIT_org_xmlvm_runtime_XMLVMClassLoader]
    //XMLVM_END_WRAPPER

    __TIB_org_xmlvm_runtime_XMLVMClassLoader.classInitialized = 1;
}
void __INIT_IMPL_org_apache_harmony_luni_platform_IFileSystem()
{
    __TIB_org_apache_harmony_luni_platform_IFileSystem.numInterfaces = 0;
    _STATIC_org_apache_harmony_luni_platform_IFileSystem_SHARED_LOCK_TYPE = 1;
    _STATIC_org_apache_harmony_luni_platform_IFileSystem_EXCLUSIVE_LOCK_TYPE = 2;
    _STATIC_org_apache_harmony_luni_platform_IFileSystem_SEEK_SET = 1;
    _STATIC_org_apache_harmony_luni_platform_IFileSystem_SEEK_CUR = 2;
    _STATIC_org_apache_harmony_luni_platform_IFileSystem_SEEK_END = 4;
    _STATIC_org_apache_harmony_luni_platform_IFileSystem_O_RDONLY = 0;
    _STATIC_org_apache_harmony_luni_platform_IFileSystem_O_WRONLY = 1;
    _STATIC_org_apache_harmony_luni_platform_IFileSystem_O_RDWR = 16;
    _STATIC_org_apache_harmony_luni_platform_IFileSystem_O_RDWRSYNC = 32;
    _STATIC_org_apache_harmony_luni_platform_IFileSystem_O_APPEND = 256;
    _STATIC_org_apache_harmony_luni_platform_IFileSystem_O_CREAT = 4096;
    _STATIC_org_apache_harmony_luni_platform_IFileSystem_O_EXCL = 65536;
    _STATIC_org_apache_harmony_luni_platform_IFileSystem_O_NOCTTY = 1048576;
    _STATIC_org_apache_harmony_luni_platform_IFileSystem_O_NONBLOCK = 16777216;
    _STATIC_org_apache_harmony_luni_platform_IFileSystem_O_TRUNC = 268435456;
    __TIB_org_apache_harmony_luni_platform_IFileSystem.declaredFields = &__field_reflection_data[0];
    __TIB_org_apache_harmony_luni_platform_IFileSystem.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    //__TIB_org_apache_harmony_luni_platform_IFileSystem.methodDispatcherFunc = method_dispatcher;
    __TIB_org_apache_harmony_luni_platform_IFileSystem.declaredMethods = &__method_reflection_data[0];
    __TIB_org_apache_harmony_luni_platform_IFileSystem.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);

    __CLASS_org_apache_harmony_luni_platform_IFileSystem = XMLVM_CREATE_CLASS_OBJECT(&__TIB_org_apache_harmony_luni_platform_IFileSystem);
    __TIB_org_apache_harmony_luni_platform_IFileSystem.clazz = __CLASS_org_apache_harmony_luni_platform_IFileSystem;
    __TIB_org_apache_harmony_luni_platform_IFileSystem.baseType = JAVA_NULL;
    __CLASS_org_apache_harmony_luni_platform_IFileSystem_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_apache_harmony_luni_platform_IFileSystem);
    __CLASS_org_apache_harmony_luni_platform_IFileSystem_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_apache_harmony_luni_platform_IFileSystem_1ARRAY);
    __CLASS_org_apache_harmony_luni_platform_IFileSystem_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_apache_harmony_luni_platform_IFileSystem_2ARRAY);

    __TIB_org_apache_harmony_luni_platform_IFileSystem.classInitialized = 1;
}
void __INIT_IMPL_java_nio_charset_spi_CharsetProvider()
{
    // Initialize base class if necessary
    if (!__TIB_java_lang_Object.classInitialized) __INIT_java_lang_Object();
    __TIB_java_nio_charset_spi_CharsetProvider.newInstanceFunc = __NEW_INSTANCE_java_nio_charset_spi_CharsetProvider;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_java_nio_charset_spi_CharsetProvider.vtable, __TIB_java_lang_Object.vtable, sizeof(__TIB_java_lang_Object.vtable));
    // Initialize vtable for this class
    // Initialize interface information
    __TIB_java_nio_charset_spi_CharsetProvider.numImplementedInterfaces = 0;
    __TIB_java_nio_charset_spi_CharsetProvider.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 0);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces
    _STATIC_java_nio_charset_spi_CharsetProvider_CONSTRUCT_PERM = (java_lang_RuntimePermission*) JAVA_NULL;

    __TIB_java_nio_charset_spi_CharsetProvider.declaredFields = &__field_reflection_data[0];
    __TIB_java_nio_charset_spi_CharsetProvider.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_java_nio_charset_spi_CharsetProvider.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_java_nio_charset_spi_CharsetProvider.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_java_nio_charset_spi_CharsetProvider.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_java_nio_charset_spi_CharsetProvider.methodDispatcherFunc = method_dispatcher;
    __TIB_java_nio_charset_spi_CharsetProvider.declaredMethods = &__method_reflection_data[0];
    __TIB_java_nio_charset_spi_CharsetProvider.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_java_nio_charset_spi_CharsetProvider = XMLVM_CREATE_CLASS_OBJECT(&__TIB_java_nio_charset_spi_CharsetProvider);
    __TIB_java_nio_charset_spi_CharsetProvider.clazz = __CLASS_java_nio_charset_spi_CharsetProvider;
    __TIB_java_nio_charset_spi_CharsetProvider.baseType = JAVA_NULL;
    __CLASS_java_nio_charset_spi_CharsetProvider_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_nio_charset_spi_CharsetProvider);
    __CLASS_java_nio_charset_spi_CharsetProvider_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_nio_charset_spi_CharsetProvider_1ARRAY);
    __CLASS_java_nio_charset_spi_CharsetProvider_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_nio_charset_spi_CharsetProvider_2ARRAY);
    java_nio_charset_spi_CharsetProvider___CLINIT_();
    //XMLVM_BEGIN_WRAPPER[__INIT_java_nio_charset_spi_CharsetProvider]
    //XMLVM_END_WRAPPER

    __TIB_java_nio_charset_spi_CharsetProvider.classInitialized = 1;
}
void __INIT_IMPL_java_lang_StringBuilder()
{
    // Initialize base class if necessary
    XMLVM_CLASS_INIT(java_lang_AbstractStringBuilder)
    __TIB_java_lang_StringBuilder.newInstanceFunc = __NEW_INSTANCE_java_lang_StringBuilder;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_java_lang_StringBuilder.vtable, __TIB_java_lang_AbstractStringBuilder.vtable, sizeof(__TIB_java_lang_AbstractStringBuilder.vtable));
    // Initialize vtable for this class
    __TIB_java_lang_StringBuilder.vtable[6] = (VTABLE_PTR) &java_lang_StringBuilder_append___char;
    __TIB_java_lang_StringBuilder.vtable[7] = (VTABLE_PTR) &java_lang_StringBuilder_append___java_lang_CharSequence;
    __TIB_java_lang_StringBuilder.vtable[8] = (VTABLE_PTR) &java_lang_StringBuilder_append___java_lang_CharSequence_int_int;
    __TIB_java_lang_StringBuilder.vtable[5] = (VTABLE_PTR) &java_lang_StringBuilder_toString__;
    // Initialize interface information
    __TIB_java_lang_StringBuilder.numImplementedInterfaces = 3;
    __TIB_java_lang_StringBuilder.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 3);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces

    XMLVM_CLASS_INIT(java_io_Serializable)

    __TIB_java_lang_StringBuilder.implementedInterfaces[0][0] = &__TIB_java_io_Serializable;

    XMLVM_CLASS_INIT(java_lang_Appendable)

    __TIB_java_lang_StringBuilder.implementedInterfaces[0][1] = &__TIB_java_lang_Appendable;

    XMLVM_CLASS_INIT(java_lang_CharSequence)

    __TIB_java_lang_StringBuilder.implementedInterfaces[0][2] = &__TIB_java_lang_CharSequence;
    // Initialize itable for this class
    __TIB_java_lang_StringBuilder.itableBegin = &__TIB_java_lang_StringBuilder.itable[0];
    __TIB_java_lang_StringBuilder.itable[XMLVM_ITABLE_IDX_java_lang_Appendable_append___char] = __TIB_java_lang_StringBuilder.vtable[6];
    __TIB_java_lang_StringBuilder.itable[XMLVM_ITABLE_IDX_java_lang_Appendable_append___java_lang_CharSequence] = __TIB_java_lang_StringBuilder.vtable[7];
    __TIB_java_lang_StringBuilder.itable[XMLVM_ITABLE_IDX_java_lang_Appendable_append___java_lang_CharSequence_int_int] = __TIB_java_lang_StringBuilder.vtable[8];
    __TIB_java_lang_StringBuilder.itable[XMLVM_ITABLE_IDX_java_lang_CharSequence_toString__] = __TIB_java_lang_StringBuilder.vtable[5];
    __TIB_java_lang_StringBuilder.itable[XMLVM_ITABLE_IDX_java_lang_CharSequence_charAt___int] = (VTABLE_PTR) &java_lang_AbstractStringBuilder_charAt___int;
    __TIB_java_lang_StringBuilder.itable[XMLVM_ITABLE_IDX_java_lang_CharSequence_length__] = (VTABLE_PTR) &java_lang_AbstractStringBuilder_length__;
    __TIB_java_lang_StringBuilder.itable[XMLVM_ITABLE_IDX_java_lang_CharSequence_subSequence___int_int] = (VTABLE_PTR) &java_lang_AbstractStringBuilder_subSequence___int_int;

    _STATIC_java_lang_StringBuilder_serialVersionUID = 4383685877147921099;

    __TIB_java_lang_StringBuilder.declaredFields = &__field_reflection_data[0];
    __TIB_java_lang_StringBuilder.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_java_lang_StringBuilder.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_java_lang_StringBuilder.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_java_lang_StringBuilder.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_java_lang_StringBuilder.methodDispatcherFunc = method_dispatcher;
    __TIB_java_lang_StringBuilder.declaredMethods = &__method_reflection_data[0];
    __TIB_java_lang_StringBuilder.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_java_lang_StringBuilder = XMLVM_CREATE_CLASS_OBJECT(&__TIB_java_lang_StringBuilder);
    __TIB_java_lang_StringBuilder.clazz = __CLASS_java_lang_StringBuilder;
    __TIB_java_lang_StringBuilder.baseType = JAVA_NULL;
    __CLASS_java_lang_StringBuilder_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_lang_StringBuilder);
    __CLASS_java_lang_StringBuilder_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_lang_StringBuilder_1ARRAY);
    __CLASS_java_lang_StringBuilder_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_lang_StringBuilder_2ARRAY);
    //XMLVM_BEGIN_WRAPPER[__INIT_java_lang_StringBuilder]
    //XMLVM_END_WRAPPER

    __TIB_java_lang_StringBuilder.classInitialized = 1;
}
Exemplo n.º 9
0
void __INIT_IMPL_java_lang_Thread_State()
{
    // Initialize base class if necessary
    XMLVM_CLASS_INIT(java_lang_Enum)
    __TIB_java_lang_Thread_State.newInstanceFunc = __NEW_INSTANCE_java_lang_Thread_State;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_java_lang_Thread_State.vtable, __TIB_java_lang_Enum.vtable, sizeof(__TIB_java_lang_Enum.vtable));
    // Initialize vtable for this class
    // Initialize interface information
    __TIB_java_lang_Thread_State.numImplementedInterfaces = 2;
    __TIB_java_lang_Thread_State.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 2);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces

    XMLVM_CLASS_INIT(java_io_Serializable)

    __TIB_java_lang_Thread_State.implementedInterfaces[0][0] = &__TIB_java_io_Serializable;

    XMLVM_CLASS_INIT(java_lang_Comparable)

    __TIB_java_lang_Thread_State.implementedInterfaces[0][1] = &__TIB_java_lang_Comparable;
    // Initialize itable for this class
    __TIB_java_lang_Thread_State.itableBegin = &__TIB_java_lang_Thread_State.itable[0];
    __TIB_java_lang_Thread_State.itable[XMLVM_ITABLE_IDX_java_lang_Comparable_compareTo___java_lang_Object] = __TIB_java_lang_Thread_State.vtable[6];

    _STATIC_java_lang_Thread_State_NEW = (java_lang_Thread_State*) JAVA_NULL;
    _STATIC_java_lang_Thread_State_RUNNABLE = (java_lang_Thread_State*) JAVA_NULL;
    _STATIC_java_lang_Thread_State_BLOCKED = (java_lang_Thread_State*) JAVA_NULL;
    _STATIC_java_lang_Thread_State_WAITING = (java_lang_Thread_State*) JAVA_NULL;
    _STATIC_java_lang_Thread_State_TIMED_WAITING = (java_lang_Thread_State*) JAVA_NULL;
    _STATIC_java_lang_Thread_State_TERMINATED = (java_lang_Thread_State*) JAVA_NULL;
    _STATIC_java_lang_Thread_State__VALUES = (org_xmlvm_runtime_XMLVMArray*) JAVA_NULL;

    __TIB_java_lang_Thread_State.declaredFields = &__field_reflection_data[0];
    __TIB_java_lang_Thread_State.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_java_lang_Thread_State.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_java_lang_Thread_State.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_java_lang_Thread_State.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_java_lang_Thread_State.methodDispatcherFunc = method_dispatcher;
    __TIB_java_lang_Thread_State.declaredMethods = &__method_reflection_data[0];
    __TIB_java_lang_Thread_State.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_java_lang_Thread_State = XMLVM_CREATE_CLASS_OBJECT(&__TIB_java_lang_Thread_State);
    __TIB_java_lang_Thread_State.clazz = __CLASS_java_lang_Thread_State;
    __TIB_java_lang_Thread_State.baseType = JAVA_NULL;
    __CLASS_java_lang_Thread_State_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_lang_Thread_State);
    __CLASS_java_lang_Thread_State_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_lang_Thread_State_1ARRAY);
    __CLASS_java_lang_Thread_State_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_lang_Thread_State_2ARRAY);
    java_lang_Thread_State___CLINIT_();
    //XMLVM_BEGIN_WRAPPER[__INIT_java_lang_Thread_State]
    //XMLVM_END_WRAPPER

    __TIB_java_lang_Thread_State.classInitialized = 1;
}
void __INIT_IMPL_java_security_BasicPermission()
{
    // Initialize base class if necessary
    XMLVM_CLASS_INIT(java_security_Permission)
    __TIB_java_security_BasicPermission.newInstanceFunc = __NEW_INSTANCE_java_security_BasicPermission;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_java_security_BasicPermission.vtable, __TIB_java_security_Permission.vtable, sizeof(__TIB_java_security_Permission.vtable));
    // Initialize vtable for this class
    __TIB_java_security_BasicPermission.vtable[1] = (VTABLE_PTR) &java_security_BasicPermission_equals___java_lang_Object;
    __TIB_java_security_BasicPermission.vtable[4] = (VTABLE_PTR) &java_security_BasicPermission_hashCode__;
    __TIB_java_security_BasicPermission.vtable[7] = (VTABLE_PTR) &java_security_BasicPermission_getActions__;
    __TIB_java_security_BasicPermission.vtable[8] = (VTABLE_PTR) &java_security_BasicPermission_implies___java_security_Permission;
    __TIB_java_security_BasicPermission.vtable[9] = (VTABLE_PTR) &java_security_BasicPermission_newPermissionCollection__;
    // Initialize interface information
    __TIB_java_security_BasicPermission.numImplementedInterfaces = 2;
    __TIB_java_security_BasicPermission.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 2);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces

    XMLVM_CLASS_INIT(java_io_Serializable)

    __TIB_java_security_BasicPermission.implementedInterfaces[0][0] = &__TIB_java_io_Serializable;

    XMLVM_CLASS_INIT(java_security_Guard)

    __TIB_java_security_BasicPermission.implementedInterfaces[0][1] = &__TIB_java_security_Guard;
    // Initialize itable for this class
    __TIB_java_security_BasicPermission.itableBegin = &__TIB_java_security_BasicPermission.itable[0];
    __TIB_java_security_BasicPermission.itable[XMLVM_ITABLE_IDX_java_security_Guard_checkGuard___java_lang_Object] = __TIB_java_security_BasicPermission.vtable[6];

    _STATIC_java_security_BasicPermission_serialVersionUID = 6279438298436773498;

    __TIB_java_security_BasicPermission.declaredFields = &__field_reflection_data[0];
    __TIB_java_security_BasicPermission.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_java_security_BasicPermission.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_java_security_BasicPermission.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_java_security_BasicPermission.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_java_security_BasicPermission.methodDispatcherFunc = method_dispatcher;
    __TIB_java_security_BasicPermission.declaredMethods = &__method_reflection_data[0];
    __TIB_java_security_BasicPermission.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_java_security_BasicPermission = XMLVM_CREATE_CLASS_OBJECT(&__TIB_java_security_BasicPermission);
    __TIB_java_security_BasicPermission.clazz = __CLASS_java_security_BasicPermission;
    __TIB_java_security_BasicPermission.baseType = JAVA_NULL;
    __CLASS_java_security_BasicPermission_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_security_BasicPermission);
    __CLASS_java_security_BasicPermission_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_security_BasicPermission_1ARRAY);
    __CLASS_java_security_BasicPermission_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_security_BasicPermission_2ARRAY);
    //XMLVM_BEGIN_WRAPPER[__INIT_java_security_BasicPermission]
    //XMLVM_END_WRAPPER

    __TIB_java_security_BasicPermission.classInitialized = 1;
}
void __INIT_IMPL_java_lang_reflect_Modifier()
{
    // Initialize base class if necessary
    XMLVM_CLASS_INIT(java_lang_Object)
    __TIB_java_lang_reflect_Modifier.newInstanceFunc = __NEW_INSTANCE_java_lang_reflect_Modifier;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_java_lang_reflect_Modifier.vtable, __TIB_java_lang_Object.vtable, sizeof(__TIB_java_lang_Object.vtable));
    // Initialize vtable for this class
    // Initialize interface information
    __TIB_java_lang_reflect_Modifier.numImplementedInterfaces = 0;
    __TIB_java_lang_reflect_Modifier.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 0);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces
    _STATIC_java_lang_reflect_Modifier_PUBLIC = 1;
    _STATIC_java_lang_reflect_Modifier_PRIVATE = 2;
    _STATIC_java_lang_reflect_Modifier_PROTECTED = 4;
    _STATIC_java_lang_reflect_Modifier_STATIC = 8;
    _STATIC_java_lang_reflect_Modifier_FINAL = 16;
    _STATIC_java_lang_reflect_Modifier_SYNCHRONIZED = 32;
    _STATIC_java_lang_reflect_Modifier_VOLATILE = 64;
    _STATIC_java_lang_reflect_Modifier_TRANSIENT = 128;
    _STATIC_java_lang_reflect_Modifier_NATIVE = 256;
    _STATIC_java_lang_reflect_Modifier_INTERFACE = 512;
    _STATIC_java_lang_reflect_Modifier_ABSTRACT = 1024;
    _STATIC_java_lang_reflect_Modifier_STRICT = 2048;
    _STATIC_java_lang_reflect_Modifier_BRIDGE = 64;
    _STATIC_java_lang_reflect_Modifier_VARARGS = 128;
    _STATIC_java_lang_reflect_Modifier_SYNTHETIC = 4096;
    _STATIC_java_lang_reflect_Modifier_ANNOTATION = 8192;
    _STATIC_java_lang_reflect_Modifier_ENUM = 16384;

    __TIB_java_lang_reflect_Modifier.declaredFields = &__field_reflection_data[0];
    __TIB_java_lang_reflect_Modifier.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_java_lang_reflect_Modifier.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_java_lang_reflect_Modifier.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_java_lang_reflect_Modifier.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_java_lang_reflect_Modifier.methodDispatcherFunc = method_dispatcher;
    __TIB_java_lang_reflect_Modifier.declaredMethods = &__method_reflection_data[0];
    __TIB_java_lang_reflect_Modifier.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_java_lang_reflect_Modifier = XMLVM_CREATE_CLASS_OBJECT(&__TIB_java_lang_reflect_Modifier);
    __TIB_java_lang_reflect_Modifier.clazz = __CLASS_java_lang_reflect_Modifier;
    __TIB_java_lang_reflect_Modifier.baseType = JAVA_NULL;
    __CLASS_java_lang_reflect_Modifier_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_lang_reflect_Modifier);
    __CLASS_java_lang_reflect_Modifier_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_lang_reflect_Modifier_1ARRAY);
    __CLASS_java_lang_reflect_Modifier_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_lang_reflect_Modifier_2ARRAY);
    //XMLVM_BEGIN_WRAPPER[__INIT_java_lang_reflect_Modifier]
    //XMLVM_END_WRAPPER

    __TIB_java_lang_reflect_Modifier.classInitialized = 1;
}
void __INIT_IMPL_java_util_HashMap_Entry()
{
    // Initialize base class if necessary
    if (!__TIB_java_util_MapEntry.classInitialized) __INIT_java_util_MapEntry();
    __TIB_java_util_HashMap_Entry.newInstanceFunc = __NEW_INSTANCE_java_util_HashMap_Entry;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_java_util_HashMap_Entry.vtable, __TIB_java_util_MapEntry.vtable, sizeof(__TIB_java_util_MapEntry.vtable));
    // Initialize vtable for this class
    __TIB_java_util_HashMap_Entry.vtable[0] = (VTABLE_PTR) &java_util_HashMap_Entry_clone__;
    // Initialize interface information
    __TIB_java_util_HashMap_Entry.numImplementedInterfaces = 2;
    __TIB_java_util_HashMap_Entry.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 2);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces

    if (!__TIB_java_lang_Cloneable.classInitialized) __INIT_java_lang_Cloneable();
    __TIB_java_util_HashMap_Entry.implementedInterfaces[0][0] = &__TIB_java_lang_Cloneable;

    if (!__TIB_java_util_Map_Entry.classInitialized) __INIT_java_util_Map_Entry();
    __TIB_java_util_HashMap_Entry.implementedInterfaces[0][1] = &__TIB_java_util_Map_Entry;
    // Initialize itable for this class
    __TIB_java_util_HashMap_Entry.itableBegin = &__TIB_java_util_HashMap_Entry.itable[0];
    __TIB_java_util_HashMap_Entry.itable[XMLVM_ITABLE_IDX_java_util_Map_Entry_equals___java_lang_Object] = __TIB_java_util_HashMap_Entry.vtable[1];
    __TIB_java_util_HashMap_Entry.itable[XMLVM_ITABLE_IDX_java_util_Map_Entry_getKey__] = __TIB_java_util_HashMap_Entry.vtable[6];
    __TIB_java_util_HashMap_Entry.itable[XMLVM_ITABLE_IDX_java_util_Map_Entry_getValue__] = __TIB_java_util_HashMap_Entry.vtable[7];
    __TIB_java_util_HashMap_Entry.itable[XMLVM_ITABLE_IDX_java_util_Map_Entry_hashCode__] = __TIB_java_util_HashMap_Entry.vtable[4];
    __TIB_java_util_HashMap_Entry.itable[XMLVM_ITABLE_IDX_java_util_Map_Entry_setValue___java_lang_Object] = __TIB_java_util_HashMap_Entry.vtable[8];


    __TIB_java_util_HashMap_Entry.declaredFields = &__field_reflection_data[0];
    __TIB_java_util_HashMap_Entry.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_java_util_HashMap_Entry.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_java_util_HashMap_Entry.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_java_util_HashMap_Entry.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_java_util_HashMap_Entry.methodDispatcherFunc = method_dispatcher;
    __TIB_java_util_HashMap_Entry.declaredMethods = &__method_reflection_data[0];
    __TIB_java_util_HashMap_Entry.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_java_util_HashMap_Entry = XMLVM_CREATE_CLASS_OBJECT(&__TIB_java_util_HashMap_Entry);
    __TIB_java_util_HashMap_Entry.clazz = __CLASS_java_util_HashMap_Entry;
    __TIB_java_util_HashMap_Entry.baseType = JAVA_NULL;
    __CLASS_java_util_HashMap_Entry_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_util_HashMap_Entry);
    __CLASS_java_util_HashMap_Entry_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_util_HashMap_Entry_1ARRAY);
    __CLASS_java_util_HashMap_Entry_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_util_HashMap_Entry_2ARRAY);
    //XMLVM_BEGIN_WRAPPER[__INIT_java_util_HashMap_Entry]
    //XMLVM_END_WRAPPER

    __TIB_java_util_HashMap_Entry.classInitialized = 1;
}
void __INIT_IMPL_org_xmlvm_runtime_XMLVMArray()
{
    // Initialize base class if necessary
    XMLVM_CLASS_INIT(java_lang_Object)
    __TIB_org_xmlvm_runtime_XMLVMArray.newInstanceFunc = __NEW_INSTANCE_org_xmlvm_runtime_XMLVMArray;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_org_xmlvm_runtime_XMLVMArray.vtable, __TIB_java_lang_Object.vtable, sizeof(__TIB_java_lang_Object.vtable));
    // Initialize vtable for this class
    __TIB_org_xmlvm_runtime_XMLVMArray.vtable[0] = (VTABLE_PTR) &xmlvm_unimplemented_native_method;
    xmlvm_init_native_org_xmlvm_runtime_XMLVMArray();
    // Initialize interface information
    __TIB_org_xmlvm_runtime_XMLVMArray.numImplementedInterfaces = 2;
    __TIB_org_xmlvm_runtime_XMLVMArray.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 2);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces

    XMLVM_CLASS_INIT(java_io_Serializable)

    __TIB_org_xmlvm_runtime_XMLVMArray.implementedInterfaces[0][0] = &__TIB_java_io_Serializable;

    XMLVM_CLASS_INIT(java_lang_Cloneable)

    __TIB_org_xmlvm_runtime_XMLVMArray.implementedInterfaces[0][1] = &__TIB_java_lang_Cloneable;
    // Initialize itable for this class
    __TIB_org_xmlvm_runtime_XMLVMArray.itableBegin = &__TIB_org_xmlvm_runtime_XMLVMArray.itable[0];

    _STATIC_org_xmlvm_runtime_XMLVMArray_serialVersionUID = -7775139464511217031;

    __TIB_org_xmlvm_runtime_XMLVMArray.declaredFields = &__field_reflection_data[0];
    __TIB_org_xmlvm_runtime_XMLVMArray.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_org_xmlvm_runtime_XMLVMArray.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_org_xmlvm_runtime_XMLVMArray.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_org_xmlvm_runtime_XMLVMArray.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_org_xmlvm_runtime_XMLVMArray.methodDispatcherFunc = method_dispatcher;
    __TIB_org_xmlvm_runtime_XMLVMArray.declaredMethods = &__method_reflection_data[0];
    __TIB_org_xmlvm_runtime_XMLVMArray.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_org_xmlvm_runtime_XMLVMArray = XMLVM_CREATE_CLASS_OBJECT(&__TIB_org_xmlvm_runtime_XMLVMArray);
    __TIB_org_xmlvm_runtime_XMLVMArray.clazz = __CLASS_org_xmlvm_runtime_XMLVMArray;
    __TIB_org_xmlvm_runtime_XMLVMArray.baseType = JAVA_NULL;
    __CLASS_org_xmlvm_runtime_XMLVMArray_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_xmlvm_runtime_XMLVMArray);
    __CLASS_org_xmlvm_runtime_XMLVMArray_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_xmlvm_runtime_XMLVMArray_1ARRAY);
    __CLASS_org_xmlvm_runtime_XMLVMArray_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_xmlvm_runtime_XMLVMArray_2ARRAY);
    org_xmlvm_runtime_XMLVMArray___CLINIT_();
    //XMLVM_BEGIN_WRAPPER[__INIT_org_xmlvm_runtime_XMLVMArray]
    //XMLVM_END_WRAPPER

    __TIB_org_xmlvm_runtime_XMLVMArray.classInitialized = 1;
}
void __INIT_IMPL_org_xmlvm_runtime_XMLVMOutputStream()
{
    // Initialize base class if necessary
    XMLVM_CLASS_INIT(java_io_OutputStream)
    __TIB_org_xmlvm_runtime_XMLVMOutputStream.newInstanceFunc = __NEW_INSTANCE_org_xmlvm_runtime_XMLVMOutputStream;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_org_xmlvm_runtime_XMLVMOutputStream.vtable, __TIB_java_io_OutputStream.vtable, sizeof(__TIB_java_io_OutputStream.vtable));
    // Initialize vtable for this class
    __TIB_org_xmlvm_runtime_XMLVMOutputStream.vtable[11] = (VTABLE_PTR) &org_xmlvm_runtime_XMLVMOutputStream_write___int;
    // Initialize interface information
    __TIB_org_xmlvm_runtime_XMLVMOutputStream.numImplementedInterfaces = 2;
    __TIB_org_xmlvm_runtime_XMLVMOutputStream.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 2);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces

    XMLVM_CLASS_INIT(java_io_Closeable)

    __TIB_org_xmlvm_runtime_XMLVMOutputStream.implementedInterfaces[0][0] = &__TIB_java_io_Closeable;

    XMLVM_CLASS_INIT(java_io_Flushable)

    __TIB_org_xmlvm_runtime_XMLVMOutputStream.implementedInterfaces[0][1] = &__TIB_java_io_Flushable;
    // Initialize itable for this class
    __TIB_org_xmlvm_runtime_XMLVMOutputStream.itableBegin = &__TIB_org_xmlvm_runtime_XMLVMOutputStream.itable[0];
    __TIB_org_xmlvm_runtime_XMLVMOutputStream.itable[XMLVM_ITABLE_IDX_java_io_Closeable_close__] = __TIB_org_xmlvm_runtime_XMLVMOutputStream.vtable[7];
    __TIB_org_xmlvm_runtime_XMLVMOutputStream.itable[XMLVM_ITABLE_IDX_java_io_Flushable_flush__] = __TIB_org_xmlvm_runtime_XMLVMOutputStream.vtable[8];


    __TIB_org_xmlvm_runtime_XMLVMOutputStream.declaredFields = &__field_reflection_data[0];
    __TIB_org_xmlvm_runtime_XMLVMOutputStream.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_org_xmlvm_runtime_XMLVMOutputStream.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_org_xmlvm_runtime_XMLVMOutputStream.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_org_xmlvm_runtime_XMLVMOutputStream.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_org_xmlvm_runtime_XMLVMOutputStream.methodDispatcherFunc = method_dispatcher;
    __TIB_org_xmlvm_runtime_XMLVMOutputStream.declaredMethods = &__method_reflection_data[0];
    __TIB_org_xmlvm_runtime_XMLVMOutputStream.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_org_xmlvm_runtime_XMLVMOutputStream = XMLVM_CREATE_CLASS_OBJECT(&__TIB_org_xmlvm_runtime_XMLVMOutputStream);
    __TIB_org_xmlvm_runtime_XMLVMOutputStream.clazz = __CLASS_org_xmlvm_runtime_XMLVMOutputStream;
    __TIB_org_xmlvm_runtime_XMLVMOutputStream.baseType = JAVA_NULL;
    __CLASS_org_xmlvm_runtime_XMLVMOutputStream_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_xmlvm_runtime_XMLVMOutputStream);
    __CLASS_org_xmlvm_runtime_XMLVMOutputStream_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_xmlvm_runtime_XMLVMOutputStream_1ARRAY);
    __CLASS_org_xmlvm_runtime_XMLVMOutputStream_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_xmlvm_runtime_XMLVMOutputStream_2ARRAY);
    //XMLVM_BEGIN_WRAPPER[__INIT_org_xmlvm_runtime_XMLVMOutputStream]
    //XMLVM_END_WRAPPER

    __TIB_org_xmlvm_runtime_XMLVMOutputStream.classInitialized = 1;
}
void __INIT_IMPL_org_apache_harmony_luni_util_PriviAction()
{
    // Initialize base class if necessary
    XMLVM_CLASS_INIT(java_lang_Object)
    __TIB_org_apache_harmony_luni_util_PriviAction.newInstanceFunc = __NEW_INSTANCE_org_apache_harmony_luni_util_PriviAction;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_org_apache_harmony_luni_util_PriviAction.vtable, __TIB_java_lang_Object.vtable, sizeof(__TIB_java_lang_Object.vtable));
    // Initialize vtable for this class
    __TIB_org_apache_harmony_luni_util_PriviAction.vtable[6] = (VTABLE_PTR) &org_apache_harmony_luni_util_PriviAction_run__;
    // Initialize interface information
    __TIB_org_apache_harmony_luni_util_PriviAction.numImplementedInterfaces = 1;
    __TIB_org_apache_harmony_luni_util_PriviAction.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 1);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces

    XMLVM_CLASS_INIT(java_security_PrivilegedAction)

    __TIB_org_apache_harmony_luni_util_PriviAction.implementedInterfaces[0][0] = &__TIB_java_security_PrivilegedAction;
    // Initialize itable for this class
    __TIB_org_apache_harmony_luni_util_PriviAction.itableBegin = &__TIB_org_apache_harmony_luni_util_PriviAction.itable[0];
    __TIB_org_apache_harmony_luni_util_PriviAction.itable[XMLVM_ITABLE_IDX_java_security_PrivilegedAction_run__] = __TIB_org_apache_harmony_luni_util_PriviAction.vtable[6];

    _STATIC_org_apache_harmony_luni_util_PriviAction_GET_SYSTEM_PROPERTY = 1;
    _STATIC_org_apache_harmony_luni_util_PriviAction_GET_SECURITY_POLICY = 2;
    _STATIC_org_apache_harmony_luni_util_PriviAction_SET_ACCESSIBLE = 3;
    _STATIC_org_apache_harmony_luni_util_PriviAction_GET_SECURITY_PROPERTY = 4;

    __TIB_org_apache_harmony_luni_util_PriviAction.declaredFields = &__field_reflection_data[0];
    __TIB_org_apache_harmony_luni_util_PriviAction.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_org_apache_harmony_luni_util_PriviAction.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_org_apache_harmony_luni_util_PriviAction.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_org_apache_harmony_luni_util_PriviAction.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_org_apache_harmony_luni_util_PriviAction.methodDispatcherFunc = method_dispatcher;
    __TIB_org_apache_harmony_luni_util_PriviAction.declaredMethods = &__method_reflection_data[0];
    __TIB_org_apache_harmony_luni_util_PriviAction.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_org_apache_harmony_luni_util_PriviAction = XMLVM_CREATE_CLASS_OBJECT(&__TIB_org_apache_harmony_luni_util_PriviAction);
    __TIB_org_apache_harmony_luni_util_PriviAction.clazz = __CLASS_org_apache_harmony_luni_util_PriviAction;
    __TIB_org_apache_harmony_luni_util_PriviAction.baseType = JAVA_NULL;
    __CLASS_org_apache_harmony_luni_util_PriviAction_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_apache_harmony_luni_util_PriviAction);
    __CLASS_org_apache_harmony_luni_util_PriviAction_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_apache_harmony_luni_util_PriviAction_1ARRAY);
    __CLASS_org_apache_harmony_luni_util_PriviAction_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_apache_harmony_luni_util_PriviAction_2ARRAY);
    //XMLVM_BEGIN_WRAPPER[__INIT_org_apache_harmony_luni_util_PriviAction]
    //XMLVM_END_WRAPPER

    __TIB_org_apache_harmony_luni_util_PriviAction.classInitialized = 1;
}
void __INIT_IMPL_java_security_PrivilegedAction()
{
    __TIB_java_security_PrivilegedAction.numInterfaces = 0;
    __TIB_java_security_PrivilegedAction.declaredFields = &__field_reflection_data[0];
    __TIB_java_security_PrivilegedAction.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    //__TIB_java_security_PrivilegedAction.methodDispatcherFunc = method_dispatcher;
    __TIB_java_security_PrivilegedAction.declaredMethods = &__method_reflection_data[0];
    __TIB_java_security_PrivilegedAction.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);

    __CLASS_java_security_PrivilegedAction = XMLVM_CREATE_CLASS_OBJECT(&__TIB_java_security_PrivilegedAction);
    __TIB_java_security_PrivilegedAction.clazz = __CLASS_java_security_PrivilegedAction;
    __TIB_java_security_PrivilegedAction.baseType = JAVA_NULL;
    __CLASS_java_security_PrivilegedAction_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_security_PrivilegedAction);
    __CLASS_java_security_PrivilegedAction_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_security_PrivilegedAction_1ARRAY);
    __CLASS_java_security_PrivilegedAction_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_security_PrivilegedAction_2ARRAY);

    __TIB_java_security_PrivilegedAction.classInitialized = 1;
}
Exemplo n.º 17
0
void __INIT_IMPL_java_util_Iterator()
{
    __TIB_java_util_Iterator.numInterfaces = 0;
    __TIB_java_util_Iterator.declaredFields = &__field_reflection_data[0];
    __TIB_java_util_Iterator.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    //__TIB_java_util_Iterator.methodDispatcherFunc = method_dispatcher;
    __TIB_java_util_Iterator.declaredMethods = &__method_reflection_data[0];
    __TIB_java_util_Iterator.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);

    __CLASS_java_util_Iterator = XMLVM_CREATE_CLASS_OBJECT(&__TIB_java_util_Iterator);
    __TIB_java_util_Iterator.clazz = __CLASS_java_util_Iterator;
    __TIB_java_util_Iterator.baseType = JAVA_NULL;
    __CLASS_java_util_Iterator_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_util_Iterator);
    __CLASS_java_util_Iterator_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_util_Iterator_1ARRAY);
    __CLASS_java_util_Iterator_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_util_Iterator_2ARRAY);

    __TIB_java_util_Iterator.classInitialized = 1;
}
Exemplo n.º 18
0
void __INIT_IMPL_java_util_Hashtable_1()
{
    // Initialize base class if necessary
    XMLVM_CLASS_INIT(java_lang_Object)
    __TIB_java_util_Hashtable_1.newInstanceFunc = __NEW_INSTANCE_java_util_Hashtable_1;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_java_util_Hashtable_1.vtable, __TIB_java_lang_Object.vtable, sizeof(__TIB_java_lang_Object.vtable));
    // Initialize vtable for this class
    __TIB_java_util_Hashtable_1.vtable[6] = (VTABLE_PTR) &java_util_Hashtable_1_hasMoreElements__;
    __TIB_java_util_Hashtable_1.vtable[7] = (VTABLE_PTR) &java_util_Hashtable_1_nextElement__;
    // Initialize interface information
    __TIB_java_util_Hashtable_1.numImplementedInterfaces = 1;
    __TIB_java_util_Hashtable_1.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 1);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces

    XMLVM_CLASS_INIT(java_util_Enumeration)

    __TIB_java_util_Hashtable_1.implementedInterfaces[0][0] = &__TIB_java_util_Enumeration;
    // Initialize itable for this class
    __TIB_java_util_Hashtable_1.itableBegin = &__TIB_java_util_Hashtable_1.itable[0];
    __TIB_java_util_Hashtable_1.itable[XMLVM_ITABLE_IDX_java_util_Enumeration_hasMoreElements__] = __TIB_java_util_Hashtable_1.vtable[6];
    __TIB_java_util_Hashtable_1.itable[XMLVM_ITABLE_IDX_java_util_Enumeration_nextElement__] = __TIB_java_util_Hashtable_1.vtable[7];


    __TIB_java_util_Hashtable_1.declaredFields = &__field_reflection_data[0];
    __TIB_java_util_Hashtable_1.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_java_util_Hashtable_1.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_java_util_Hashtable_1.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_java_util_Hashtable_1.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_java_util_Hashtable_1.methodDispatcherFunc = method_dispatcher;
    __TIB_java_util_Hashtable_1.declaredMethods = &__method_reflection_data[0];
    __TIB_java_util_Hashtable_1.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_java_util_Hashtable_1 = XMLVM_CREATE_CLASS_OBJECT(&__TIB_java_util_Hashtable_1);
    __TIB_java_util_Hashtable_1.clazz = __CLASS_java_util_Hashtable_1;
    __TIB_java_util_Hashtable_1.baseType = JAVA_NULL;
    __CLASS_java_util_Hashtable_1_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_util_Hashtable_1);
    __CLASS_java_util_Hashtable_1_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_util_Hashtable_1_1ARRAY);
    __CLASS_java_util_Hashtable_1_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_util_Hashtable_1_2ARRAY);
    //XMLVM_BEGIN_WRAPPER[__INIT_java_util_Hashtable_1]
    //XMLVM_END_WRAPPER

    __TIB_java_util_Hashtable_1.classInitialized = 1;
}
void __INIT_IMPL_java_lang_StackTraceElement()
{
    // Initialize base class if necessary
    XMLVM_CLASS_INIT(java_lang_Object)
    __TIB_java_lang_StackTraceElement.newInstanceFunc = __NEW_INSTANCE_java_lang_StackTraceElement;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_java_lang_StackTraceElement.vtable, __TIB_java_lang_Object.vtable, sizeof(__TIB_java_lang_Object.vtable));
    // Initialize vtable for this class
    __TIB_java_lang_StackTraceElement.vtable[1] = (VTABLE_PTR) &java_lang_StackTraceElement_equals___java_lang_Object;
    __TIB_java_lang_StackTraceElement.vtable[4] = (VTABLE_PTR) &java_lang_StackTraceElement_hashCode__;
    __TIB_java_lang_StackTraceElement.vtable[5] = (VTABLE_PTR) &java_lang_StackTraceElement_toString__;
    // Initialize interface information
    __TIB_java_lang_StackTraceElement.numImplementedInterfaces = 1;
    __TIB_java_lang_StackTraceElement.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 1);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces

    XMLVM_CLASS_INIT(java_io_Serializable)

    __TIB_java_lang_StackTraceElement.implementedInterfaces[0][0] = &__TIB_java_io_Serializable;
    // Initialize itable for this class
    __TIB_java_lang_StackTraceElement.itableBegin = &__TIB_java_lang_StackTraceElement.itable[0];

    _STATIC_java_lang_StackTraceElement_serialVersionUID = 6992337162326171013;

    __TIB_java_lang_StackTraceElement.declaredFields = &__field_reflection_data[0];
    __TIB_java_lang_StackTraceElement.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_java_lang_StackTraceElement.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_java_lang_StackTraceElement.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_java_lang_StackTraceElement.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_java_lang_StackTraceElement.methodDispatcherFunc = method_dispatcher;
    __TIB_java_lang_StackTraceElement.declaredMethods = &__method_reflection_data[0];
    __TIB_java_lang_StackTraceElement.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_java_lang_StackTraceElement = XMLVM_CREATE_CLASS_OBJECT(&__TIB_java_lang_StackTraceElement);
    __TIB_java_lang_StackTraceElement.clazz = __CLASS_java_lang_StackTraceElement;
    __TIB_java_lang_StackTraceElement.baseType = JAVA_NULL;
    __CLASS_java_lang_StackTraceElement_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_lang_StackTraceElement);
    __CLASS_java_lang_StackTraceElement_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_lang_StackTraceElement_1ARRAY);
    __CLASS_java_lang_StackTraceElement_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_lang_StackTraceElement_2ARRAY);
    //XMLVM_BEGIN_WRAPPER[__INIT_java_lang_StackTraceElement]
    //XMLVM_END_WRAPPER

    __TIB_java_lang_StackTraceElement.classInitialized = 1;
}
Exemplo n.º 20
0
void __INIT_IMPL_java_lang_Number()
{
    // Initialize base class if necessary
    XMLVM_CLASS_INIT(java_lang_Object)
    __TIB_java_lang_Number.newInstanceFunc = __NEW_INSTANCE_java_lang_Number;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_java_lang_Number.vtable, __TIB_java_lang_Object.vtable, sizeof(__TIB_java_lang_Object.vtable));
    // Initialize vtable for this class
    __TIB_java_lang_Number.vtable[6] = (VTABLE_PTR) &java_lang_Number_byteValue__;
    __TIB_java_lang_Number.vtable[11] = (VTABLE_PTR) &java_lang_Number_shortValue__;
    // Initialize interface information
    __TIB_java_lang_Number.numImplementedInterfaces = 1;
    __TIB_java_lang_Number.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 1);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces

    XMLVM_CLASS_INIT(java_io_Serializable)

    __TIB_java_lang_Number.implementedInterfaces[0][0] = &__TIB_java_io_Serializable;
    // Initialize itable for this class
    __TIB_java_lang_Number.itableBegin = &__TIB_java_lang_Number.itable[0];

    _STATIC_java_lang_Number_serialVersionUID = -8742448824652078965;

    __TIB_java_lang_Number.declaredFields = &__field_reflection_data[0];
    __TIB_java_lang_Number.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_java_lang_Number.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_java_lang_Number.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_java_lang_Number.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_java_lang_Number.methodDispatcherFunc = method_dispatcher;
    __TIB_java_lang_Number.declaredMethods = &__method_reflection_data[0];
    __TIB_java_lang_Number.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_java_lang_Number = XMLVM_CREATE_CLASS_OBJECT(&__TIB_java_lang_Number);
    __TIB_java_lang_Number.clazz = __CLASS_java_lang_Number;
    __TIB_java_lang_Number.baseType = JAVA_NULL;
    __CLASS_java_lang_Number_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_lang_Number);
    __CLASS_java_lang_Number_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_lang_Number_1ARRAY);
    __CLASS_java_lang_Number_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_lang_Number_2ARRAY);
    //XMLVM_BEGIN_WRAPPER[__INIT_java_lang_Number]
    //XMLVM_END_WRAPPER

    __TIB_java_lang_Number.classInitialized = 1;
}
void __INIT_IMPL_org_apache_harmony_luni_platform_INetworkSystem()
{
    __TIB_org_apache_harmony_luni_platform_INetworkSystem.numInterfaces = 0;
    _STATIC_org_apache_harmony_luni_platform_INetworkSystem_SOCKET_CONNECT_STEP_START = 0;
    _STATIC_org_apache_harmony_luni_platform_INetworkSystem_SOCKET_CONNECT_STEP_CHECK = 1;
    __TIB_org_apache_harmony_luni_platform_INetworkSystem.declaredFields = &__field_reflection_data[0];
    __TIB_org_apache_harmony_luni_platform_INetworkSystem.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    //__TIB_org_apache_harmony_luni_platform_INetworkSystem.methodDispatcherFunc = method_dispatcher;
    __TIB_org_apache_harmony_luni_platform_INetworkSystem.declaredMethods = &__method_reflection_data[0];
    __TIB_org_apache_harmony_luni_platform_INetworkSystem.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);

    __CLASS_org_apache_harmony_luni_platform_INetworkSystem = XMLVM_CREATE_CLASS_OBJECT(&__TIB_org_apache_harmony_luni_platform_INetworkSystem);
    __TIB_org_apache_harmony_luni_platform_INetworkSystem.clazz = __CLASS_org_apache_harmony_luni_platform_INetworkSystem;
    __TIB_org_apache_harmony_luni_platform_INetworkSystem.baseType = JAVA_NULL;
    __CLASS_org_apache_harmony_luni_platform_INetworkSystem_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_apache_harmony_luni_platform_INetworkSystem);
    __CLASS_org_apache_harmony_luni_platform_INetworkSystem_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_apache_harmony_luni_platform_INetworkSystem_1ARRAY);
    __CLASS_org_apache_harmony_luni_platform_INetworkSystem_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_apache_harmony_luni_platform_INetworkSystem_2ARRAY);

    __TIB_org_apache_harmony_luni_platform_INetworkSystem.classInitialized = 1;
}
Exemplo n.º 22
0
void __INIT_IMPL_java_net_BindException()
{
    // Initialize base class if necessary
    XMLVM_CLASS_INIT(java_net_SocketException)
    __TIB_java_net_BindException.newInstanceFunc = __NEW_INSTANCE_java_net_BindException;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_java_net_BindException.vtable, __TIB_java_net_SocketException.vtable, sizeof(__TIB_java_net_SocketException.vtable));
    // Initialize vtable for this class
    // Initialize interface information
    __TIB_java_net_BindException.numImplementedInterfaces = 1;
    __TIB_java_net_BindException.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 1);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces

    XMLVM_CLASS_INIT(java_io_Serializable)

    __TIB_java_net_BindException.implementedInterfaces[0][0] = &__TIB_java_io_Serializable;
    // Initialize itable for this class
    __TIB_java_net_BindException.itableBegin = &__TIB_java_net_BindException.itable[0];

    _STATIC_java_net_BindException_serialVersionUID = -5945005768251722951;

    __TIB_java_net_BindException.declaredFields = &__field_reflection_data[0];
    __TIB_java_net_BindException.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_java_net_BindException.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_java_net_BindException.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_java_net_BindException.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_java_net_BindException.methodDispatcherFunc = method_dispatcher;
    __TIB_java_net_BindException.declaredMethods = &__method_reflection_data[0];
    __TIB_java_net_BindException.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_java_net_BindException = XMLVM_CREATE_CLASS_OBJECT(&__TIB_java_net_BindException);
    __TIB_java_net_BindException.clazz = __CLASS_java_net_BindException;
    __TIB_java_net_BindException.baseType = JAVA_NULL;
    __CLASS_java_net_BindException_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_net_BindException);
    __CLASS_java_net_BindException_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_net_BindException_1ARRAY);
    __CLASS_java_net_BindException_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_net_BindException_2ARRAY);
    //XMLVM_BEGIN_WRAPPER[__INIT_java_net_BindException]
    //XMLVM_END_WRAPPER

    __TIB_java_net_BindException.classInitialized = 1;
}
void __INIT_IMPL_java_nio_charset_CodingErrorAction()
{
    // Initialize base class if necessary
    XMLVM_CLASS_INIT(java_lang_Object)
    __TIB_java_nio_charset_CodingErrorAction.newInstanceFunc = __NEW_INSTANCE_java_nio_charset_CodingErrorAction;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_java_nio_charset_CodingErrorAction.vtable, __TIB_java_lang_Object.vtable, sizeof(__TIB_java_lang_Object.vtable));
    // Initialize vtable for this class
    __TIB_java_nio_charset_CodingErrorAction.vtable[5] = (VTABLE_PTR) &java_nio_charset_CodingErrorAction_toString__;
    // Initialize interface information
    __TIB_java_nio_charset_CodingErrorAction.numImplementedInterfaces = 0;
    __TIB_java_nio_charset_CodingErrorAction.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 0);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces
    _STATIC_java_nio_charset_CodingErrorAction_IGNORE = (java_nio_charset_CodingErrorAction*) JAVA_NULL;
    _STATIC_java_nio_charset_CodingErrorAction_REPLACE = (java_nio_charset_CodingErrorAction*) JAVA_NULL;
    _STATIC_java_nio_charset_CodingErrorAction_REPORT = (java_nio_charset_CodingErrorAction*) JAVA_NULL;

    __TIB_java_nio_charset_CodingErrorAction.declaredFields = &__field_reflection_data[0];
    __TIB_java_nio_charset_CodingErrorAction.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_java_nio_charset_CodingErrorAction.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_java_nio_charset_CodingErrorAction.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_java_nio_charset_CodingErrorAction.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_java_nio_charset_CodingErrorAction.methodDispatcherFunc = method_dispatcher;
    __TIB_java_nio_charset_CodingErrorAction.declaredMethods = &__method_reflection_data[0];
    __TIB_java_nio_charset_CodingErrorAction.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_java_nio_charset_CodingErrorAction = XMLVM_CREATE_CLASS_OBJECT(&__TIB_java_nio_charset_CodingErrorAction);
    __TIB_java_nio_charset_CodingErrorAction.clazz = __CLASS_java_nio_charset_CodingErrorAction;
    __TIB_java_nio_charset_CodingErrorAction.baseType = JAVA_NULL;
    __CLASS_java_nio_charset_CodingErrorAction_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_nio_charset_CodingErrorAction);
    __CLASS_java_nio_charset_CodingErrorAction_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_nio_charset_CodingErrorAction_1ARRAY);
    __CLASS_java_nio_charset_CodingErrorAction_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_nio_charset_CodingErrorAction_2ARRAY);
    java_nio_charset_CodingErrorAction___CLINIT_();
    //XMLVM_BEGIN_WRAPPER[__INIT_java_nio_charset_CodingErrorAction]
    //XMLVM_END_WRAPPER

    __TIB_java_nio_charset_CodingErrorAction.classInitialized = 1;
}
void __INIT_IMPL_org_xmlvm_runtime_Mutex()
{
    // Initialize base class if necessary
    if (!__TIB_java_lang_Object.classInitialized) __INIT_java_lang_Object();
    __TIB_org_xmlvm_runtime_Mutex.newInstanceFunc = __NEW_INSTANCE_org_xmlvm_runtime_Mutex;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_org_xmlvm_runtime_Mutex.vtable, __TIB_java_lang_Object.vtable, sizeof(__TIB_java_lang_Object.vtable));
    // Initialize vtable for this class
    xmlvm_init_native_org_xmlvm_runtime_Mutex();
    // Initialize interface information
    __TIB_org_xmlvm_runtime_Mutex.numImplementedInterfaces = 0;
    __TIB_org_xmlvm_runtime_Mutex.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 0);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces
    _STATIC_org_xmlvm_runtime_Mutex_finalizableNativeMutexList = (java_util_Queue*) JAVA_NULL;

    __TIB_org_xmlvm_runtime_Mutex.declaredFields = &__field_reflection_data[0];
    __TIB_org_xmlvm_runtime_Mutex.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_org_xmlvm_runtime_Mutex.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_org_xmlvm_runtime_Mutex.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_org_xmlvm_runtime_Mutex.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_org_xmlvm_runtime_Mutex.methodDispatcherFunc = method_dispatcher;
    __TIB_org_xmlvm_runtime_Mutex.declaredMethods = &__method_reflection_data[0];
    __TIB_org_xmlvm_runtime_Mutex.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_org_xmlvm_runtime_Mutex = XMLVM_CREATE_CLASS_OBJECT(&__TIB_org_xmlvm_runtime_Mutex);
    __TIB_org_xmlvm_runtime_Mutex.clazz = __CLASS_org_xmlvm_runtime_Mutex;
    __TIB_org_xmlvm_runtime_Mutex.baseType = JAVA_NULL;
    __CLASS_org_xmlvm_runtime_Mutex_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_xmlvm_runtime_Mutex);
    __CLASS_org_xmlvm_runtime_Mutex_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_xmlvm_runtime_Mutex_1ARRAY);
    __CLASS_org_xmlvm_runtime_Mutex_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_org_xmlvm_runtime_Mutex_2ARRAY);
    org_xmlvm_runtime_Mutex___CLINIT_();
    //XMLVM_BEGIN_WRAPPER[__INIT_org_xmlvm_runtime_Mutex]
    //XMLVM_END_WRAPPER

    __TIB_org_xmlvm_runtime_Mutex.classInitialized = 1;
}
void __INIT_IMPL_java_util_Collections_EmptyMap()
{
    // Initialize base class if necessary
    XMLVM_CLASS_INIT(java_util_AbstractMap)
    __TIB_java_util_Collections_EmptyMap.newInstanceFunc = __NEW_INSTANCE_java_util_Collections_EmptyMap;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_java_util_Collections_EmptyMap.vtable, __TIB_java_util_AbstractMap.vtable, sizeof(__TIB_java_util_AbstractMap.vtable));
    // Initialize vtable for this class
    __TIB_java_util_Collections_EmptyMap.vtable[7] = (VTABLE_PTR) &java_util_Collections_EmptyMap_containsKey___java_lang_Object;
    __TIB_java_util_Collections_EmptyMap.vtable[8] = (VTABLE_PTR) &java_util_Collections_EmptyMap_containsValue___java_lang_Object;
    __TIB_java_util_Collections_EmptyMap.vtable[9] = (VTABLE_PTR) &java_util_Collections_EmptyMap_entrySet__;
    __TIB_java_util_Collections_EmptyMap.vtable[10] = (VTABLE_PTR) &java_util_Collections_EmptyMap_get___java_lang_Object;
    __TIB_java_util_Collections_EmptyMap.vtable[12] = (VTABLE_PTR) &java_util_Collections_EmptyMap_keySet__;
    __TIB_java_util_Collections_EmptyMap.vtable[17] = (VTABLE_PTR) &java_util_Collections_EmptyMap_values__;
    // Initialize interface information
    __TIB_java_util_Collections_EmptyMap.numImplementedInterfaces = 2;
    __TIB_java_util_Collections_EmptyMap.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 2);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces

    XMLVM_CLASS_INIT(java_io_Serializable)

    __TIB_java_util_Collections_EmptyMap.implementedInterfaces[0][0] = &__TIB_java_io_Serializable;

    XMLVM_CLASS_INIT(java_util_Map)

    __TIB_java_util_Collections_EmptyMap.implementedInterfaces[0][1] = &__TIB_java_util_Map;
    // Initialize itable for this class
    __TIB_java_util_Collections_EmptyMap.itableBegin = &__TIB_java_util_Collections_EmptyMap.itable[0];
    __TIB_java_util_Collections_EmptyMap.itable[XMLVM_ITABLE_IDX_java_util_Map_clear__] = __TIB_java_util_Collections_EmptyMap.vtable[6];
    __TIB_java_util_Collections_EmptyMap.itable[XMLVM_ITABLE_IDX_java_util_Map_containsKey___java_lang_Object] = __TIB_java_util_Collections_EmptyMap.vtable[7];
    __TIB_java_util_Collections_EmptyMap.itable[XMLVM_ITABLE_IDX_java_util_Map_containsValue___java_lang_Object] = __TIB_java_util_Collections_EmptyMap.vtable[8];
    __TIB_java_util_Collections_EmptyMap.itable[XMLVM_ITABLE_IDX_java_util_Map_entrySet__] = __TIB_java_util_Collections_EmptyMap.vtable[9];
    __TIB_java_util_Collections_EmptyMap.itable[XMLVM_ITABLE_IDX_java_util_Map_equals___java_lang_Object] = __TIB_java_util_Collections_EmptyMap.vtable[1];
    __TIB_java_util_Collections_EmptyMap.itable[XMLVM_ITABLE_IDX_java_util_Map_get___java_lang_Object] = __TIB_java_util_Collections_EmptyMap.vtable[10];
    __TIB_java_util_Collections_EmptyMap.itable[XMLVM_ITABLE_IDX_java_util_Map_hashCode__] = __TIB_java_util_Collections_EmptyMap.vtable[4];
    __TIB_java_util_Collections_EmptyMap.itable[XMLVM_ITABLE_IDX_java_util_Map_isEmpty__] = __TIB_java_util_Collections_EmptyMap.vtable[11];
    __TIB_java_util_Collections_EmptyMap.itable[XMLVM_ITABLE_IDX_java_util_Map_keySet__] = __TIB_java_util_Collections_EmptyMap.vtable[12];
    __TIB_java_util_Collections_EmptyMap.itable[XMLVM_ITABLE_IDX_java_util_Map_putAll___java_util_Map] = __TIB_java_util_Collections_EmptyMap.vtable[13];
    __TIB_java_util_Collections_EmptyMap.itable[XMLVM_ITABLE_IDX_java_util_Map_put___java_lang_Object_java_lang_Object] = __TIB_java_util_Collections_EmptyMap.vtable[14];
    __TIB_java_util_Collections_EmptyMap.itable[XMLVM_ITABLE_IDX_java_util_Map_remove___java_lang_Object] = __TIB_java_util_Collections_EmptyMap.vtable[15];
    __TIB_java_util_Collections_EmptyMap.itable[XMLVM_ITABLE_IDX_java_util_Map_size__] = __TIB_java_util_Collections_EmptyMap.vtable[16];
    __TIB_java_util_Collections_EmptyMap.itable[XMLVM_ITABLE_IDX_java_util_Map_values__] = __TIB_java_util_Collections_EmptyMap.vtable[17];

    _STATIC_java_util_Collections_EmptyMap_serialVersionUID = 6428348081105594320;

    __TIB_java_util_Collections_EmptyMap.declaredFields = &__field_reflection_data[0];
    __TIB_java_util_Collections_EmptyMap.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_java_util_Collections_EmptyMap.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_java_util_Collections_EmptyMap.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_java_util_Collections_EmptyMap.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_java_util_Collections_EmptyMap.methodDispatcherFunc = method_dispatcher;
    __TIB_java_util_Collections_EmptyMap.declaredMethods = &__method_reflection_data[0];
    __TIB_java_util_Collections_EmptyMap.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_java_util_Collections_EmptyMap = XMLVM_CREATE_CLASS_OBJECT(&__TIB_java_util_Collections_EmptyMap);
    __TIB_java_util_Collections_EmptyMap.clazz = __CLASS_java_util_Collections_EmptyMap;
    __TIB_java_util_Collections_EmptyMap.baseType = JAVA_NULL;
    __CLASS_java_util_Collections_EmptyMap_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_util_Collections_EmptyMap);
    __CLASS_java_util_Collections_EmptyMap_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_util_Collections_EmptyMap_1ARRAY);
    __CLASS_java_util_Collections_EmptyMap_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_util_Collections_EmptyMap_2ARRAY);
    //XMLVM_BEGIN_WRAPPER[__INIT_java_util_Collections_EmptyMap]
    //XMLVM_END_WRAPPER

    __TIB_java_util_Collections_EmptyMap.classInitialized = 1;
}
Exemplo n.º 26
0
void __INIT_IMPL_java_lang_reflect_Method()
{
    // Initialize base class if necessary
    XMLVM_CLASS_INIT(java_lang_reflect_AccessibleObject)
    __TIB_java_lang_reflect_Method.newInstanceFunc = __NEW_INSTANCE_java_lang_reflect_Method;
    // Copy vtable from base class
    XMLVM_MEMCPY(__TIB_java_lang_reflect_Method.vtable, __TIB_java_lang_reflect_AccessibleObject.vtable, sizeof(__TIB_java_lang_reflect_AccessibleObject.vtable));
    // Initialize vtable for this class
    __TIB_java_lang_reflect_Method.vtable[14] = (VTABLE_PTR) &xmlvm_unimplemented_native_method;
    __TIB_java_lang_reflect_Method.vtable[16] = (VTABLE_PTR) &xmlvm_unimplemented_native_method;
    __TIB_java_lang_reflect_Method.vtable[1] = (VTABLE_PTR) &xmlvm_unimplemented_native_method;
    __TIB_java_lang_reflect_Method.vtable[12] = (VTABLE_PTR) &xmlvm_unimplemented_native_method;
    __TIB_java_lang_reflect_Method.vtable[9] = (VTABLE_PTR) &java_lang_reflect_Method_getModifiers__;
    __TIB_java_lang_reflect_Method.vtable[13] = (VTABLE_PTR) &xmlvm_unimplemented_native_method;
    __TIB_java_lang_reflect_Method.vtable[4] = (VTABLE_PTR) &xmlvm_unimplemented_native_method;
    __TIB_java_lang_reflect_Method.vtable[15] = (VTABLE_PTR) &xmlvm_unimplemented_native_method;
    __TIB_java_lang_reflect_Method.vtable[5] = (VTABLE_PTR) &xmlvm_unimplemented_native_method;
    xmlvm_init_native_java_lang_reflect_Method();
    // Initialize interface information
    __TIB_java_lang_reflect_Method.numImplementedInterfaces = 3;
    __TIB_java_lang_reflect_Method.implementedInterfaces = (__TIB_DEFINITION_TEMPLATE* (*)[1]) XMLVM_MALLOC(sizeof(__TIB_DEFINITION_TEMPLATE*) * 3);

    // Initialize interfaces if necessary and assign tib to implementedInterfaces

    XMLVM_CLASS_INIT(java_lang_reflect_AnnotatedElement)

    __TIB_java_lang_reflect_Method.implementedInterfaces[0][0] = &__TIB_java_lang_reflect_AnnotatedElement;

    XMLVM_CLASS_INIT(java_lang_reflect_GenericDeclaration)

    __TIB_java_lang_reflect_Method.implementedInterfaces[0][1] = &__TIB_java_lang_reflect_GenericDeclaration;

    XMLVM_CLASS_INIT(java_lang_reflect_Member)

    __TIB_java_lang_reflect_Method.implementedInterfaces[0][2] = &__TIB_java_lang_reflect_Member;
    // Initialize itable for this class
    __TIB_java_lang_reflect_Method.itableBegin = &__TIB_java_lang_reflect_Method.itable[0];
    __TIB_java_lang_reflect_Method.itable[XMLVM_ITABLE_IDX_java_lang_reflect_AnnotatedElement_getAnnotation___java_lang_Class] = __TIB_java_lang_reflect_Method.vtable[6];
    __TIB_java_lang_reflect_Method.itable[XMLVM_ITABLE_IDX_java_lang_reflect_AnnotatedElement_getAnnotations__] = __TIB_java_lang_reflect_Method.vtable[7];
    __TIB_java_lang_reflect_Method.itable[XMLVM_ITABLE_IDX_java_lang_reflect_AnnotatedElement_getDeclaredAnnotations__] = __TIB_java_lang_reflect_Method.vtable[8];
    __TIB_java_lang_reflect_Method.itable[XMLVM_ITABLE_IDX_java_lang_reflect_AnnotatedElement_isAnnotationPresent___java_lang_Class] = __TIB_java_lang_reflect_Method.vtable[11];
    __TIB_java_lang_reflect_Method.itable[XMLVM_ITABLE_IDX_java_lang_reflect_GenericDeclaration_getTypeParameters__] = __TIB_java_lang_reflect_Method.vtable[14];
    __TIB_java_lang_reflect_Method.itable[XMLVM_ITABLE_IDX_java_lang_reflect_Member_getDeclaringClass__] = __TIB_java_lang_reflect_Method.vtable[12];
    __TIB_java_lang_reflect_Method.itable[XMLVM_ITABLE_IDX_java_lang_reflect_Member_getModifiers__] = __TIB_java_lang_reflect_Method.vtable[9];
    __TIB_java_lang_reflect_Method.itable[XMLVM_ITABLE_IDX_java_lang_reflect_Member_getName__] = __TIB_java_lang_reflect_Method.vtable[13];
    __TIB_java_lang_reflect_Method.itable[XMLVM_ITABLE_IDX_java_lang_reflect_Member_isSynthetic__] = __TIB_java_lang_reflect_Method.vtable[16];


    __TIB_java_lang_reflect_Method.declaredFields = &__field_reflection_data[0];
    __TIB_java_lang_reflect_Method.numDeclaredFields = sizeof(__field_reflection_data) / sizeof(XMLVM_FIELD_REFLECTION_DATA);
    __TIB_java_lang_reflect_Method.constructorDispatcherFunc = constructor_dispatcher;
    __TIB_java_lang_reflect_Method.declaredConstructors = &__constructor_reflection_data[0];
    __TIB_java_lang_reflect_Method.numDeclaredConstructors = sizeof(__constructor_reflection_data) / sizeof(XMLVM_CONSTRUCTOR_REFLECTION_DATA);
    __TIB_java_lang_reflect_Method.methodDispatcherFunc = method_dispatcher;
    __TIB_java_lang_reflect_Method.declaredMethods = &__method_reflection_data[0];
    __TIB_java_lang_reflect_Method.numDeclaredMethods = sizeof(__method_reflection_data) / sizeof(XMLVM_METHOD_REFLECTION_DATA);
    __CLASS_java_lang_reflect_Method = XMLVM_CREATE_CLASS_OBJECT(&__TIB_java_lang_reflect_Method);
    __TIB_java_lang_reflect_Method.clazz = __CLASS_java_lang_reflect_Method;
    __TIB_java_lang_reflect_Method.baseType = JAVA_NULL;
    __CLASS_java_lang_reflect_Method_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_lang_reflect_Method);
    __CLASS_java_lang_reflect_Method_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_lang_reflect_Method_1ARRAY);
    __CLASS_java_lang_reflect_Method_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_java_lang_reflect_Method_2ARRAY);
    //XMLVM_BEGIN_WRAPPER[__INIT_java_lang_reflect_Method]
    //XMLVM_END_WRAPPER

    __TIB_java_lang_reflect_Method.classInitialized = 1;
}
Exemplo n.º 27
0
void java_lang_Class_initNativeLayer__()
{
    //XMLVM_BEGIN_NATIVE[java_lang_Class_initNativeLayer__]
    __INIT_boolean();
    __INIT_byte();
    __INIT_char();
    __INIT_short();
    __INIT_int();
    __INIT_long();
    __INIT_float();
    __INIT_double();
    
    __CLASS_boolean = XMLVM_CREATE_CLASS_OBJECT(&__TIB_boolean);
    __CLASS_byte = XMLVM_CREATE_CLASS_OBJECT(&__TIB_byte);
    __CLASS_char = XMLVM_CREATE_CLASS_OBJECT(&__TIB_char);
    __CLASS_short = XMLVM_CREATE_CLASS_OBJECT(&__TIB_short);
    __CLASS_int = XMLVM_CREATE_CLASS_OBJECT(&__TIB_int);
    __CLASS_long = XMLVM_CREATE_CLASS_OBJECT(&__TIB_long);
    __CLASS_float = XMLVM_CREATE_CLASS_OBJECT(&__TIB_float);
    __CLASS_double = XMLVM_CREATE_CLASS_OBJECT(&__TIB_double);

    __CLASS_boolean_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_boolean);
    __CLASS_byte_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_byte);
    __CLASS_char_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_char);
    __CLASS_short_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_short);
    __CLASS_int_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_int);
    __CLASS_long_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_long);
    __CLASS_float_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_float);
    __CLASS_double_1ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_double);
    
    __CLASS_boolean_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_boolean_1ARRAY);
    __CLASS_byte_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_byte_1ARRAY);
    __CLASS_char_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_char_1ARRAY);
    __CLASS_short_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_short_1ARRAY);
    __CLASS_int_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_int_1ARRAY);
    __CLASS_long_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_long_1ARRAY);
    __CLASS_float_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_float_1ARRAY);
    __CLASS_double_2ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_double_1ARRAY);
    
    __CLASS_boolean_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_boolean_2ARRAY);
    __CLASS_byte_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_byte_2ARRAY);
    __CLASS_char_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_char_2ARRAY);
    __CLASS_short_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_short_2ARRAY);
    __CLASS_int_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_int_2ARRAY);
    __CLASS_long_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_long_2ARRAY);
    __CLASS_float_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_float_2ARRAY);
    __CLASS_double_3ARRAY = XMLVM_CREATE_ARRAY_CLASS_OBJECT(__CLASS_double_2ARRAY);
    //XMLVM_END_NATIVE
}