java.lang.Object
io.qt.internal.QtJambiInternal
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static class
static enum
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Boolean
areObjectsEquals
(QtJambiObject object, Object other) static String
cppNormalizedSignature
(String signalName, Class<?> classType) static Object
createMetaType
(int id, Class<?> javaType, Object copy) static void
disposeObject
(QtJambiObject object) static void
disposeObject
(QtObjectInterface object) static <V> V
fetchField
(Object owner, Class<?> declaringClass, String fieldName, Class<V> fieldType) static Class<?>
findGeneratedSuperclass
(Class<?> clazz) Returns the closest superclass ofobj's
class which is a generated class, or null if no such class is found.static int
findMetaType
(String name) static QMetaObject.AbstractSignal
findSignal
(QtSignalEmitterInterface sender, String name, Class<?>... types) static MethodHandle
getConstructorHandle
(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 MethodHandle
getMethodHandle
(Method method) static <R> Class<R>
getReturnType
(QMetaObject.Method1<?, R> method) static QMetaObject.DisposedSignal
getSignalOnDispose
(QtJambiObject object, boolean forceCreation) 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.static void
initializeNativeObject
(QtObjectInterface object, Map<Class<?>, List<?>> arguments) static boolean
initializePackage
(Class<?> cls) static boolean
initializePackage
(ClassLoader classLoader, Package pkg) static boolean
initializePackage
(ClassLoader classLoader, String packagePath) static String
internalNameOfArgumentType
(Class<? extends Object> cls) static Object
invokeInterfaceDefaultMethod
(Method method, Object object, Object... args) static Object
invokeMethod
(Method method, Object object, Object... args) static boolean
isAvailableLibrary
(String library, String version) static boolean
isAvailableQtLibrary
(String library) static boolean
isObjectDisposed
(QtJambiObject object) static boolean
isObjectDisposed
(QtObjectInterface object) static boolean
isSharedPointer
(QtObjectInterface object) static File
static Class<?>
javaTypeForMetaTypeId
(int metaTypeId) static QtJambiInternal.LambdaInfo
lamdaInfo
(Serializable slotObject) static void
loadJambiLibrary
(Class<?> callerClass, String library) static void
loadLibrary
(String lib) static void
loadQtJambiLibrary
(Class<?> callerClass, String library) static void
loadQtLibrary
(String library) static void
loadUtilityLibrary
(String library, String version) static int
static int
metaTypeId
(Class<?> clazz) static int
static int
nextMetaTypeId
(Class<?> clazz) static int
static QtJambiInternal.Ownership
static QtJambiInternal.Ownership
ownership
(QtObjectInterface object) static int
static <T> void
registerDataStreamOperators
(int metaType, Class<?> classType, BiConsumer<QDataStream, T> datastreamInFn, Function<QDataStream, T> datastreamOutFn) static <T> void
registerDebugStreamOperator
(int metaType, Class<?> classType, BiConsumer<QDebug, T> debugstreamFn) static int
registerMetaType
(Class<?> clazz) static int
registerMetaType
(Class<?> clazz, int[] instantiations) static int
registerMetaType
(Class<?> clazz, Type genericType, AnnotatedType annotatedType, boolean isPointer, boolean isReference) static SerializedLambda
serializeLambdaExpression
(Serializable slotObject) static void
static QtJambiInternal.Monitor
static boolean
tryIsObjectDisposed
(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's
class which is a generated class, or null if no such class is found. -
registerDataStreamOperators
public static <T> void registerDataStreamOperators(int metaType, Class<?> classType, BiConsumer<QDataStream, T> datastreamInFn, Function<QDataStream, T> datastreamOutFn) -
registerDebugStreamOperator
public static <T> void registerDebugStreamOperator(int metaType, Class<?> classType, BiConsumer<QDebug, T> debugstreamFn) -
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
-
jambiDeploymentDir
-
loadQtJambiLibrary
-
loadJambiLibrary
-
majorVersion
public static int majorVersion() -
minorVersion
public static int minorVersion() -
qtjambiPatchVersion
public static int qtjambiPatchVersion() -
createMetaType
-