java.lang.Object
io.qt.internal.QtJambiInternal
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic classstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final charstatic final charstatic final boolean -
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 ObjectfetchField(Object owner, Field f) 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(Object sender, String name, Class<?>... types) static <T> Class<T>getClass(T object) static MethodHandlegetConstructorHandle(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 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 <T> TinvokeContructor(Constructor<T> constructor, Object... args) static ObjectinvokeInterfaceDefaultMethod(Method method, Object object, Object... args) static ObjectinvokeMethod(Method method, Object object, Object... args) static booleanisAvailableLibrary(String library, String version) static booleanisAvailableQtLibrary(Class<?> callerClass, String library) static booleanstatic booleanstatic booleanisObjectDisposed(QtJambiObject object) static booleanisObjectDisposed(QtObjectInterface object) static booleanisSharedPointer(QtObjectInterface object) static Filestatic Class<?>javaTypeForMetaTypeId(int metaTypeId) static QtJambiInternal.LambdaInfolambdaInfo(Serializable slotObject) static voidloadJambiLibrary(Class<?> callerClass, String library) static voidloadLibrary(String lib) static voidloadQtJambiLibrary(Class<?> callerClass, String library) static voidloadQtLibrary(Class<?> callerClass, String library, QtUtilities.LibraryRequirementMode libraryRequirementMode, String... platforms) static voidloadUtilityLibrary(String library, String version, QtUtilities.LibraryRequirementMode libraryRequirementMode, String... platforms) static intstatic intmetaTypeId(Class<?> clazz) static intstatic intnextMetaTypeId(Class<?> clazz) static longobjectHash(Object object) static intstatic Stringstatic QtJambiInternal.Ownershipstatic QtJambiInternal.Ownershipownership(QtObjectInterface object) static Stringstatic Stringstatic intstatic Stringstatic <T> voidregisterDataStreamOperators(int metaType, Class<?> classType, BiConsumer<QDataStream, T> datastreamInFn, Function<QDataStream, T> datastreamOutFn) static <T> voidregisterDebugStreamOperator(int metaType, Class<?> classType, BiConsumer<QDebug, T> debugstreamFn) static intregisterMetaType(Class<?> clazz) static intregisterMetaType(Class<?> clazz, int[] instantiations) static intregisterMetaType(Class<?> clazz, Type genericType, AnnotatedElement annotatedType, boolean isPointer, boolean isReference) static SerializedLambdaserializeLambdaExpression(Serializable slotObject) static voidstatic QtJambiInternal.Monitorstatic Class<?>static booleantryIsObjectDisposed(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'sclass 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
-