java.lang.Object
io.qt.internal.QtJambiInternal
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic classstatic enum -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic BooleanareObjectsEquals(QtJambiObject object, Object other) static StringcppNormalizedSignature(String signalName, Class<?> classType) static ObjectcreateMetaType(int id, Class<?> javaType, Object copy) static voiddisposeObject(QtJambiObject object) static voiddisposeObject(QtObjectInterface object) static <V> VfetchField(Object owner, Class<?> declaringClass, String fieldName, Class<V> fieldType) static Class<?>findGeneratedSuperclass(Class<?> clazz) Returns the closest superclass ofobj'sclass which is a generated class, or null if no such class is found.static intfindMetaType(String name) static QMetaObject.AbstractSignalfindSignal(QtSignalEmitterInterface sender, String name, Class<?>... types) static MethodHandlegetConstructorHandle(Constructor<?> constructor) static <T> Class<T>getFactoryClass(QMetaObject.Method1<T, ?> method) static <T> Class<T>getFactoryClass(QMetaObject.Method2<T, ?, ?> method) static <T> Class<T>getFactoryClass(QMetaObject.Method3<T, ?, ?, ?> method) static <T> Class<T>getFactoryClass(QMetaObject.Method4<T, ?, ?, ?, ?> method) static <T> Class<T>getFactoryClass(QMetaObject.Method5<T, ?, ?, ?, ?, ?> method) static <T> Class<T>getFactoryClass(QMetaObject.Method6<T, ?, ?, ?, ?, ?, ?> method) static <T> Class<T>getFactoryClass(QMetaObject.Method7<T, ?, ?, ?, ?, ?, ?, ?> method) static <T> Class<T>getFactoryClass(QMetaObject.Method8<T, ?, ?, ?, ?, ?, ?, ?, ?> method) static <T> Class<T>getFactoryClass(QMetaObject.Method9<T, ?, ?, ?, ?, ?, ?, ?, ?, ?> method) static MethodHandlegetMethodHandle(Method method) static <R> Class<R>getReturnType(QMetaObject.Method1<?, R> method) static QMetaObject.DisposedSignalgetSignalOnDispose(QtJambiObject object, boolean forceCreation) static QMetaObject.DisposedSignalgetSignalOnDispose(QtObjectInterface object, boolean forceCreation) Emitted either as the native resources that belong to the object are being cleaned up or directly before the object is finalized.static voidinitializeNativeObject(QtObjectInterface object, Map<Class<?>, List<?>> arguments) static booleaninitializePackage(Class<?> cls) static booleaninitializePackage(ClassLoader classLoader, Package pkg) static booleaninitializePackage(ClassLoader classLoader, String packagePath) static StringinternalNameOfArgumentType(Class<? extends Object> cls) static ObjectinvokeInterfaceDefaultMethod(Method method, Object object, Object... args) static ObjectinvokeMethod(Method method, Object object, Object... args) static booleanisAvailableLibrary(String library, String version) static booleanisAvailableQtLibrary(String library) static booleanisObjectDisposed(QtJambiObject object) static booleanisObjectDisposed(QtObjectInterface object) static booleanisSharedPointer(QtObjectInterface object) static Filestatic Class<?>javaTypeForMetaTypeId(int metaTypeId) static QtJambiInternal.LambdaInfolamdaInfo(Serializable slotObject) static voidloadJambiLibrary(Class<?> callerClass, String library) static voidloadLibrary(String lib) static voidloadQtJambiLibrary(Class<?> callerClass, String library) static voidloadQtLibrary(String library) static voidloadUtilityLibrary(String library, String version) static intstatic intmetaTypeId(Class<?> clazz) static intstatic intnextMetaTypeId(Class<?> clazz) static intstatic QtJambiInternal.Ownershipstatic QtJambiInternal.Ownershipownership(QtObjectInterface object) static intstatic intregisterMetaType(Class<?> clazz) static intregisterMetaType(Class<?> clazz, int[] instantiations) static intregisterMetaType(Class<?> clazz, Type genericType, AnnotatedType annotatedType, boolean isPointer, boolean isReference) static SerializedLambdaserializeLambdaExpression(Serializable slotObject) static voidstatic QtJambiInternal.Monitorstatic booleantryIsObjectDisposed(QtObjectInterface object)
-
Field Details
-
SlotPrefix
public static final char SlotPrefix- See Also:
-
SignalPrefix
public static final char SignalPrefix- See Also:
-
-
Method Details
-
serializeLambdaExpression
-
getConstructorHandle
public static MethodHandle getConstructorHandle(Constructor<?> constructor) throws IllegalAccessException - Throws:
IllegalAccessException
-
getMethodHandle
- Throws:
IllegalAccessException
-
invokeMethod
- Throws:
Throwable
-
invokeInterfaceDefaultMethod
public static Object invokeInterfaceDefaultMethod(Method method, Object object, Object... args) throws Throwable - Throws:
Throwable
-
setField
-
fetchField
-
findGeneratedSuperclass
Returns the closest superclass ofobj'sclass which is a generated class, or null if no such class is found. -
synchronizedNativeId
-
ownership
-
ownership
-
getSignalOnDispose
public static QMetaObject.DisposedSignal getSignalOnDispose(QtObjectInterface object, boolean forceCreation) Emitted either as the native resources that belong to the object are being cleaned up or directly before the object is finalized. Connect to this signal to do clean up when the object is destroyed. The signal will never be emitted more than once per object, and the object is guaranteed to be unusable after this signal has returned. -
getSignalOnDispose
public static QMetaObject.DisposedSignal getSignalOnDispose(QtJambiObject object, boolean forceCreation) -
findSignal
public static QMetaObject.AbstractSignal findSignal(QtSignalEmitterInterface sender, String name, Class<?>... types) -
initializePackage
-
initializePackage
-
initializePackage
-
lamdaInfo
-
disposeObject
-
isObjectDisposed
-
tryIsObjectDisposed
-
disposeObject
-
isObjectDisposed
-
areObjectsEquals
-
internalNameOfArgumentType
-
registerMetaType
-
registerMetaType
-
findMetaType
-
registerMetaType
public static int registerMetaType(Class<?> clazz, Type genericType, AnnotatedType annotatedType, boolean isPointer, boolean isReference) -
metaTypeId
-
javaTypeForMetaTypeId
-
objectMetaTypeId
-
nextMetaTypeId
-
initializeNativeObject
public static void initializeNativeObject(QtObjectInterface object, Map<Class<?>, List<?>> arguments) throws IllegalArgumentException- Throws:
IllegalArgumentException
-
getFactoryClass
-
getFactoryClass
-
getFactoryClass
-
getFactoryClass
-
getFactoryClass
-
getFactoryClass
-
getFactoryClass
-
getFactoryClass
-
getFactoryClass
-
getReturnType
-
callerClassProvider
-
cppNormalizedSignature
-
isAvailableQtLibrary
-
isAvailableLibrary
-
loadQtLibrary
-
loadUtilityLibrary
-
loadLibrary
-
jambiTempDir
-
loadQtJambiLibrary
-
loadJambiLibrary
-
majorVersion
public static int majorVersion() -
minorVersion
public static int minorVersion() -
qtjambiPatchVersion
public static int qtjambiPatchVersion() -
createMetaType
-