java.lang.Object
io.qt.internal.QtJambiInternal
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static class
static enum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final char
static final char
static final boolean
-
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 Object
fetchField
(Object owner, Field f) 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
(Object sender, String name, Class<?>... types) static <T> Class<T>
getClass
(T object) static MethodHandle
getConstructorHandle
(Constructor<?> constructor) getFactory
(Constructor<T> constructor) static <T> Supplier<T>
getFactory0
(Constructor<T> constructor) static <A,
T> Function<A, T> getFactory1
(Constructor<T> constructor) static <A,
B, T> BiFunction<A, B, T> getFactory2
(Constructor<T> constructor) static <A,
B, C, T> QMetaObject.Method3<A, B, C, T> getFactory3
(Constructor<T> constructor) static <A,
B, C, D, T>
QMetaObject.Method4<A,B, C, D, T> getFactory4
(Constructor<T> constructor) static <A,
B, C, D, E, T>
QMetaObject.Method5<A,B, C, D, E, T> getFactory5
(Constructor<T> 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 <T> T
invokeContructor
(Constructor<T> constructor, Object... args) 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
(Class<?> callerClass, String library) static boolean
static boolean
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
lambdaInfo
(Serializable slotObject) static void
loadJambiLibrary
(Class<?> callerClass, String library) static void
loadLibrary
(String lib) static void
loadQtJambiLibrary
(Class<?> callerClass, String library) static void
loadQtLibrary
(Class<?> callerClass, String library, QtUtilities.LibraryRequirementMode libraryRequirementMode, String... platforms) static void
loadUtilityLibrary
(String library, String version, QtUtilities.LibraryRequirementMode libraryRequirementMode, String... platforms) static int
static int
metaTypeId
(Class<?> clazz) static int
static int
nextMetaTypeId
(Class<?> clazz) static long
objectHash
(Object object) static int
static String
static QtJambiInternal.Ownership
static QtJambiInternal.Ownership
ownership
(QtObjectInterface object) static String
static String
static int
static String
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, AnnotatedElement annotatedType, boolean isPointer, boolean isReference) static SerializedLambda
serializeLambdaExpression
(Serializable slotObject) static void
static QtJambiInternal.Monitor
static Class<?>
static boolean
tryIsObjectDisposed
(QtObjectInterface object)
-
Field Details
-
useAnnotatedType
public static final boolean useAnnotatedType -
SlotPrefix
public static final char SlotPrefix- See Also:
-
SignalPrefix
public static final char SignalPrefix- See Also:
-
-
Method Details
-
objectHash
-
serializeLambdaExpression
-
getConstructorHandle
public static MethodHandle getConstructorHandle(Constructor<?> constructor) throws IllegalAccessException - Throws:
IllegalAccessException
-
getMethodHandle
- Throws:
IllegalAccessException
-
getFactory
-
getFactory0
-
getFactory1
-
getFactory2
-
getFactory3
-
getFactory4
public static <A,B, QMetaObject.Method4<A,C, D, T> B, getFactory4C, D, T> (Constructor<T> constructor) -
getFactory5
public static <A,B, QMetaObject.Method5<A,C, D, E, T> B, getFactory5C, D, E, T> (Constructor<T> constructor) -
invokeContructor
- Throws:
Throwable
-
invokeMethod
- Throws:
Throwable
-
invokeInterfaceDefaultMethod
public static Object invokeInterfaceDefaultMethod(Method method, Object object, Object... args) throws Throwable - Throws:
Throwable
-
setField
-
fetchField
-
fetchField
-
getRegisteredTypeSizesAndAlignments
-
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
-
initializePackage
-
initializePackage
-
initializePackage
-
lambdaInfo
-
disposeObject
-
isObjectDisposed
-
tryIsObjectDisposed
-
disposeObject
-
isObjectDisposed
-
areObjectsEquals
-
internalNameOfArgumentType
-
registerMetaType
-
registerMetaType
-
findMetaType
-
registerMetaType
public static int registerMetaType(Class<?> clazz, Type genericType, AnnotatedElement annotatedType, boolean isPointer, boolean isReference) -
metaTypeId
-
javaTypeForMetaTypeId
-
objectMetaTypeId
-
nextMetaTypeId
-
isDebugBuild
public static boolean isDebugBuild() -
processName
-
initializeNativeObject
public static void initializeNativeObject(QtObjectInterface object, Map<Class<?>, List<?>> arguments) throws IllegalArgumentException- Throws:
IllegalArgumentException
-
getClass
-
getFactoryClass
-
getFactoryClass
-
getFactoryClass
-
getFactoryClass
-
getFactoryClass
-
getFactoryClass
-
getFactoryClass
-
getFactoryClass
-
getFactoryClass
-
getReturnType
-
toClass
-
callerClassProvider
-
cppNormalizedSignature
-
isAvailableQtLibrary
-
isAvailableLibrary
-
loadQtLibrary
public static void loadQtLibrary(Class<?> callerClass, String library, QtUtilities.LibraryRequirementMode libraryRequirementMode, String... platforms) -
loadUtilityLibrary
public static void loadUtilityLibrary(String library, String version, QtUtilities.LibraryRequirementMode libraryRequirementMode, String... platforms) -
loadLibrary
-
jambiDeploymentDir
-
loadQtJambiLibrary
-
loadJambiLibrary
-
majorVersion
public static int majorVersion() -
minorVersion
public static int minorVersion() -
qtjambiPatchVersion
public static int qtjambiPatchVersion() -
qtJambiLibraryPath
-
qtLibraryPath
-
isMinGWBuilt
public static boolean isMinGWBuilt() -
osArchName
-
createMetaType
-
getArrayListFactory
-