All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.core.QMetaObject Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
/****************************************************************************
**
** Copyright (C) 2009-2024 Dr. Peter Droste, Omix Visualization GmbH & Co. KG. All rights reserved.
**
** This file is part of Qt Jambi.
**
** $BEGIN_LICENSE$
** GNU Lesser General Public License Usage
** This file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file.  Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
** 
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3.0 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file.  Please review the following information to
** ensure the GNU General Public License version 3.0 requirements will be
** met: http://www.gnu.org/copyleft/gpl.html.
** $END_LICENSE$

**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
****************************************************************************/
package io.qt.core;

import static io.qt.core.QMetaMethod.fromReflectedMethod;
import static io.qt.internal.MetaTypeUtility.internalNameOfArgumentType;
import static io.qt.internal.MetaTypeUtility.internalTypeName;
import static io.qt.internal.MetaTypeUtility.internalTypeNameOfClass;

import java.io.Serializable;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.lang.reflect.Parameter;
import java.lang.reflect.ParameterizedType;
import java.lang.reflect.Proxy;
import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import java.util.concurrent.atomic.AtomicReference;
import java.util.function.Consumer;
import java.util.function.Supplier;
import java.util.logging.Level;
import java.util.logging.Logger;

import io.qt.NonNull;
import io.qt.Nullable;
import io.qt.QFlags;
import io.qt.QNoDefaultValueException;
import io.qt.QNoSuchMethodException;
import io.qt.QNoSuchSlotException;
import io.qt.QUnsuccessfulInvocationException;
import io.qt.QtAbstractEnumerator;
import io.qt.QtEnumerator;
import io.qt.QtGadget;
import io.qt.QtObjectInterface;
import io.qt.QtSignalEmitterInterface;
import io.qt.QtThreadAffineInterface;
import io.qt.QtUninvokable;
import io.qt.StrictNonNull;
import io.qt.internal.ClassAnalyzerUtility;

/**
 * 

Java wrapper for Qt class QMetaObject

*/ public final class QMetaObject { static { QtJambi_LibraryUtilities.initialize(); } private static final char SlotPrefix = '1'; private static final char SignalPrefix = '2'; @Override public String toString() { return metaObjectPointer==0 ? super.toString() : "QMetaObject(" + className() + ")"; } private static class EnumEntries{ EnumEntries(QtEnumerator[] entries) { super(); this.entries = entries; } final QtEnumerator[] entries; private Map enumConstantDirectory; private Map enumeratorConstantDirectory; @QtUninvokable Map enumConstantDirectory() { if(enumConstantDirectory==null) { enumConstantDirectory = new TreeMap<>(); for(QtEnumerator entry : entries) { enumConstantDirectory.put(entry.name(), entry); } } return enumConstantDirectory; } @QtUninvokable Map enumeratorConstantDirectory() { if(enumConstantDirectory==null) { enumeratorConstantDirectory = new TreeMap<>(); for(QtEnumerator entry : entries) { if(!enumeratorConstantDirectory.containsKey(entry.value())) enumeratorConstantDirectory.put(entry.value(), entry); } } return enumeratorConstantDirectory; } } private static final Class flagsWrapperClass; static { Class flagsClass = null; for(Class cls : QFlags.class.getDeclaredClasses()) { if(QFlags.class.isAssignableFrom(cls) && !Modifier.isAbstract(cls.getModifiers())) { flagsClass = cls; } } flagsWrapperClass = flagsClass; } final long metaObjectPointer; private Class[] enumClasses; private Map enumEntries; private QMetaObject(long metaObjectPointer) { this.metaObjectPointer = metaObjectPointer; } @QtUninvokable synchronized Class enumType(QMetaEnum enumerator){ if(enumClasses==null) enumClasses = new Class[enumeratorCount(metaObjectPointer)]; if(enumClasses[enumeratorIndex(enumerator)]==null) { boolean isFlag = enumerator.isFlag(); String name = enumerator.name(); Class foundClass = null; Class enumeratorClass = null; Class flagsClass = null; Class exactDeclaringType = exactType(metaObjectPointer); if(exactDeclaringType!=null) { for(Class cls : exactDeclaringType.getDeclaredClasses()) { if(QtAbstractEnumerator.class.isAssignableFrom(cls) || QFlags.class.isAssignableFrom(cls)) { if(cls.getSimpleName().equals(name)) { foundClass = cls; break; } } } if(foundClass!=null) { if(isFlag) { if(QtAbstractEnumerator.class.isAssignableFrom(foundClass)) { enumeratorClass = foundClass; flagsClass = getFlagFromEnum(exactDeclaringType, foundClass); }else{ flagsClass = foundClass; enumeratorClass = getEnumFromFlag(foundClass); } }else { if(QtAbstractEnumerator.class.isAssignableFrom(foundClass)) { flagsClass = getFlagFromEnum(exactDeclaringType, foundClass); enumeratorClass = foundClass; }else{ flagsClass = foundClass; enumeratorClass = getEnumFromFlag(foundClass); } } } } if(isFlag && flagsClass==null){ if(enumeratorClass==null) { QMetaEnum enmType = findEnumForFlags(metaObjectPointer, enumeratorIndex(enumerator)); if(enmType!=null) { enumeratorClass = enmType.type(); } } if(enumeratorClass==null) { enumeratorClass = QtEnumerator.class; } flagsClass = flagsWrapperClass; }else if(!isFlag && enumeratorClass==null){ enumeratorClass = QtEnumerator.class; generateEnumEntries(enumerator); } if(isFlag) { generateEnumEntries(enumerator); } enumClasses[enumeratorIndex(enumerator)] = isFlag ? flagsClass : enumeratorClass; } return enumClasses[enumeratorIndex(enumerator)]; } @QtUninvokable private void generateEnumEntries(QMetaEnum enumerator) { if(enumEntries==null) enumEntries = new HashMap<>(); ClassLoader cl = type().getClassLoader(); Class[] ifc = new Class[] {QtEnumerator.class}; QtEnumerator[] entries = new QtEnumerator[enumerator.keyCount()]; for (int i = 0; i < entries.length; i++) { entries[i] = (QtEnumerator)Proxy.newProxyInstance(cl, ifc, new Enumerator(i, enumerator.key(i), enumerator.value(i))); } enumEntries.put(enumeratorIndex(enumerator), new EnumEntries(entries)); } @QtUninvokable QtAbstractEnumerator[] enumEntries(QMetaEnum enumerator) { QtAbstractEnumerator[] entries; Class type = enumerator.type(); if(type.isEnum()) { entries = (QtAbstractEnumerator[])type.getEnumConstants(); }else if(enumEntries!=null){ EnumEntries ee = enumEntries.get(enumeratorIndex(enumerator)); if(ee==null) { entries = new QtAbstractEnumerator[0]; }else{ entries = Arrays.copyOf(ee.entries, ee.entries.length); } }else { entries = new QtAbstractEnumerator[0]; } return entries; } @QtUninvokable QtAbstractEnumerator enumEntry(QMetaEnum enumerator, int index) { Class type = enumerator.type(); if(type.isEnum()) { return (QtAbstractEnumerator)type.getEnumConstants()[index]; }else if(enumEntries!=null){ EnumEntries ee = enumEntries.get(enumeratorIndex(enumerator)); if(ee==null) { return null; }else{ return ee.entries[index]; } }else { return null; } } @SuppressWarnings({ "unchecked", "rawtypes" }) @QtUninvokable QtAbstractEnumerator enumEntry(QMetaEnum enumerator, String name) { Class type = enumerator.type(); if(type.isEnum()) { return (QtAbstractEnumerator)Enum.valueOf((Class)type, name); }else if(enumEntries!=null){ EnumEntries ee = enumEntries.get(enumeratorIndex(enumerator)); if(ee==null) { return null; }else{ return ee.enumConstantDirectory().get(name); } }else { return null; } } private static class Enumerator implements InvocationHandler{ private Enumerator(int ordinal, String name, int value) { super(); this.ordinal = ordinal; this.name = name; this.value = value; } private final int ordinal; private final String name; private final int value; @Override @QtUninvokable public Object invoke(Object proxy, Method method, Object[] args) { switch(method.getName()) { case "ordinal": return ordinal; case "value": return value; case "toString": case "name": return name; case "getDeclaringClass": return QtEnumerator.class; } return null; } } @QtUninvokable private static native QMetaEnum findEnumForFlags(long metaObjectPointer, int enumeratorIndex); @QtUninvokable private static Class getFlagFromEnum(Class exactDeclaringType, Class type) { for(Class flagsType : exactDeclaringType.getDeclaredClasses()) { if(QFlags.class.isAssignableFrom(flagsType) && flagsType.getGenericSuperclass() instanceof ParameterizedType) { ParameterizedType pt = (ParameterizedType)flagsType.getGenericSuperclass(); Type[] typeArguments = pt.getActualTypeArguments(); if(typeArguments.length==1 && typeArguments[0] instanceof Class) { if(typeArguments[0]==type) { return flagsType; } } } } return null; } @QtUninvokable private static Class getEnumFromFlag(Class type) { if(type.getGenericSuperclass() instanceof ParameterizedType) { ParameterizedType pt = (ParameterizedType)type.getGenericSuperclass(); Type[] typeArguments = pt.getActualTypeArguments(); if(typeArguments.length==1 && typeArguments[0] instanceof Class) { if(typeArguments[0]==type) { return (Class)typeArguments[0]; } } } return null; } /** * Represents a handle to a signal-slot (or signal-functor) connection. * * It can be used to check if the connection is valid and to disconnect it using {@link QObject#disconnect(Connection)}. * For a signal-functor connection without a context object, it is the only way to selectively disconnect that connection. * * As Connection is just a handle, the underlying signal-slot connection is unaffected when Connection is destroyed or reassigned. */ public static interface Connection{ /** * Returns true if the connection is valid. */ public boolean isConnected(); /** * Provides the sender of the connected signal. * @return sender */ public QtSignalEmitterInterface sender(); /** * Provides the receiver of the signal-slot connection. * @return receiver */ public Object receiver(); } /** * Enum representing meta calls. */ @SuppressWarnings("unused") public enum Call implements QtEnumerator{ InvokeMetaMethod(0), ReadProperty(1), WriteProperty(2), ResetProperty(3), CreateInstance(QtJambi_LibraryUtilities.qtMajorVersion>5 ? 9 : 4), IndexOfMethod(QtJambi_LibraryUtilities.qtMajorVersion>5 ? 10 : 5), RegisterPropertyMetaType(QtJambi_LibraryUtilities.qtMajorVersion>5 ? 11 : 6), RegisterMethodArgumentMetaType(QtJambi_LibraryUtilities.qtMajorVersion>5 ? 12 : 7); private Call(int value) { this.value = value; } private final int value; public static Call resolve(int value) { switch (value) { case 0: return InvokeMetaMethod; case 1: return ReadProperty; case 2: return WriteProperty; case 3: return ResetProperty; case 4: if(QtJambi_LibraryUtilities.qtMajorVersion>5) return CreateInstance; else return QtJambi_LibraryUtilities.internal.resolveEnum(Call.class, value, "QueryPropertyDesignable"); case 5: if(QtJambi_LibraryUtilities.qtMajorVersion>5) return IndexOfMethod; else return QtJambi_LibraryUtilities.internal.resolveEnum(Call.class, value, "QueryPropertyScriptable"); case 6: if(QtJambi_LibraryUtilities.qtMajorVersion>5) return RegisterPropertyMetaType; else return QtJambi_LibraryUtilities.internal.resolveEnum(Call.class, value, "QueryPropertyStored"); case 7: if(QtJambi_LibraryUtilities.qtMajorVersion>5) return RegisterMethodArgumentMetaType; else return QtJambi_LibraryUtilities.internal.resolveEnum(Call.class, value, "QueryPropertyEditable"); case 8: if(QtJambi_LibraryUtilities.qtMajorVersion>5) return QtJambi_LibraryUtilities.internal.resolveEnum(Call.class, value, "RegisterQPropertyObserver"); else return QtJambi_LibraryUtilities.internal.resolveEnum(Call.class, value, "QueryPropertyUser"); case 9: if(QtJambi_LibraryUtilities.qtMajorVersion>5) return QtJambi_LibraryUtilities.internal.resolveEnum(Call.class, value, "SetQPropertyBinding"); else return CreateInstance; case 10: if(QtJambi_LibraryUtilities.qtMajorVersion>5) throw new io.qt.QNoSuchEnumValueException(value); else return IndexOfMethod; case 11: if(QtJambi_LibraryUtilities.qtMajorVersion>5) throw new io.qt.QNoSuchEnumValueException(value); else return RegisterPropertyMetaType; case 12: if(QtJambi_LibraryUtilities.qtMajorVersion>5) throw new io.qt.QNoSuchEnumValueException(value); else return RegisterMethodArgumentMetaType; default: throw new io.qt.QNoSuchEnumValueException(value); } } @Override public int value() { return value; } } @QtUninvokable public QMetaProperty userProperty() { return userProperty(this.metaObjectPointer); } @QtUninvokable private native QMetaProperty userProperty(long metaObjectPointer); @QtUninvokable public QList properties() { return properties(this.metaObjectPointer); } @QtUninvokable private native QList properties(long metaObjectPointer); @QtUninvokable public int propertyCount() { return propertyCount(metaObjectPointer); } @QtUninvokable private static native int propertyCount(long metaObjectPointer); @QtUninvokable public QMetaProperty property(String name) { return property(this.metaObjectPointer, name); } @QtUninvokable private native QMetaProperty property(long metaObjectPointer, String name); @QtUninvokable public QMetaProperty property(int index) { return propertyByIndex(this.metaObjectPointer, index); } @QtUninvokable private native QMetaProperty propertyByIndex(long metaObjectPointer, int index); @QtUninvokable public QList enumerators() { return enumerators(this.metaObjectPointer); } @QtUninvokable private static native QList enumerators(long metaObjectPointer); @QtUninvokable public int enumeratorCount() { return enumeratorCount(metaObjectPointer); } @QtUninvokable private static native int enumeratorCount(long metaObjectPointer); @QtUninvokable public io.qt.core.QMetaEnum enumerator(String name) { return enumerator(this.metaObjectPointer, name); } @QtUninvokable private static native QMetaEnum enumerator(long metaObjectPointer, String name); @QtUninvokable public io.qt.core.QMetaEnum enumerator(int index) { return enumeratorByIndex(this.metaObjectPointer, index); } @QtUninvokable private static native QMetaEnum enumeratorByIndex(long metaObjectPointer, int index); @QtUninvokable public static void connectSlotsByName(QObject object) { connectSlotsByName(QtJambi_LibraryUtilities.internal.checkedNativeId(object)); } @QtUninvokable private static native void connectSlotsByName(long object); @QtUninvokable static native QMetaObject.@NonNull Connection connect(QObject sender, String signal, QObject receiver, String slot, byte connection); @QtUninvokable static native QMetaObject.Connection connectMethods(QObject sender, int signalIdx, long signalEnclosingMetaObject, QObject receiver, int slotIdx, long EnclosingMetaObject, byte connection); @QtUninvokable static native boolean disconnect(QObject sender, String signal, QObject receiver, String slot); @QtUninvokable static native boolean disconnectMethods(QObject sender, int signalIdx, long signalEnclosingMetaObject, QObject receiver, int slotIdx, long EnclosingMetaObject); static String internalNameOfType(Class cls) { return internalNameOfArgumentType(cls); } @QtUninvokable public final QMetaMethod method(int methodIndex) { return methodByIndex(metaObjectPointer, methodIndex); } @QtUninvokable private native QMetaMethod methodByIndex(long metaObjectPointer, int index); @QtUninvokable public QMetaMethod method(String name, Class... parameterTypes) { if(name==null) return null; QMetaMethod method; int idx = name.indexOf('('); if(parameterTypes.length==0 && idx>0) { int spacePos = name.substring(0, idx).trim().lastIndexOf(' '); if (idx > spacePos && spacePos > 0) throw new RuntimeException(String.format("Do not specify return type in slot signature: '%1$s'", name)); String cppNormalizedSignature = cppNormalizedSignature(name, this.type()); method = method(metaObjectPointer, cppNormalizedSignature); if(method==null) method = method(metaObjectPointer, cppNormalizedSignature+"const"); }else { StringBuilder args = new StringBuilder(); for(int i=0; i methods(){ return methods(metaObjectPointer); } @QtUninvokable private native QList methods(long metaObjectPointer); @QtUninvokable public final int methodCount(){ return methodCount(metaObjectPointer); } @QtUninvokable private native int methodCount(long metaObjectPointer); @QtUninvokable public QMetaMethod constructor(Class... parameterTypes) { StringBuilder args = new StringBuilder(); for(int i=0; i constructors(){ return constructors(metaObjectPointer); } @QtUninvokable private native QList constructors(long metaObjectPointer); @QtUninvokable public final int constructorCount(){ return constructorCount(metaObjectPointer); } @QtUninvokable private native int constructorCount(long metaObjectPointer); @QtUninvokable public QObject newInstance(Object... args) throws NoSuchMethodException { if (!inherits(QObject.staticMetaObject)) { throw new RuntimeException(String.format("Type %1$s does not inherit QObject", className())); } if(constructorCount()==0) { throw new UnsupportedOperationException("No constructors available."); } QMetaMethod constr = null; QList constructors = constructors(); for(QMetaMethod constructor : constructors.clone()) { List> parameterTypes = constructor.parameterClassTypes(); if(parameterTypes.size()!=args.length) { constructors.remove(constructor); }else{ boolean matches = true; for(int i=0; i parameterType = parameterTypes.get(i); if(parameterType.isPrimitive()) { if(args[i]==null) { matches = false; break; }else{ if(parameterType==long.class && !(args[i] instanceof Long || args[i] instanceof Integer || args[i] instanceof Short || args[i] instanceof Byte)) { matches = false; break; }else if(parameterType==int.class && !(args[i] instanceof Integer || args[i] instanceof Short || args[i] instanceof Byte)) { matches = false; break; }else if(parameterType==short.class && !(args[i] instanceof Short || args[i] instanceof Byte)) { matches = false; break; }else if(parameterType==byte.class && !(args[i] instanceof Byte)) { matches = false; break; }else if(parameterType==double.class && !(args[i] instanceof Double || args[i] instanceof Float || args[i] instanceof Long || args[i] instanceof Integer || args[i] instanceof Short || args[i] instanceof Byte)) { matches = false; break; }else if(parameterType==float.class && !(args[i] instanceof Float || args[i] instanceof Integer || args[i] instanceof Short || args[i] instanceof Byte)) { matches = false; break; }else if(parameterType==boolean.class && !(args[i] instanceof Boolean)) { matches = false; break; }else if(parameterType==char.class && !(args[i] instanceof Character)) { matches = false; break; }else if(parameterType==void.class) { matches = false; break; } } }else if(args[i]!=null && !parameterType.isInstance(args[i])) { matches = false; break; } } if(!matches) { constructors.remove(constructor); } } } if(!constructors.isEmpty()) { constr = constructors.get(0); } if(constr==null) { StringBuilder argsStrg = new StringBuilder(); for(int i=0; i> classInfos(){ return classInfos(metaObjectPointer); } @QtUninvokable private static native QList> classInfos(long metaObjectPointer); @QtUninvokable public int classInfoCount() { return classInfoCount(metaObjectPointer); } @QtUninvokable private static native int classInfoCount(long metaObjectPointer); @QtUninvokable public String classInfo(String name){ return classInfo(metaObjectPointer, name); } @QtUninvokable private static native String classInfo(long metaObjectPointer, String name); /** * Returns true if the class described by this QMetaObject inherits the type described by metaObject; otherwise returns false. * A type is considered to inherit itself. * @param metaObject * @return inherits */ @QtUninvokable public boolean inherits(QMetaObject metaObject){ return metaObject!=null && inherits(metaObjectPointer, metaObject.metaObjectPointer); } @QtUninvokable private static native boolean inherits(long metaObjectPointer, long other); /** * Casts an object to the given targetType. Returns null if object is not instance of targetType. * @param type * @param targetType * @param object * @return the object as targetType or null */ @QtUninvokable public static T cast(Class targetType, QtObjectInterface object) { io.qt.QtUtilities.initializePackage(targetType); if(object==null || targetType.isInstance(object)) { return targetType.cast(object); } return targetType.cast(cast(object, targetType)); } @QtUninvokable private static native Object cast(QtObjectInterface object, Class targetType); @QtUninvokable public @Nullable Class type(){ return type(metaObjectPointer); } @QtUninvokable private static native Class type(long metaObjectPointer); @QtUninvokable public static native @Nullable QMetaObject forType(@Nullable Class clazz); @QtUninvokable private static native Class exactType(long metaObjectPointer); @QtUninvokable public static boolean checkConnectArgs(String signal, String method) { return checkConnectArgsString(SignalPrefix+cppNormalizedSignature(signal, null), SlotPrefix+cppNormalizedSignature(method, null)); } @QtUninvokable private native static boolean checkConnectArgsString(String signal, String method); @QtUninvokable public static boolean checkConnectArgs(QMetaMethod signal, QMetaMethod method){ return checkConnectArgsMethods(signal.enclosingMetaObject().metaObjectPointer, signal.methodIndex(), method.enclosingMetaObject().metaObjectPointer, method.methodIndex()); } @QtUninvokable private static native boolean checkConnectArgsMethods(long signalMetaObjectPointer, int signalMethodIndex, long methodMetaObjectPointer, int methodMethodIndex); /** * Calling invokeMethod(obj, AutoConnection, args). * @param obj object * @param member method name * @param args arguments * @return method result value if any - if the invocation is asynchronous, the return value cannot be evaluated. * @throws QUnsuccessfulInvocationException if not able to invoke slot * @throws QNoSuchMethodException if method not available */ @QtUninvokable public static Object invokeMethod(QObject obj, String member, Object... args) throws QUnsuccessfulInvocationException, QNoSuchMethodException { return invokeMethod(obj, member, Qt.ConnectionType.AutoConnection, args); } /** *

Invokes the given method on the given object and returns it's result value.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
*

If the invocation is asynchronous, the return value cannot be evaluated.

* * @param obj object * @param member method name * @param args arguments * @return method result value if any - if the invocation is asynchronous, the return value cannot be evaluated. * @throws QUnsuccessfulInvocationException if not able to invoke slot * @throws QNoSuchMethodException if method not available */ @QtUninvokable public static Object invokeMethod(QObject obj, String member, Qt.@NonNull ConnectionType type, Object... args) throws QUnsuccessfulInvocationException, QNoSuchMethodException { Class[] parameterTypes; if(member.contains("(")) { parameterTypes = new Class[0]; }else { parameterTypes = new Class[args.length]; for (int i = 0; i < parameterTypes.length; i++) { if(args[i]==null) { parameterTypes[i] = Object.class; }else { if(args[i].getClass().isSynthetic()) { if(args[i].getClass().getInterfaces().length>1) { parameterTypes[i] = args[i].getClass().getInterfaces()[0]; }else { parameterTypes[i] = args[i].getClass().getSuperclass(); } }else { parameterTypes[i] = args[i].getClass(); } } } } QMetaMethod method = obj.metaObject().method(member, parameterTypes); if(method==null || !method.isValid()) { throw new QNoSuchMethodException(member); } return method.invoke(obj, type, args); } /** * Calling invokeMethod(method, AutoConnection). * * @param The return type of the method. * @param method invoked method * @return method result value - if the invocation is asynchronous, the return value cannot be evaluated. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static R invokeMethod(@StrictNonNull Method0 method) throws QUnsuccessfulInvocationException { return invokeMethod(method, Qt.ConnectionType.AutoConnection); } /** *

Invokes the method and returns it's result value.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
*

If the invocation is asynchronous, the return value cannot be evaluated.

* * @param The return type of the method. * @param method invoked method * @param type synchronous or asynchronous invocation * @return method result value - if the invocation is asynchronous, the return value cannot be evaluated. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @SuppressWarnings("unchecked") @QtUninvokable public static R invokeMethod(@StrictNonNull Method0 method, Qt.@NonNull ConnectionType type) throws QUnsuccessfulInvocationException { ClassAnalyzerUtility.LambdaInfo info = ClassAnalyzerUtility.lambdaInfo(method); if(info!=null && info.qobject!=null && !info.qobject.isDisposed() && info.reflectiveMethod!=null) { QMetaMethod qmethod = fromReflectedMethod(info.reflectiveMethod); if(qmethod!=null && qmethod.isValid() && qmethod.parameterTypes().size()==info.lambdaArgs.size()) { if(info.lambdaArgs.isEmpty()) { return (R)qmethod.invoke(info.qobject, type); }else { Object[] args = info.lambdaArgs.toArray(); return (R)qmethod.invoke(info.qobject, type, args); } } } if(method instanceof QtObjectInterface) { if( ((QtObjectInterface)method).isDisposed() ) return null; } QThread thread; switch(type) { case AutoConnection: if(method instanceof QtThreadAffineInterface) thread = ((QtThreadAffineInterface) method).thread(); else thread = QObject.getQPropertyThread(info); if(thread!=null && thread!=QThread.currentThread()) { throw new QUnsuccessfulInvocationException("Unable to invoke methods with return values in queued connections (auto connection with different threads)."); } case DirectConnection: try { return method.invoke(); } catch (Throwable e) { throw new QUnsuccessfulInvocationException(e); } case BlockingQueuedConnection: if(method instanceof QtThreadAffineInterface) thread = ((QtThreadAffineInterface) method).thread(); else thread = QObject.getQPropertyThread(info); if(thread!=null && thread!=QThread.currentThread()) { AtomicReference result = new AtomicReference<>(); QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { result.set(method.invoke()); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } synchronized (this) { notifyAll(); } } return super.event(event); } }; invoker.moveToThread(thread); synchronized (invoker) { invoker.disposeLater(); try { invoker.wait(); } catch (InterruptedException e) { throw new QUnsuccessfulInvocationException(e); } } return result.get(); } throw new QUnsuccessfulInvocationException("Blocking-queued invocation of method on not allowed without thread affinity."); case QueuedConnection: throw new QUnsuccessfulInvocationException("Unable to invoke methods with return values in queued connections."); default: break; } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(method, AutoConnection, ...). * * @param The type of the first parameter of the method. * @param The return type of the method. * @param method invoked method * @param arg1 Argument for the first parameter. * @return method result value - if the invocation is asynchronous, the return value cannot be evaluated. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static R invokeMethod(@StrictNonNull Method1 method, A arg1) throws QUnsuccessfulInvocationException { return invokeMethod(method, Qt.ConnectionType.AutoConnection, arg1); } /** *

Invokes the method and returns it's result value.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
*

If the invocation is asynchronous, the return value cannot be evaluated.

* * @param
The type of the first parameter of the method. * @param The return type of the method. * @param method invoked method * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @return method result value - if the invocation is asynchronous, the return value cannot be evaluated. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @SuppressWarnings("unchecked") @QtUninvokable public static R invokeMethod(@StrictNonNull Method1 method, Qt.@NonNull ConnectionType type, A arg1) throws QUnsuccessfulInvocationException { ClassAnalyzerUtility.LambdaInfo info = ClassAnalyzerUtility.lambdaInfo(method); if(info!=null && info.qobject!=null && !info.qobject.isDisposed() && info.reflectiveMethod!=null) { QMetaMethod qmethod = fromReflectedMethod(info.reflectiveMethod); if(qmethod!=null && qmethod.isValid() && qmethod.parameterTypes().size()==info.lambdaArgs.size()+1) { if(info.lambdaArgs.isEmpty()) { return (R)qmethod.invoke(info.qobject, type, arg1); }else { Object[] args = new Object[qmethod.parameterTypes().size()]; args[0] = arg1; System.arraycopy(info.lambdaArgs.toArray(), 0, args, 1, info.lambdaArgs.size()); return (R)qmethod.invoke(info.qobject, type, args); } } } if(method instanceof QtObjectInterface) { if( ((QtObjectInterface)method).isDisposed() ) return null; } QThread thread; switch(type) { case AutoConnection: if(method instanceof QtThreadAffineInterface) thread = ((QtThreadAffineInterface) method).thread(); else thread = QObject.getQPropertyThread(info); if(thread!=null && thread!=QThread.currentThread()) { throw new QUnsuccessfulInvocationException("Unable to invoke methods with return values in queued connections (auto connection with different threads)."); } case DirectConnection: try { return method.invoke(arg1); } catch (Throwable e) { throw new QUnsuccessfulInvocationException(e); } case BlockingQueuedConnection: if(method instanceof QtThreadAffineInterface) thread = ((QtThreadAffineInterface) method).thread(); else thread = QObject.getQPropertyThread(info); if(thread!=null && thread!=QThread.currentThread()) { AtomicReference result = new AtomicReference<>(); QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { result.set(method.invoke(arg1)); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } synchronized (this) { notifyAll(); } } return super.event(event); } }; invoker.moveToThread(thread); synchronized (invoker) { invoker.disposeLater(); try { invoker.wait(); } catch (InterruptedException e) { throw new QUnsuccessfulInvocationException(e); } } return result.get(); } throw new QUnsuccessfulInvocationException("Blocking-queued invocation of method on not allowed without thread affinity."); case QueuedConnection: throw new QUnsuccessfulInvocationException("Unable to invoke methods with return values in queued connections."); default: break; } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(method, AutoConnection, ...). * * @param The type of the first parameter of the method. * @param The type of the second parameter of the method. * @param The return type of the method. * @param method invoked method * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @return method result value - if the invocation is asynchronous, the return value cannot be evaluated. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static R invokeMethod(@StrictNonNull Method2 method, A arg1, B arg2) throws QUnsuccessfulInvocationException { return invokeMethod(method, Qt.ConnectionType.AutoConnection, arg1, arg2); } /** *

Invokes the method and returns it's result value.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
*

If the invocation is asynchronous, the return value cannot be evaluated.

* * @param
The type of the first parameter of the method. * @param The type of the second parameter of the method. * @param The return type of the method. * @param method invoked method * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @return method result value - if the invocation is asynchronous, the return value cannot be evaluated. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @SuppressWarnings("unchecked") @QtUninvokable public static R invokeMethod(@StrictNonNull Method2 method, Qt.@NonNull ConnectionType type, A arg1, B arg2) throws QUnsuccessfulInvocationException { ClassAnalyzerUtility.LambdaInfo info = ClassAnalyzerUtility.lambdaInfo(method); if(info!=null && info.qobject!=null && !info.qobject.isDisposed() && info.reflectiveMethod!=null) { QMetaMethod qmethod = fromReflectedMethod(info.reflectiveMethod); if(qmethod!=null && qmethod.isValid() && qmethod.parameterTypes().size()==info.lambdaArgs.size()+2) { if(info.lambdaArgs.isEmpty()) { return (R)qmethod.invoke(info.qobject, type, arg1, arg2); }else { Object[] args = new Object[qmethod.parameterTypes().size()]; args[0] = arg1; args[1] = arg2; System.arraycopy(info.lambdaArgs.toArray(), 0, args, 2, info.lambdaArgs.size()); return (R)qmethod.invoke(info.qobject, type, args); } } } if(method instanceof QtObjectInterface) { if( ((QtObjectInterface)method).isDisposed() ) return null; } switch(type) { case AutoConnection: if(method instanceof QtThreadAffineInterface) { QThread thread = ((QtThreadAffineInterface) method).thread(); if(thread!=null && thread!=QThread.currentThread()) { throw new QUnsuccessfulInvocationException("Unable to invoke methods with return values in queued connections (auto connection with different threads)."); } } case DirectConnection: try { return method.invoke(arg1, arg2); } catch (Throwable e) { throw new QUnsuccessfulInvocationException(e); } case BlockingQueuedConnection: if(method instanceof QtThreadAffineInterface) { QThread thread = ((QtThreadAffineInterface) method).thread(); if(thread!=null && thread!=QThread.currentThread()) { AtomicReference result = new AtomicReference<>(); QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { result.set(method.invoke(arg1, arg2)); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } synchronized (this) { notifyAll(); } } return super.event(event); } }; invoker.moveToThread(thread); synchronized (invoker) { invoker.disposeLater(); try { invoker.wait(); } catch (InterruptedException e) { throw new QUnsuccessfulInvocationException(e); } } return result.get(); } } throw new QUnsuccessfulInvocationException("Blocking-queued invocation of method on not allowed without thread affinity."); case QueuedConnection: throw new QUnsuccessfulInvocationException("Unable to invoke methods with return values in queued connections."); default: break; } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(method, AutoConnection, ...). * * @param The type of the first parameter of the method. * @param The type of the second parameter of the method. * @param The type of the third parameter of the method. * @param The return type of the method. * @param method invoked method * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @return method result value - if the invocation is asynchronous, the return value cannot be evaluated. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static R invokeMethod(@StrictNonNull Method3 method, A arg1, B arg2, C arg3) throws QUnsuccessfulInvocationException { return invokeMethod(method, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3); } /** *

Invokes the method and returns it's result value.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
*

If the invocation is asynchronous, the return value cannot be evaluated.

* * @param
The type of the first parameter of the method. * @param The type of the second parameter of the method. * @param The type of the third parameter of the method. * @param The return type of the method. * @param method invoked method * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @return method result value - if the invocation is asynchronous, the return value cannot be evaluated. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @SuppressWarnings("unchecked") @QtUninvokable public static R invokeMethod(@StrictNonNull Method3 method, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3) throws QUnsuccessfulInvocationException { ClassAnalyzerUtility.LambdaInfo info = ClassAnalyzerUtility.lambdaInfo(method); if(info!=null && info.qobject!=null && !info.qobject.isDisposed() && info.reflectiveMethod!=null) { QMetaMethod qmethod = fromReflectedMethod(info.reflectiveMethod); if(qmethod!=null && qmethod.isValid() && qmethod.parameterTypes().size()==info.lambdaArgs.size()+3) { if(info.lambdaArgs.isEmpty()) { return (R)qmethod.invoke(info.qobject, type, arg1, arg2, arg3); }else { Object[] args = new Object[qmethod.parameterTypes().size()]; args[0] = arg1; args[1] = arg2; args[2] = arg3; System.arraycopy(info.lambdaArgs.toArray(), 0, args, 3, info.lambdaArgs.size()); return (R)qmethod.invoke(info.qobject, type, args); } } } if(method instanceof QtObjectInterface) { if( ((QtObjectInterface)method).isDisposed() ) return null; } switch(type) { case AutoConnection: if(method instanceof QtThreadAffineInterface) { QThread thread = ((QtThreadAffineInterface) method).thread(); if(thread!=null && thread!=QThread.currentThread()) { throw new QUnsuccessfulInvocationException("Unable to invoke methods with return values in queued connections (auto connection with different threads)."); } } case DirectConnection: try { return method.invoke(arg1, arg2, arg3); } catch (Throwable e) { throw new QUnsuccessfulInvocationException(e); } case BlockingQueuedConnection: if(method instanceof QtThreadAffineInterface) { QThread thread = ((QtThreadAffineInterface) method).thread(); if(thread!=null && thread!=QThread.currentThread()) { AtomicReference result = new AtomicReference<>(); QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { result.set(method.invoke(arg1, arg2, arg3)); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } synchronized (this) { notifyAll(); } } return super.event(event); } }; invoker.moveToThread(thread); synchronized (invoker) { invoker.disposeLater(); try { invoker.wait(); } catch (InterruptedException e) { throw new QUnsuccessfulInvocationException(e); } } return result.get(); } } throw new QUnsuccessfulInvocationException("Blocking-queued invocation of method on not allowed without thread affinity."); case QueuedConnection: throw new QUnsuccessfulInvocationException("Unable to invoke methods with return values in queued connections."); default: break; } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(method, AutoConnection, ...). * * @param The type of the first parameter of the method. * @param The type of the second parameter of the method. * @param The type of the third parameter of the method. * @param The type of the fourth parameter of the method. * @param The return type of the method. * @param method invoked method * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @return method result value - if the invocation is asynchronous, the return value cannot be evaluated. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static R invokeMethod(@StrictNonNull Method4 method, A arg1, B arg2, C arg3, D arg4) throws QUnsuccessfulInvocationException { return invokeMethod(method, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4); } /** *

Invokes the method and returns it's result value.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
*

If the invocation is asynchronous, the return value cannot be evaluated.

* * @param
The type of the first parameter of the method. * @param The type of the second parameter of the method. * @param The type of the third parameter of the method. * @param The type of the fourth parameter of the method. * @param The return type of the method. * @param method invoked method * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @return method result value - if the invocation is asynchronous, the return value cannot be evaluated. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @SuppressWarnings("unchecked") @QtUninvokable public static R invokeMethod(@StrictNonNull Method4 method, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4) throws QUnsuccessfulInvocationException { ClassAnalyzerUtility.LambdaInfo info = ClassAnalyzerUtility.lambdaInfo(method); if(info!=null && info.qobject!=null && !info.qobject.isDisposed() && info.reflectiveMethod!=null) { QMetaMethod qmethod = fromReflectedMethod(info.reflectiveMethod); if(qmethod!=null && qmethod.isValid() && qmethod.parameterTypes().size()==info.lambdaArgs.size()+4) { if(info.lambdaArgs.isEmpty()) { return (R)qmethod.invoke(info.qobject, type, arg1, arg2, arg3, arg4); }else { Object[] args = new Object[qmethod.parameterTypes().size()]; args[0] = arg1; args[1] = arg2; args[2] = arg3; args[3] = arg4; System.arraycopy(info.lambdaArgs.toArray(), 0, args, 4, info.lambdaArgs.size()); return (R)qmethod.invoke(info.qobject, type, args); } } } if(method instanceof QtObjectInterface) { if( ((QtObjectInterface)method).isDisposed() ) return null; } switch(type) { case AutoConnection: if(method instanceof QtThreadAffineInterface) { QThread thread = ((QtThreadAffineInterface) method).thread(); if(thread!=null && thread!=QThread.currentThread()) { throw new QUnsuccessfulInvocationException("Unable to invoke methods with return values in queued connections (auto connection with different threads)."); } } case DirectConnection: try { return method.invoke(arg1, arg2, arg3, arg4); } catch (Throwable e) { throw new QUnsuccessfulInvocationException(e); } case BlockingQueuedConnection: if(method instanceof QtThreadAffineInterface) { QThread thread = ((QtThreadAffineInterface) method).thread(); if(thread!=null && thread!=QThread.currentThread()) { AtomicReference result = new AtomicReference<>(); QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { result.set(method.invoke(arg1, arg2, arg3, arg4)); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } synchronized (this) { notifyAll(); } } return super.event(event); } }; invoker.moveToThread(thread); synchronized (invoker) { invoker.disposeLater(); try { invoker.wait(); } catch (InterruptedException e) { throw new QUnsuccessfulInvocationException(e); } } return result.get(); } } throw new QUnsuccessfulInvocationException("Blocking-queued invocation of method on not allowed without thread affinity."); case QueuedConnection: throw new QUnsuccessfulInvocationException("Unable to invoke methods with return values in queued connections."); default: break; } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(method, AutoConnection, ...). * * @param The type of the first parameter of the method. * @param The type of the second parameter of the method. * @param The type of the third parameter of the method. * @param The type of the fourth parameter of the method. * @param The type of the fifth parameter of the method. * @param The return type of the method. * @param method invoked method * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @return method result value - if the invocation is asynchronous, the return value cannot be evaluated. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static R invokeMethod(@StrictNonNull Method5 method, A arg1, B arg2, C arg3, D arg4, E arg5) throws QUnsuccessfulInvocationException { return invokeMethod(method, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5); } /** *

Invokes the method and returns it's result value.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
*

If the invocation is asynchronous, the return value cannot be evaluated.

* * @param
The type of the first parameter of the method. * @param The type of the second parameter of the method. * @param The type of the third parameter of the method. * @param The type of the fourth parameter of the method. * @param The type of the fifth parameter of the method. * @param The return type of the method. * @param method invoked method * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @return method result value - if the invocation is asynchronous, the return value cannot be evaluated. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @SuppressWarnings("unchecked") @QtUninvokable public static R invokeMethod(@StrictNonNull Method5 method, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5) throws QUnsuccessfulInvocationException { ClassAnalyzerUtility.LambdaInfo info = ClassAnalyzerUtility.lambdaInfo(method); if(info!=null && info.qobject!=null && !info.qobject.isDisposed() && info.reflectiveMethod!=null) { QMetaMethod qmethod = fromReflectedMethod(info.reflectiveMethod); if(qmethod!=null && qmethod.isValid() && qmethod.parameterTypes().size()==info.lambdaArgs.size()+5) { if(info.lambdaArgs.isEmpty()) { return (R)qmethod.invoke(info.qobject, type, arg1, arg2, arg3, arg4, arg5); }else { Object[] args = new Object[qmethod.parameterTypes().size()]; args[0] = arg1; args[1] = arg2; args[2] = arg3; args[3] = arg4; args[4] = arg5; System.arraycopy(info.lambdaArgs.toArray(), 0, args, 5, info.lambdaArgs.size()); return (R)qmethod.invoke(info.qobject, type, args); } } if(qmethod!=null) { return (R)qmethod.invoke(info.qobject, type, arg1, arg2, arg3, arg4, arg5); } } if(method instanceof QtObjectInterface) { if( ((QtObjectInterface)method).isDisposed() ) return null; } switch(type) { case AutoConnection: if(method instanceof QtThreadAffineInterface) { QThread thread = ((QtThreadAffineInterface) method).thread(); if(thread!=null && thread!=QThread.currentThread()) { throw new QUnsuccessfulInvocationException("Unable to invoke methods with return values in queued connections (auto connection with different threads)."); } } case DirectConnection: try { return method.invoke(arg1, arg2, arg3, arg4, arg5); } catch (Throwable e) { throw new QUnsuccessfulInvocationException(e); } case BlockingQueuedConnection: if(method instanceof QtThreadAffineInterface) { QThread thread = ((QtThreadAffineInterface) method).thread(); if(thread!=null && thread!=QThread.currentThread()) { AtomicReference result = new AtomicReference<>(); QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { result.set(method.invoke(arg1, arg2, arg3, arg4, arg5)); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } synchronized (this) { notifyAll(); } } return super.event(event); } }; invoker.moveToThread(thread); synchronized (invoker) { invoker.disposeLater(); try { invoker.wait(); } catch (InterruptedException e) { throw new QUnsuccessfulInvocationException(e); } } return result.get(); } } throw new QUnsuccessfulInvocationException("Blocking-queued invocation of method on not allowed without thread affinity."); case QueuedConnection: throw new QUnsuccessfulInvocationException("Unable to invoke methods with return values in queued connections."); default: break; } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(method, AutoConnection, ...). * * @param The type of the first parameter of the method. * @param The type of the second parameter of the method. * @param The type of the third parameter of the method. * @param The type of the fourth parameter of the method. * @param The type of the fifth parameter of the method. * @param The type of the sixth parameter of the method. * @param The return type of the method. * @param method invoked method * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @return method result value - if the invocation is asynchronous, the return value cannot be evaluated. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static R invokeMethod(@StrictNonNull Method6 method, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) throws QUnsuccessfulInvocationException { return invokeMethod(method, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5, arg6); } /** *

Invokes the method and returns it's result value.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
*

If the invocation is asynchronous, the return value cannot be evaluated.

* * @param
The type of the first parameter of the method. * @param The type of the second parameter of the method. * @param The type of the third parameter of the method. * @param The type of the fourth parameter of the method. * @param The type of the fifth parameter of the method. * @param The type of the sixth parameter of the method. * @param The return type of the method. * @param method invoked method * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @return method result value - if the invocation is asynchronous, the return value cannot be evaluated. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @SuppressWarnings("unchecked") @QtUninvokable public static R invokeMethod(@StrictNonNull Method6 method, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) throws QUnsuccessfulInvocationException { ClassAnalyzerUtility.LambdaInfo info = ClassAnalyzerUtility.lambdaInfo(method); if(info!=null && info.qobject!=null && !info.qobject.isDisposed() && info.reflectiveMethod!=null) { QMetaMethod qmethod = fromReflectedMethod(info.reflectiveMethod); if(qmethod!=null && qmethod.isValid() && qmethod.parameterTypes().size()==info.lambdaArgs.size()+6) { if(info.lambdaArgs.isEmpty()) { return (R)qmethod.invoke(info.qobject, type, arg1, arg2, arg3, arg4, arg5, arg6); }else { Object[] args = new Object[qmethod.parameterTypes().size()]; args[0] = arg1; args[1] = arg2; args[2] = arg3; args[3] = arg4; args[4] = arg5; args[5] = arg6; System.arraycopy(info.lambdaArgs.toArray(), 0, args, 6, info.lambdaArgs.size()); return (R)qmethod.invoke(info.qobject, type, args); } } } if(method instanceof QtObjectInterface) { if( ((QtObjectInterface)method).isDisposed() ) return null; } switch(type) { case AutoConnection: if(method instanceof QtThreadAffineInterface) { QThread thread = ((QtThreadAffineInterface) method).thread(); if(thread!=null && thread!=QThread.currentThread()) { throw new QUnsuccessfulInvocationException("Unable to invoke methods with return values in queued connections (auto connection with different threads)."); } } case DirectConnection: try { return method.invoke(arg1, arg2, arg3, arg4, arg5, arg6); } catch (Throwable e) { throw new QUnsuccessfulInvocationException(e); } case BlockingQueuedConnection: if(method instanceof QtThreadAffineInterface) { QThread thread = ((QtThreadAffineInterface) method).thread(); if(thread!=null && thread!=QThread.currentThread()) { AtomicReference result = new AtomicReference<>(); QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { result.set(method.invoke(arg1, arg2, arg3, arg4, arg5, arg6)); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } synchronized (this) { notifyAll(); } } return super.event(event); } }; invoker.moveToThread(thread); synchronized (invoker) { invoker.disposeLater(); try { invoker.wait(); } catch (InterruptedException e) { throw new QUnsuccessfulInvocationException(e); } } return result.get(); } } throw new QUnsuccessfulInvocationException("Blocking-queued invocation of method on not allowed without thread affinity."); case QueuedConnection: throw new QUnsuccessfulInvocationException("Unable to invoke methods with return values in queued connections."); default: break; } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(method, AutoConnection, ...). * * @param The type of the first parameter of the method. * @param The type of the second parameter of the method. * @param The type of the third parameter of the method. * @param The type of the fourth parameter of the method. * @param The type of the fifth parameter of the method. * @param The type of the sixth parameter of the method. * @param The type of the seventh parameter of the method. * @param The return type of the method. * @param method invoked method * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @param arg7 Argument for the seventh parameter. * @return method result value - if the invocation is asynchronous, the return value cannot be evaluated. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static R invokeMethod(@StrictNonNull Method7 method, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7) throws QUnsuccessfulInvocationException { return invokeMethod(method, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5, arg6, arg7); } /** *

Invokes the method and returns it's result value.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
*

If the invocation is asynchronous, the return value cannot be evaluated.

* * @param
The type of the first parameter of the method. * @param The type of the second parameter of the method. * @param The type of the third parameter of the method. * @param The type of the fourth parameter of the method. * @param The type of the fifth parameter of the method. * @param The type of the sixth parameter of the method. * @param The type of the seventh parameter of the method. * @param The return type of the method. * @param method invoked method * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @param arg7 Argument for the seventh parameter. * @return method result value - if the invocation is asynchronous, the return value cannot be evaluated. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @SuppressWarnings("unchecked") @QtUninvokable public static R invokeMethod(@StrictNonNull Method7 method, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7) throws QUnsuccessfulInvocationException { ClassAnalyzerUtility.LambdaInfo info = ClassAnalyzerUtility.lambdaInfo(method); if(info!=null && info.qobject!=null && !info.qobject.isDisposed() && info.reflectiveMethod!=null) { QMetaMethod qmethod = fromReflectedMethod(info.reflectiveMethod); if(qmethod!=null && qmethod.isValid() && qmethod.parameterTypes().size()==info.lambdaArgs.size()+7) { if(info.lambdaArgs.isEmpty()) { return (R)qmethod.invoke(info.qobject, type, arg1, arg2, arg3, arg4, arg5, arg6, arg7); }else { Object[] args = new Object[qmethod.parameterTypes().size()]; args[0] = arg1; args[1] = arg2; args[2] = arg3; args[3] = arg4; args[4] = arg5; args[5] = arg6; args[6] = arg7; System.arraycopy(info.lambdaArgs.toArray(), 0, args, 7, info.lambdaArgs.size()); return (R)qmethod.invoke(info.qobject, type, args); } } } if(method instanceof QtObjectInterface) { if( ((QtObjectInterface)method).isDisposed() ) return null; } switch(type) { case AutoConnection: if(method instanceof QtThreadAffineInterface) { QThread thread = ((QtThreadAffineInterface) method).thread(); if(thread!=null && thread!=QThread.currentThread()) { throw new QUnsuccessfulInvocationException("Unable to invoke methods with return values in queued connections (auto connection with different threads)."); } } case DirectConnection: try { return method.invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7); } catch (Throwable e) { throw new QUnsuccessfulInvocationException(e); } case BlockingQueuedConnection: if(method instanceof QtThreadAffineInterface) { QThread thread = ((QtThreadAffineInterface) method).thread(); if(thread!=null && thread!=QThread.currentThread()) { AtomicReference result = new AtomicReference<>(); QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { result.set(method.invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7)); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } synchronized (this) { notifyAll(); } } return super.event(event); } }; invoker.moveToThread(thread); synchronized (invoker) { invoker.disposeLater(); try { invoker.wait(); } catch (InterruptedException e) { throw new QUnsuccessfulInvocationException(e); } } return result.get(); } } throw new QUnsuccessfulInvocationException("Blocking-queued invocation of method on not allowed without thread affinity."); case QueuedConnection: throw new QUnsuccessfulInvocationException("Unable to invoke methods with return values in queued connections."); default: break; } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(method, AutoConnection, ...). * * @param The type of the first parameter of the method. * @param The type of the second parameter of the method. * @param The type of the third parameter of the method. * @param The type of the fourth parameter of the method. * @param The type of the fifth parameter of the method. * @param The type of the sixth parameter of the method. * @param The type of the seventh parameter of the method. * @param The type of the eighth parameter of the method. * @param The return type of the method. * @param method invoked method * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @param arg7 Argument for the seventh parameter. * @param arg8 Argument for the eighth parameter. * @return method result value - if the invocation is asynchronous, the return value cannot be evaluated. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static R invokeMethod(@StrictNonNull Method8 method, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8) throws QUnsuccessfulInvocationException { return invokeMethod(method, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); } /** *

Invokes the method and returns it's result value.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
*

If the invocation is asynchronous, the return value cannot be evaluated.

* * @param
The type of the first parameter of the method. * @param The type of the second parameter of the method. * @param The type of the third parameter of the method. * @param The type of the fourth parameter of the method. * @param The type of the fifth parameter of the method. * @param The type of the sixth parameter of the method. * @param The type of the seventh parameter of the method. * @param The type of the eighth parameter of the method. * @param The return type of the method. * @param method invoked method * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @param arg7 Argument for the seventh parameter. * @param arg8 Argument for the eighth parameter. * @return method result value - if the invocation is asynchronous, the return value cannot be evaluated. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @SuppressWarnings("unchecked") @QtUninvokable public static R invokeMethod(@StrictNonNull Method8 method, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8) throws QUnsuccessfulInvocationException { ClassAnalyzerUtility.LambdaInfo info = ClassAnalyzerUtility.lambdaInfo(method); if(info!=null && info.qobject!=null && !info.qobject.isDisposed() && info.reflectiveMethod!=null) { QMetaMethod qmethod = fromReflectedMethod(info.reflectiveMethod); if(qmethod!=null && qmethod.isValid() && qmethod.parameterTypes().size()==info.lambdaArgs.size()+8) { if(info.lambdaArgs.isEmpty()) { return (R)qmethod.invoke(info.qobject, type, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); }else { Object[] args = new Object[qmethod.parameterTypes().size()]; args[0] = arg1; args[1] = arg2; args[2] = arg3; args[3] = arg4; args[4] = arg5; args[5] = arg6; args[6] = arg7; args[7] = arg8; System.arraycopy(info.lambdaArgs.toArray(), 0, args, 8, info.lambdaArgs.size()); return (R)qmethod.invoke(info.qobject, type, args); } } } if(method instanceof QtObjectInterface) { if( ((QtObjectInterface)method).isDisposed() ) return null; } switch(type) { case AutoConnection: if(method instanceof QtThreadAffineInterface) { QThread thread = ((QtThreadAffineInterface) method).thread(); if(thread!=null && thread!=QThread.currentThread()) { throw new QUnsuccessfulInvocationException("Unable to invoke methods with return values in queued connections (auto connection with different threads)."); } } case DirectConnection: try { return method.invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); } catch (Throwable e) { throw new QUnsuccessfulInvocationException(e); } case BlockingQueuedConnection: if(method instanceof QtThreadAffineInterface) { QThread thread = ((QtThreadAffineInterface) method).thread(); if(thread!=null && thread!=QThread.currentThread()) { AtomicReference result = new AtomicReference<>(); QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { result.set(method.invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8)); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } synchronized (this) { notifyAll(); } } return super.event(event); } }; invoker.moveToThread(thread); synchronized (invoker) { invoker.disposeLater(); try { invoker.wait(); } catch (InterruptedException e) { throw new QUnsuccessfulInvocationException(e); } } return result.get(); } } throw new QUnsuccessfulInvocationException("Blocking-queued invocation of method on not allowed without thread affinity."); case QueuedConnection: throw new QUnsuccessfulInvocationException("Unable to invoke methods with return values in queued connections."); default: break; } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(method, AutoConnection, ...). * * @param The type of the first parameter of the method. * @param The type of the second parameter of the method. * @param The type of the third parameter of the method. * @param The type of the fourth parameter of the method. * @param The type of the fifth parameter of the method. * @param The type of the sixth parameter of the method. * @param The type of the seventh parameter of the method. * @param The type of the eighth parameter of the method. * @param The type of the ninth parameter of the method. * @param The return type of the method. * @param method invoked method * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @param arg7 Argument for the seventh parameter. * @param arg8 Argument for the eighth parameter. * @param arg9 Argument for the ninth parameter. * @return method result value - if the invocation is asynchronous, the return value cannot be evaluated. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static R invokeMethod(@StrictNonNull Method9 method, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8, I arg9) throws QUnsuccessfulInvocationException { return invokeMethod(method, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); } /** *

Invokes the method and returns it's result value.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
*

If the invocation is asynchronous, the return value cannot be evaluated.

* * @param
The type of the first parameter of the method. * @param The type of the second parameter of the method. * @param The type of the third parameter of the method. * @param The type of the fourth parameter of the method. * @param The type of the fifth parameter of the method. * @param The type of the sixth parameter of the method. * @param The type of the seventh parameter of the method. * @param The type of the eighth parameter of the method. * @param The type of the ninth parameter of the method. * @param The return type of the method. * @param method invoked method * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @param arg7 Argument for the seventh parameter. * @param arg8 Argument for the eighth parameter. * @param arg9 Argument for the ninth parameter. * @return method result value - if the invocation is asynchronous, the return value cannot be evaluated. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @SuppressWarnings("unchecked") @QtUninvokable public static R invokeMethod(@StrictNonNull Method9 method, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8, I arg9) throws QUnsuccessfulInvocationException { ClassAnalyzerUtility.LambdaInfo info = ClassAnalyzerUtility.lambdaInfo(method); if(info!=null && info.qobject!=null && !info.qobject.isDisposed() && info.reflectiveMethod!=null) { QMetaMethod qmethod = fromReflectedMethod(info.reflectiveMethod); if(qmethod!=null && qmethod.isValid() && qmethod.parameterTypes().size()==info.lambdaArgs.size()+9) { if(info.lambdaArgs.isEmpty()) { return (R)qmethod.invoke(info.qobject, type, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); }else { Object[] args = new Object[qmethod.parameterTypes().size()]; args[0] = arg1; args[1] = arg2; args[2] = arg3; args[3] = arg4; args[4] = arg5; args[5] = arg6; args[6] = arg7; args[7] = arg8; args[8] = arg9; System.arraycopy(info.lambdaArgs.toArray(), 0, args, 9, info.lambdaArgs.size()); return (R)qmethod.invoke(info.qobject, type, args); } } } if(method instanceof QtObjectInterface) { if( ((QtObjectInterface)method).isDisposed() ) return null; } switch(type) { case AutoConnection: if(method instanceof QtThreadAffineInterface) { QThread thread = ((QtThreadAffineInterface) method).thread(); if(thread!=null && thread!=QThread.currentThread()) { throw new QUnsuccessfulInvocationException("Unable to invoke methods with return values in queued connections (auto connection with different threads)."); } } case DirectConnection: try { return method.invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); } catch (Throwable e) { throw new QUnsuccessfulInvocationException(e); } case BlockingQueuedConnection: if(method instanceof QtThreadAffineInterface) { QThread thread = ((QtThreadAffineInterface) method).thread(); if(thread!=null && thread!=QThread.currentThread()) { AtomicReference result = new AtomicReference<>(); QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { result.set(method.invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9)); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } synchronized (this) { notifyAll(); } } return super.event(event); } }; invoker.moveToThread(thread); synchronized (invoker) { invoker.disposeLater(); try { invoker.wait(); } catch (InterruptedException e) { throw new QUnsuccessfulInvocationException(e); } } return result.get(); } } throw new QUnsuccessfulInvocationException("Blocking-queued invocation of method on not allowed without thread affinity."); case QueuedConnection: throw new QUnsuccessfulInvocationException("Unable to invoke methods with return values in queued connections."); default: break; } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(method, AutoConnection). * @param method invoked method * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static void invokeMethod(@StrictNonNull Slot0 method) throws QUnsuccessfulInvocationException { invokeMethod(method, Qt.ConnectionType.AutoConnection); } /** *

Invokes the slot.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param method invoked method * @param type synchronous or asynchronous invocation * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static void invokeMethod(@StrictNonNull Slot0 method, Qt.@NonNull ConnectionType type) throws QUnsuccessfulInvocationException { ClassAnalyzerUtility.LambdaInfo info = ClassAnalyzerUtility.lambdaInfo(method); QThread thread = null; if(info!=null && info.qobject!=null && !info.qobject.isDisposed()) { if(info.reflectiveMethod!=null) { QMetaMethod qmethod = fromReflectedMethod(info.reflectiveMethod); if(qmethod!=null && qmethod.isValid() && qmethod.parameterTypes().size()==info.lambdaArgs.size()) { qmethod.invoke(info.qobject, type, info.lambdaArgs.toArray()); return; } } thread = info.qobject.thread(); }else { if(method instanceof QtObjectInterface) { if( ((QtObjectInterface)method).isDisposed() ) return; } if(method instanceof QtThreadAffineInterface) thread = ((QtThreadAffineInterface) method).thread(); else thread = QObject.getQPropertyThread(info); } if(type==Qt.ConnectionType.AutoConnection && thread!=null && thread!=QThread.currentThread()) { type = Qt.ConnectionType.QueuedConnection; } switch(type) { case AutoConnection: case DirectConnection: try { method.invoke(); return; } catch (Throwable e) { throw new QUnsuccessfulInvocationException(e); } case BlockingQueuedConnection: if(thread!=null) { if(thread!=QThread.currentThread()) { QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { method.invoke(); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } synchronized (this) { notifyAll(); } } return super.event(event); } }; invoker.moveToThread(thread); synchronized (invoker) { invoker.disposeLater(); try { invoker.wait(); } catch (InterruptedException e) { throw new QUnsuccessfulInvocationException(e); } } return; }else { throw new QUnsuccessfulInvocationException("Blocking-queued invocation on object whose thread is the current thread is not allowed."); } } throw new QUnsuccessfulInvocationException("Blocking-queued invocation of method on not allowed without thread affinity."); case QueuedConnection: QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { method.invoke(); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } } return super.event(event); } }; QtJambi_LibraryUtilities.internal.setCppOwnership(invoker); if(thread!=null) invoker.moveToThread(thread); invoker.disposeLater(); return; default: break; } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(method, AutoConnection, ...). * @param
The type of the first parameter of the slot. * @param method invoked method * @param arg1 Argument for the first parameter. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static void invokeMethod(@StrictNonNull Slot1 method, A arg1) throws QUnsuccessfulInvocationException { invokeMethod(method, Qt.ConnectionType.AutoConnection, arg1); } /** *

Invokes the slot.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the slot. * @param method invoked method * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static void invokeMethod(@StrictNonNull Slot1 method, Qt.@NonNull ConnectionType type, A arg1) throws QUnsuccessfulInvocationException { ClassAnalyzerUtility.LambdaInfo info = ClassAnalyzerUtility.lambdaInfo(method); QThread thread = null; if(info!=null && info.qobject!=null && !info.qobject.isDisposed()) { if(info.reflectiveMethod!=null) { QMetaMethod qmethod = fromReflectedMethod(info.reflectiveMethod); if(qmethod!=null && qmethod.isValid() && qmethod.parameterTypes().size()==info.lambdaArgs.size()+1) { if(info.lambdaArgs.isEmpty()) { qmethod.invoke(info.qobject, type, arg1); }else { Object[] args = new Object[qmethod.parameterTypes().size()]; args[0] = arg1; System.arraycopy(info.lambdaArgs.toArray(), 0, args, 1, info.lambdaArgs.size()); qmethod.invoke(info.qobject, type, args); } return; } } thread = info.qobject.thread(); }else { if(method instanceof QtObjectInterface) { if( ((QtObjectInterface)method).isDisposed() ) return; } if(method instanceof QtThreadAffineInterface) thread = ((QtThreadAffineInterface) method).thread(); else thread = QObject.getQPropertyThread(info); } if(type==Qt.ConnectionType.AutoConnection && thread!=null && thread!=QThread.currentThread()) { type = Qt.ConnectionType.QueuedConnection; } switch(type) { case AutoConnection: case DirectConnection: try { method.invoke(arg1); return; } catch (Throwable e) { throw new QUnsuccessfulInvocationException(e); } case BlockingQueuedConnection: if(thread!=null) { if(thread!=QThread.currentThread()) { QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { method.invoke(arg1); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } synchronized (this) { notifyAll(); } } return super.event(event); } }; invoker.moveToThread(thread); synchronized (invoker) { invoker.disposeLater(); try { invoker.wait(); } catch (InterruptedException e) { throw new QUnsuccessfulInvocationException(e); } } return; }else { throw new QUnsuccessfulInvocationException("Blocking-queued invocation on object whose thread is the current thread is not allowed."); } } throw new QUnsuccessfulInvocationException("Blocking-queued invocation of method on not allowed without thread affinity."); case QueuedConnection: QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { method.invoke(arg1); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } } return super.event(event); } }; QtJambi_LibraryUtilities.internal.setCppOwnership(invoker); if(thread!=null) invoker.moveToThread(thread); invoker.disposeLater(); return; default: break; } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(method, AutoConnection, ...). * @param The type of the first parameter of the slot. * @param The type of the second parameter of the slot. * @param method invoked method * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static void invokeMethod(@StrictNonNull Slot2 method, A arg1, B arg2) throws QUnsuccessfulInvocationException { invokeMethod(method, Qt.ConnectionType.AutoConnection, arg1, arg2); } /** *

Invokes the slot.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the slot. * @param The type of the second parameter of the slot. * @param method invoked method * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static void invokeMethod(@StrictNonNull Slot2 method, Qt.@NonNull ConnectionType type, A arg1, B arg2) throws QUnsuccessfulInvocationException { ClassAnalyzerUtility.LambdaInfo info = ClassAnalyzerUtility.lambdaInfo(method); QThread thread = null; if(info!=null && info.qobject!=null && !info.qobject.isDisposed()) { if(info.reflectiveMethod!=null) { QMetaMethod qmethod = fromReflectedMethod(info.reflectiveMethod); if(qmethod!=null && qmethod.isValid() && qmethod.parameterTypes().size()==info.lambdaArgs.size()+2) { if(info.lambdaArgs.isEmpty()) { qmethod.invoke(info.qobject, type, arg1, arg2); }else { Object[] args = new Object[qmethod.parameterTypes().size()]; args[0] = arg1; args[1] = arg2; System.arraycopy(info.lambdaArgs.toArray(), 0, args, 2, info.lambdaArgs.size()); qmethod.invoke(info.qobject, type, args); } return; } if(qmethod!=null) { qmethod.invoke(info.qobject, type, arg1, arg2); return; } } thread = info.qobject.thread(); }else { if(method instanceof QtObjectInterface) { if( ((QtObjectInterface)method).isDisposed() ) return; } if(method instanceof QtThreadAffineInterface) thread = ((QtThreadAffineInterface) method).thread(); else thread = QObject.getQPropertyThread(info); } if(type==Qt.ConnectionType.AutoConnection && thread!=null && thread!=QThread.currentThread()) { type = Qt.ConnectionType.QueuedConnection; } switch(type) { case AutoConnection: case DirectConnection: try { method.invoke(arg1, arg2); return; } catch (Throwable e) { throw new QUnsuccessfulInvocationException(e); } case BlockingQueuedConnection: if(thread!=null) { if(thread!=QThread.currentThread()) { QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { method.invoke(arg1, arg2); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } synchronized (this) { notifyAll(); } } return super.event(event); } }; invoker.moveToThread(thread); synchronized (invoker) { invoker.disposeLater(); try { invoker.wait(); } catch (InterruptedException e) { throw new QUnsuccessfulInvocationException(e); } } return; }else { throw new QUnsuccessfulInvocationException("Blocking-queued invocation on object whose thread is the current thread is not allowed."); } } throw new QUnsuccessfulInvocationException("Blocking-queued invocation of method on not allowed without thread affinity."); case QueuedConnection: QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { method.invoke(arg1, arg2); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } } return super.event(event); } }; QtJambi_LibraryUtilities.internal.setCppOwnership(invoker); if(thread!=null) invoker.moveToThread(thread); invoker.disposeLater(); return; default: break; } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(method, AutoConnection, ...). * @param The type of the first parameter of the slot. * @param The type of the second parameter of the slot. * @param The type of the third parameter of the slot. * @param method invoked method * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static void invokeMethod(@StrictNonNull Slot3 method, A arg1, B arg2, C arg3) throws QUnsuccessfulInvocationException { invokeMethod(method, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3); } /** *

Invokes the slot.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the slot. * @param The type of the second parameter of the slot. * @param The type of the third parameter of the slot. * @param method invoked method * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static void invokeMethod(@StrictNonNull Slot3 method, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3) throws QUnsuccessfulInvocationException { ClassAnalyzerUtility.LambdaInfo info = ClassAnalyzerUtility.lambdaInfo(method); QThread thread = null; if(info!=null && info.qobject!=null) { if(info.reflectiveMethod!=null) { QMetaMethod qmethod = fromReflectedMethod(info.reflectiveMethod); if(qmethod!=null && qmethod.isValid() && qmethod.parameterTypes().size()==info.lambdaArgs.size()+3) { if(info.lambdaArgs.isEmpty()) { qmethod.invoke(info.qobject, type, arg1, arg2, arg3); }else { Object[] args = new Object[qmethod.parameterTypes().size()]; args[0] = arg1; args[1] = arg2; args[2] = arg3; System.arraycopy(info.lambdaArgs.toArray(), 0, args, 3, info.lambdaArgs.size()); qmethod.invoke(info.qobject, type, args); } return; } } thread = info.qobject.thread(); }else { if(method instanceof QtObjectInterface) { if( ((QtObjectInterface)method).isDisposed() ) return; } if(method instanceof QtThreadAffineInterface) thread = ((QtThreadAffineInterface) method).thread(); } if(type==Qt.ConnectionType.AutoConnection && thread!=null && thread!=QThread.currentThread()) { type = Qt.ConnectionType.QueuedConnection; } switch(type) { case AutoConnection: case DirectConnection: try { method.invoke(arg1, arg2, arg3); return; } catch (Throwable e) { throw new QUnsuccessfulInvocationException(e); } case BlockingQueuedConnection: if(thread!=null) { if(thread!=QThread.currentThread()) { QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { method.invoke(arg1, arg2, arg3); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } synchronized (this) { notifyAll(); } } return super.event(event); } }; invoker.moveToThread(thread); synchronized (invoker) { invoker.disposeLater(); try { invoker.wait(); } catch (InterruptedException e) { throw new QUnsuccessfulInvocationException(e); } } return; }else { throw new QUnsuccessfulInvocationException("Blocking-queued invocation on object whose thread is the current thread is not allowed."); } } throw new QUnsuccessfulInvocationException("Blocking-queued invocation of method on not allowed without thread affinity."); case QueuedConnection: QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { method.invoke(arg1, arg2, arg3); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } } return super.event(event); } }; QtJambi_LibraryUtilities.internal.setCppOwnership(invoker); if(thread!=null) invoker.moveToThread(thread); invoker.disposeLater(); return; default: break; } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(method, AutoConnection, ...). * @param The type of the first parameter of the slot. * @param The type of the second parameter of the slot. * @param The type of the third parameter of the slot. * @param The type of the fourth parameter of the slot. * @param method invoked method * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static void invokeMethod(@StrictNonNull Slot4 method, A arg1, B arg2, C arg3, D arg4) throws QUnsuccessfulInvocationException { invokeMethod(method, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4); } /** *

Invokes the slot.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the slot. * @param The type of the second parameter of the slot. * @param The type of the third parameter of the slot. * @param The type of the fourth parameter of the slot. * @param method invoked method * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static void invokeMethod(@StrictNonNull Slot4 method, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4) throws QUnsuccessfulInvocationException { ClassAnalyzerUtility.LambdaInfo info = ClassAnalyzerUtility.lambdaInfo(method); QThread thread = null; if(info!=null && info.qobject!=null) { if(info.reflectiveMethod!=null) { QMetaMethod qmethod = fromReflectedMethod(info.reflectiveMethod); if(qmethod!=null && qmethod.isValid() && qmethod.parameterTypes().size()==info.lambdaArgs.size()+4) { if(info.lambdaArgs.isEmpty()) { qmethod.invoke(info.qobject, type, arg1, arg2, arg3, arg4); }else { Object[] args = new Object[qmethod.parameterTypes().size()]; args[0] = arg1; args[1] = arg2; args[2] = arg3; args[3] = arg4; System.arraycopy(info.lambdaArgs.toArray(), 0, args, 4, info.lambdaArgs.size()); qmethod.invoke(info.qobject, type, args); } return; } } thread = info.qobject.thread(); }else { if(method instanceof QtObjectInterface) { if( ((QtObjectInterface)method).isDisposed() ) return; } if(method instanceof QtThreadAffineInterface) thread = ((QtThreadAffineInterface) method).thread(); } if(type==Qt.ConnectionType.AutoConnection && thread!=null && thread!=QThread.currentThread()) { type = Qt.ConnectionType.QueuedConnection; } switch(type) { case AutoConnection: case DirectConnection: try { method.invoke(arg1, arg2, arg3, arg4); return; } catch (Throwable e) { throw new QUnsuccessfulInvocationException(e); } case BlockingQueuedConnection: if(thread!=null) { if(thread!=QThread.currentThread()) { QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { method.invoke(arg1, arg2, arg3, arg4); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } synchronized (this) { notifyAll(); } } return super.event(event); } }; invoker.moveToThread(thread); synchronized (invoker) { invoker.disposeLater(); try { invoker.wait(); } catch (InterruptedException e) { throw new QUnsuccessfulInvocationException(e); } } return; }else { throw new QUnsuccessfulInvocationException("Blocking-queued invocation on object whose thread is the current thread is not allowed."); } } throw new QUnsuccessfulInvocationException("Blocking-queued invocation of method on not allowed without thread affinity."); case QueuedConnection: QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { method.invoke(arg1, arg2, arg3, arg4); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } } return super.event(event); } }; QtJambi_LibraryUtilities.internal.setCppOwnership(invoker); if(thread!=null) invoker.moveToThread(thread); invoker.disposeLater(); return; default: break; } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(method, AutoConnection, ...). * @param The type of the first parameter of the slot. * @param The type of the second parameter of the slot. * @param The type of the third parameter of the slot. * @param The type of the fourth parameter of the slot. * @param The type of the fifth parameter of the slot. * @param method invoked method * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static void invokeMethod(@StrictNonNull Slot5 method, A arg1, B arg2, C arg3, D arg4, E arg5) throws QUnsuccessfulInvocationException { invokeMethod(method, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5); } /** *

Invokes the slot.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the slot. * @param The type of the second parameter of the slot. * @param The type of the third parameter of the slot. * @param The type of the fourth parameter of the slot. * @param The type of the fifth parameter of the slot. * @param method invoked method * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static void invokeMethod(@StrictNonNull Slot5 method, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5) throws QUnsuccessfulInvocationException { ClassAnalyzerUtility.LambdaInfo info = ClassAnalyzerUtility.lambdaInfo(method); QThread thread = null; if(info!=null && info.qobject!=null) { if(info.reflectiveMethod!=null) { QMetaMethod qmethod = fromReflectedMethod(info.reflectiveMethod); if(qmethod!=null && qmethod.isValid() && qmethod.parameterTypes().size()==info.lambdaArgs.size()+5) { if(info.lambdaArgs.isEmpty()) { qmethod.invoke(info.qobject, type, arg1, arg2, arg3, arg4, arg5); }else { Object[] args = new Object[qmethod.parameterTypes().size()]; args[0] = arg1; args[1] = arg2; args[2] = arg3; args[3] = arg4; args[4] = arg5; System.arraycopy(info.lambdaArgs.toArray(), 0, args, 5, info.lambdaArgs.size()); qmethod.invoke(info.qobject, type, args); } return; } } thread = info.qobject.thread(); }else { if(method instanceof QtObjectInterface) { if( ((QtObjectInterface)method).isDisposed() ) return; } if(method instanceof QtThreadAffineInterface) thread = ((QtThreadAffineInterface) method).thread(); } if(type==Qt.ConnectionType.AutoConnection && thread!=null && thread!=QThread.currentThread()) { type = Qt.ConnectionType.QueuedConnection; } switch(type) { case AutoConnection: case DirectConnection: try { method.invoke(arg1, arg2, arg3, arg4, arg5); return; } catch (Throwable e) { throw new QUnsuccessfulInvocationException(e); } case BlockingQueuedConnection: if(thread!=null) { if(thread!=QThread.currentThread()) { QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { method.invoke(arg1, arg2, arg3, arg4, arg5); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } synchronized (this) { notifyAll(); } } return super.event(event); } }; invoker.moveToThread(thread); synchronized (invoker) { invoker.disposeLater(); try { invoker.wait(); } catch (InterruptedException e) { throw new QUnsuccessfulInvocationException(e); } } return; }else { throw new QUnsuccessfulInvocationException("Blocking-queued invocation on object whose thread is the current thread is not allowed."); } } throw new QUnsuccessfulInvocationException("Blocking-queued invocation of method on not allowed without thread affinity."); case QueuedConnection: QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { method.invoke(arg1, arg2, arg3, arg4, arg5); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } } return super.event(event); } }; QtJambi_LibraryUtilities.internal.setCppOwnership(invoker); if(thread!=null) invoker.moveToThread(thread); invoker.disposeLater(); return; default: break; } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(method, AutoConnection, ...). * @param The type of the first parameter of the slot. * @param The type of the second parameter of the slot. * @param The type of the third parameter of the slot. * @param The type of the fourth parameter of the slot. * @param The type of the fifth parameter of the slot. * @param The type of the sixth parameter of the slot. * @param method invoked method * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ public static void invokeMethod(@StrictNonNull Slot6 method, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) throws QUnsuccessfulInvocationException { invokeMethod(method, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5, arg6); } /** *

Invokes the slot.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the slot. * @param The type of the second parameter of the slot. * @param The type of the third parameter of the slot. * @param The type of the fourth parameter of the slot. * @param The type of the fifth parameter of the slot. * @param The type of the sixth parameter of the slot. * @param method invoked method * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static void invokeMethod(@StrictNonNull Slot6 method, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) throws QUnsuccessfulInvocationException { ClassAnalyzerUtility.LambdaInfo info = ClassAnalyzerUtility.lambdaInfo(method); QThread thread = null; if(info!=null && info.qobject!=null) { if(info.reflectiveMethod!=null) { QMetaMethod qmethod = fromReflectedMethod(info.reflectiveMethod); if(qmethod!=null && qmethod.isValid() && qmethod.parameterTypes().size()==info.lambdaArgs.size()+6) { if(info.lambdaArgs.isEmpty()) { qmethod.invoke(info.qobject, type, arg1, arg2, arg3, arg4, arg5, arg6); }else { Object[] args = new Object[qmethod.parameterTypes().size()]; args[0] = arg1; args[1] = arg2; args[2] = arg3; args[3] = arg4; args[4] = arg5; args[5] = arg6; System.arraycopy(info.lambdaArgs.toArray(), 0, args, 6, info.lambdaArgs.size()); qmethod.invoke(info.qobject, type, args); } return; } } thread = info.qobject.thread(); }else { if(method instanceof QtObjectInterface) { if( ((QtObjectInterface)method).isDisposed() ) return; } if(method instanceof QtThreadAffineInterface) thread = ((QtThreadAffineInterface) method).thread(); } if(type==Qt.ConnectionType.AutoConnection && thread!=null && thread!=QThread.currentThread()) { type = Qt.ConnectionType.QueuedConnection; } switch(type) { case AutoConnection: case DirectConnection: try { method.invoke(arg1, arg2, arg3, arg4, arg5, arg6); return; } catch (Throwable e) { throw new QUnsuccessfulInvocationException(e); } case BlockingQueuedConnection: if(thread!=null) { if(thread!=QThread.currentThread()) { QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { method.invoke(arg1, arg2, arg3, arg4, arg5, arg6); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } synchronized (this) { notifyAll(); } } return super.event(event); } }; invoker.moveToThread(thread); synchronized (invoker) { invoker.disposeLater(); try { invoker.wait(); } catch (InterruptedException e) { throw new QUnsuccessfulInvocationException(e); } } return; }else { throw new QUnsuccessfulInvocationException("Blocking-queued invocation on object whose thread is the current thread is not allowed."); } } throw new QUnsuccessfulInvocationException("Blocking-queued invocation of method on not allowed without thread affinity."); case QueuedConnection: QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { method.invoke(arg1, arg2, arg3, arg4, arg5, arg6); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } } return super.event(event); } }; QtJambi_LibraryUtilities.internal.setCppOwnership(invoker); if(thread!=null) invoker.moveToThread(thread); invoker.disposeLater(); return; default: break; } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(method, AutoConnection, ...). * @param The type of the first parameter of the slot. * @param The type of the second parameter of the slot. * @param The type of the third parameter of the slot. * @param The type of the fourth parameter of the slot. * @param The type of the fifth parameter of the slot. * @param The type of the sixth parameter of the slot. * @param The type of the seventh parameter of the slot. * @param method invoked method * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @param arg7 Argument for the seventh parameter. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static void invokeMethod(@StrictNonNull Slot7 method, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7) throws QUnsuccessfulInvocationException { invokeMethod(method, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5, arg6, arg7); } /** *

Invokes the slot.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the slot. * @param The type of the second parameter of the slot. * @param The type of the third parameter of the slot. * @param The type of the fourth parameter of the slot. * @param The type of the fifth parameter of the slot. * @param The type of the sixth parameter of the slot. * @param The type of the seventh parameter of the slot. * @param method invoked method * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @param arg7 Argument for the seventh parameter. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static void invokeMethod(@StrictNonNull Slot7 method, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7) throws QUnsuccessfulInvocationException { ClassAnalyzerUtility.LambdaInfo info = ClassAnalyzerUtility.lambdaInfo(method); QThread thread = null; if(info!=null && info.qobject!=null) { if(info.reflectiveMethod!=null) { QMetaMethod qmethod = fromReflectedMethod(info.reflectiveMethod); if(qmethod!=null && qmethod.isValid() && qmethod.parameterTypes().size()==info.lambdaArgs.size()+7) { if(info.lambdaArgs.isEmpty()) { qmethod.invoke(info.qobject, type, arg1, arg2, arg3, arg4, arg5, arg6, arg7); }else { Object[] args = new Object[qmethod.parameterTypes().size()]; args[0] = arg1; args[1] = arg2; args[2] = arg3; args[3] = arg4; args[4] = arg5; args[5] = arg6; args[6] = arg7; System.arraycopy(info.lambdaArgs.toArray(), 0, args, 7, info.lambdaArgs.size()); qmethod.invoke(info.qobject, type, args); } return; } } thread = info.qobject.thread(); }else { if(method instanceof QtObjectInterface) { if( ((QtObjectInterface)method).isDisposed() ) return; } if(method instanceof QtThreadAffineInterface) thread = ((QtThreadAffineInterface) method).thread(); } if(type==Qt.ConnectionType.AutoConnection && thread!=null && thread!=QThread.currentThread()) { type = Qt.ConnectionType.QueuedConnection; } switch(type) { case AutoConnection: case DirectConnection: try { method.invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7); return; } catch (Throwable e) { throw new QUnsuccessfulInvocationException(e); } case BlockingQueuedConnection: if(thread!=null) { if(thread!=QThread.currentThread()) { QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { method.invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } synchronized (this) { notifyAll(); } } return super.event(event); } }; invoker.moveToThread(thread); synchronized (invoker) { invoker.disposeLater(); try { invoker.wait(); } catch (InterruptedException e) { throw new QUnsuccessfulInvocationException(e); } } return; }else { throw new QUnsuccessfulInvocationException("Blocking-queued invocation on object whose thread is the current thread is not allowed."); } } throw new QUnsuccessfulInvocationException("Blocking-queued invocation of method on not allowed without thread affinity."); case QueuedConnection: QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { method.invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } } return super.event(event); } }; QtJambi_LibraryUtilities.internal.setCppOwnership(invoker); if(thread!=null) invoker.moveToThread(thread); invoker.disposeLater(); return; default: break; } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(method, AutoConnection, ...). * @param The type of the first parameter of the slot. * @param The type of the second parameter of the slot. * @param The type of the third parameter of the slot. * @param The type of the fourth parameter of the slot. * @param The type of the fifth parameter of the slot. * @param The type of the sixth parameter of the slot. * @param The type of the seventh parameter of the slot. * @param The type of the eighth parameter of the slot. * @param method invoked method * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @param arg7 Argument for the seventh parameter. * @param arg8 Argument for the eighth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static void invokeMethod(@StrictNonNull Slot8 method, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8) throws QUnsuccessfulInvocationException { invokeMethod(method, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); } /** *

Invokes the slot.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the slot. * @param The type of the second parameter of the slot. * @param The type of the third parameter of the slot. * @param The type of the fourth parameter of the slot. * @param The type of the fifth parameter of the slot. * @param The type of the sixth parameter of the slot. * @param The type of the seventh parameter of the slot. * @param The type of the eighth parameter of the slot. * @param method invoked method * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @param arg7 Argument for the seventh parameter. * @param arg8 Argument for the eighth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static void invokeMethod(@StrictNonNull Slot8 method, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8) throws QUnsuccessfulInvocationException { ClassAnalyzerUtility.LambdaInfo info = ClassAnalyzerUtility.lambdaInfo(method); QThread thread = null; if(info!=null && info.qobject!=null && !info.qobject.isDisposed()) { if(info.reflectiveMethod!=null) { QMetaMethod qmethod = fromReflectedMethod(info.reflectiveMethod); if(qmethod!=null && qmethod.isValid() && qmethod.parameterTypes().size()==info.lambdaArgs.size()+8) { if(info.lambdaArgs.isEmpty()) { qmethod.invoke(info.qobject, type, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); }else { Object[] args = new Object[qmethod.parameterTypes().size()]; args[0] = arg1; args[1] = arg2; args[2] = arg3; args[3] = arg4; args[4] = arg5; args[5] = arg6; args[6] = arg7; args[7] = arg8; System.arraycopy(info.lambdaArgs.toArray(), 0, args, 8, info.lambdaArgs.size()); qmethod.invoke(info.qobject, type, args); } return; } } thread = info.qobject.thread(); }else { if(method instanceof QtObjectInterface) { if( ((QtObjectInterface)method).isDisposed() ) return; } if(method instanceof QtThreadAffineInterface) thread = ((QtThreadAffineInterface) method).thread(); } if(type==Qt.ConnectionType.AutoConnection && thread!=null && thread!=QThread.currentThread()) { type = Qt.ConnectionType.QueuedConnection; } switch(type) { case AutoConnection: case DirectConnection: try { method.invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); return; } catch (Throwable e) { throw new QUnsuccessfulInvocationException(e); } case BlockingQueuedConnection: if(thread!=null) { if(thread!=QThread.currentThread()) { QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { method.invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } synchronized (this) { notifyAll(); } } return super.event(event); } }; invoker.moveToThread(thread); synchronized (invoker) { invoker.disposeLater(); try { invoker.wait(); } catch (InterruptedException e) { throw new QUnsuccessfulInvocationException(e); } } return; }else { throw new QUnsuccessfulInvocationException("Blocking-queued invocation on object whose thread is the current thread is not allowed."); } } throw new QUnsuccessfulInvocationException("Blocking-queued invocation of method on not allowed without thread affinity."); case QueuedConnection: QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { method.invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } } return super.event(event); } }; QtJambi_LibraryUtilities.internal.setCppOwnership(invoker); if(thread!=null) invoker.moveToThread(thread); invoker.disposeLater(); return; default: break; } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(method, AutoConnection, ...). * @param The type of the first parameter of the slot. * @param The type of the second parameter of the slot. * @param The type of the third parameter of the slot. * @param The type of the fourth parameter of the slot. * @param The type of the fifth parameter of the slot. * @param The type of the sixth parameter of the slot. * @param The type of the seventh parameter of the slot. * @param The type of the eighth parameter of the slot. * @param The type of the ninth parameter of the slot. * @param method invoked method * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @param arg7 Argument for the seventh parameter. * @param arg8 Argument for the eighth parameter. * @param arg9 Argument for the ninth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static void invokeMethod(@StrictNonNull Slot9 method, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8, I arg9) throws QUnsuccessfulInvocationException { invokeMethod(method, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); } /** *

Invokes the slot.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the slot. * @param The type of the second parameter of the slot. * @param The type of the third parameter of the slot. * @param The type of the fourth parameter of the slot. * @param The type of the fifth parameter of the slot. * @param The type of the sixth parameter of the slot. * @param The type of the seventh parameter of the slot. * @param The type of the eighth parameter of the slot. * @param The type of the ninth parameter of the slot. * @param method invoked method * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @param arg7 Argument for the seventh parameter. * @param arg8 Argument for the eighth parameter. * @param arg9 Argument for the ninth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke slot */ @QtUninvokable public static void invokeMethod(@StrictNonNull Slot9 method, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8, I arg9) throws QUnsuccessfulInvocationException { ClassAnalyzerUtility.LambdaInfo info = ClassAnalyzerUtility.lambdaInfo(method); QThread thread = null; if(info!=null && info.qobject!=null && !info.qobject.isDisposed()) { if(info.reflectiveMethod!=null) { QMetaMethod qmethod = fromReflectedMethod(info.reflectiveMethod); if(qmethod!=null && qmethod.isValid() && qmethod.parameterTypes().size()==info.lambdaArgs.size()+9) { if(info.lambdaArgs.isEmpty()) { qmethod.invoke(info.qobject, type, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); }else { Object[] args = new Object[qmethod.parameterTypes().size()]; args[0] = arg1; args[1] = arg2; args[2] = arg3; args[3] = arg4; args[4] = arg5; args[5] = arg6; args[6] = arg7; args[7] = arg8; args[8] = arg9; System.arraycopy(info.lambdaArgs.toArray(), 0, args, 9, info.lambdaArgs.size()); qmethod.invoke(info.qobject, type, args); } return; } } thread = info.qobject.thread(); }else { if(method instanceof QtObjectInterface) { if( ((QtObjectInterface)method).isDisposed() ) return; } if(method instanceof QtThreadAffineInterface) thread = ((QtThreadAffineInterface) method).thread(); } if(type==Qt.ConnectionType.AutoConnection && thread!=null && thread!=QThread.currentThread()) { type = Qt.ConnectionType.QueuedConnection; } switch(type) { case AutoConnection: case DirectConnection: try { method.invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); return; } catch (Throwable e) { throw new QUnsuccessfulInvocationException(e); } case BlockingQueuedConnection: if(thread!=null) { if(thread!=QThread.currentThread()) { QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { method.invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } synchronized (this) { notifyAll(); } } return super.event(event); } }; invoker.moveToThread(thread); synchronized (invoker) { invoker.disposeLater(); try { invoker.wait(); } catch (InterruptedException e) { throw new QUnsuccessfulInvocationException(e); } } return; }else { throw new QUnsuccessfulInvocationException("Blocking-queued invocation on object whose thread is the current thread is not allowed."); } } throw new QUnsuccessfulInvocationException("Blocking-queued invocation of method on not allowed without thread affinity."); case QueuedConnection: QObject invoker = new QObject() { @Override public boolean event(QEvent event) { if(event.type()==QEvent.Type.DeferredDispose && (info==null || info.qobject==null || !info.qobject.isDisposed()) && !(method instanceof QtObjectInterface && ((QtObjectInterface)method).isDisposed() )) { try { method.invoke(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); } catch (Throwable e) { Logger.getLogger("io.qt.core").log(Level.SEVERE, "Exception thrown during method invokation.", e); } } return super.event(event); } }; QtJambi_LibraryUtilities.internal.setCppOwnership(invoker); if(thread!=null) invoker.moveToThread(thread); invoker.disposeLater(); return; default: break; } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(signal, AutoConnection). * @param signal invoked signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractPrivateSignal0 signal) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param signal invoked signal * @param type synchronous or asynchronous invocation * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractPrivateSignal0 signal, Qt.@NonNull ConnectionType type) throws QUnsuccessfulInvocationException { if(signal.containingObject() instanceof QObject && !((QObject)signal.containingObject()).isDisposed()) { QObject qobject = (QObject)signal.containingObject(); QMetaMethod qmethod = qobject.metaObject().methodByIndex(qobject.metaObject().metaObjectPointer, signal.methodIndex()); if(qmethod!=null) { qmethod.invoke(qobject, type); return; } } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param
The type of the first parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractPrivateSignal1 signal, A arg1) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractPrivateSignal1 signal, Qt.@NonNull ConnectionType type, A arg1) throws QUnsuccessfulInvocationException { if(signal.containingObject() instanceof QObject && !((QObject)signal.containingObject()).isDisposed()) { QObject qobject = (QObject)signal.containingObject(); QMetaMethod qmethod = qobject.metaObject().methodByIndex(qobject.metaObject().metaObjectPointer, signal.methodIndex()); if(qmethod!=null) { qmethod.invoke(qobject, type, arg1); return; } } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param signal invoked signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal1Default1 signal) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal1Default1 signal, Qt.@NonNull ConnectionType type) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, signal.arg1Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractPrivateSignal2 signal, A arg1, B arg2) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractPrivateSignal2 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2) throws QUnsuccessfulInvocationException { if(signal.containingObject() instanceof QObject && !((QObject)signal.containingObject()).isDisposed()) { QObject qobject = (QObject)signal.containingObject(); QMetaMethod qmethod = qobject.metaObject().methodByIndex(qobject.metaObject().metaObjectPointer, signal.methodIndex()); if(qmethod!=null) { qmethod.invoke(qobject, type, arg1, arg2); return; } } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal2Default1 signal, A arg1) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal2Default1 signal, Qt.@NonNull ConnectionType type, A arg1) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, signal.arg2Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal invoked signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal2Default2 signal) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal2Default2 signal, Qt.@NonNull ConnectionType type) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, signal.arg1Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractPrivateSignal3 signal, A arg1, B arg2, C arg3) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractPrivateSignal3 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3) throws QUnsuccessfulInvocationException { if(signal.containingObject() instanceof QObject && !((QObject)signal.containingObject()).isDisposed()) { QObject qobject = (QObject)signal.containingObject(); QMetaMethod qmethod = qobject.metaObject().methodByIndex(qobject.metaObject().metaObjectPointer, signal.methodIndex()); if(qmethod!=null) { qmethod.invoke(qobject, type, arg1, arg2, arg3); return; } } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal3Default1 signal, A arg1, B arg2) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal3Default1 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, signal.arg3Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal3Default2 signal, A arg1) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal3Default2 signal, Qt.@NonNull ConnectionType type, A arg1) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, signal.arg2Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal invoked signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal3Default3 signal) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal3Default3 signal, Qt.@NonNull ConnectionType type) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, signal.arg1Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractPrivateSignal4 signal, A arg1, B arg2, C arg3, D arg4) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractPrivateSignal4 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4) throws QUnsuccessfulInvocationException { if(signal.containingObject() instanceof QObject && !((QObject)signal.containingObject()).isDisposed()) { QObject qobject = (QObject)signal.containingObject(); QMetaMethod qmethod = qobject.metaObject().methodByIndex(qobject.metaObject().metaObjectPointer, signal.methodIndex()); if(qmethod!=null) { qmethod.invoke(qobject, type, arg1, arg2, arg3, arg4); return; } } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal4Default1 signal, A arg1, B arg2, C arg3) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal4Default1 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, arg3, signal.arg4Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal4Default2 signal, A arg1, B arg2) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal4Default2 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, signal.arg3Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal4Default3 signal, A arg1) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal4Default3 signal, Qt.@NonNull ConnectionType type, A arg1) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, signal.arg2Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal invoked signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal4Default4 signal) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal4Default4 signal, Qt.@NonNull ConnectionType type) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, signal.arg1Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. */ @QtUninvokable public static void invokeMethod(AbstractPrivateSignal5 signal, A arg1, B arg2, C arg3, D arg4, E arg5) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(AbstractPrivateSignal5 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5) throws QUnsuccessfulInvocationException { if(signal.containingObject() instanceof QObject && !((QObject)signal.containingObject()).isDisposed()) { QObject qobject = (QObject)signal.containingObject(); QMetaMethod qmethod = qobject.metaObject().methodByIndex(qobject.metaObject().metaObjectPointer, signal.methodIndex()); if(qmethod!=null) { qmethod.invoke(qobject, type, arg1, arg2, arg3, arg4, arg5); return; } } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal5Default1 signal, A arg1, B arg2, C arg3, D arg4) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal5Default1 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, arg3, arg4, signal.arg5Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal5Default2 signal, A arg1, B arg2, C arg3) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal5Default2 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, arg3, signal.arg4Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal5Default3 signal, A arg1, B arg2) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal5Default3 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, signal.arg3Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal5Default4 signal, A arg1) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal5Default4 signal, Qt.@NonNull ConnectionType type, A arg1) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, signal.arg2Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal invoked signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal5Default5 signal) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal5Default5 signal, Qt.@NonNull ConnectionType type) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, signal.arg1Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. */ @QtUninvokable public static void invokeMethod(AbstractPrivateSignal6 signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5, arg6); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ public static void invokeMethod(AbstractPrivateSignal6 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) throws QUnsuccessfulInvocationException { if(signal.containingObject() instanceof QObject && !((QObject)signal.containingObject()).isDisposed()) { QObject qobject = (QObject)signal.containingObject(); QMetaMethod qmethod = qobject.metaObject().methodByIndex(qobject.metaObject().metaObjectPointer, signal.methodIndex()); if(qmethod!=null) { qmethod.invoke(qobject, type, arg1, arg2, arg3, arg4, arg5, arg6); return; } } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal6Default1 signal, A arg1, B arg2, C arg3, D arg4, E arg5) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ public static void invokeMethod(@StrictNonNull AbstractSignal6Default1 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, arg3, arg4, arg5, signal.arg6Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal6Default2 signal, A arg1, B arg2, C arg3, D arg4) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ public static void invokeMethod(@StrictNonNull AbstractSignal6Default2 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, arg3, arg4, signal.arg5Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal6Default3 signal, A arg1, B arg2, C arg3) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ public static void invokeMethod(@StrictNonNull AbstractSignal6Default3 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, arg3, signal.arg4Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal6Default4 signal, A arg1, B arg2) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ public static void invokeMethod(@StrictNonNull AbstractSignal6Default4 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, signal.arg3Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal6Default5 signal, A arg1) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ public static void invokeMethod(@StrictNonNull AbstractSignal6Default5 signal, Qt.@NonNull ConnectionType type, A arg1) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, signal.arg2Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal invoked signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal6Default6 signal) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @throws QUnsuccessfulInvocationException if not able to invoke signal */ public static void invokeMethod(@StrictNonNull AbstractSignal6Default6 signal, Qt.@NonNull ConnectionType type) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, signal.arg1Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @param arg7 Argument for the seventh parameter. */ @QtUninvokable public static void invokeMethod(AbstractPrivateSignal7 signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5, arg6, arg7); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @param arg7 Argument for the seventh parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(AbstractPrivateSignal7 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7) throws QUnsuccessfulInvocationException { if(signal.containingObject() instanceof QObject && !((QObject)signal.containingObject()).isDisposed()) { QObject qobject = (QObject)signal.containingObject(); QMetaMethod qmethod = qobject.metaObject().methodByIndex(qobject.metaObject().metaObjectPointer, signal.methodIndex()); if(qmethod!=null) { qmethod.invoke(qobject, type, arg1, arg2, arg3, arg4, arg5, arg6, arg7); return; } } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal7Default1 signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5, arg6); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal7Default1 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, arg3, arg4, arg5, arg6, signal.arg7Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal7Default2 signal, A arg1, B arg2, C arg3, D arg4, E arg5) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal7Default2 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, arg3, arg4, arg5, signal.arg6Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal7Default3 signal, A arg1, B arg2, C arg3, D arg4) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal7Default3 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, arg3, arg4, signal.arg5Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal7Default4 signal, A arg1, B arg2, C arg3) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal7Default4 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, arg3, signal.arg4Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal7Default5 signal, A arg1, B arg2) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal7Default5 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, signal.arg3Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal7Default6 signal, A arg1) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal7Default6 signal, Qt.@NonNull ConnectionType type, A arg1) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, signal.arg2Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal invoked signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal7Default7 signal) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal7Default7 signal, Qt.@NonNull ConnectionType type) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, signal.arg1Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @param arg7 Argument for the seventh parameter. * @param arg8 Argument for the eighth parameter. */ @QtUninvokable public static void invokeMethod(AbstractPrivateSignal8 signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @param arg7 Argument for the seventh parameter. * @param arg8 Argument for the eighth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(AbstractPrivateSignal8 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8) throws QUnsuccessfulInvocationException { if(signal.containingObject() instanceof QObject && !((QObject)signal.containingObject()).isDisposed()) { QObject qobject = (QObject)signal.containingObject(); QMetaMethod qmethod = qobject.metaObject().methodByIndex(qobject.metaObject().metaObjectPointer, signal.methodIndex()); if(qmethod!=null) { qmethod.invoke(qobject, type, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); return; } } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @param arg7 Argument for the seventh parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal8Default1 signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5, arg6, arg7); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @param arg7 Argument for the seventh parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal8Default1 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, arg3, arg4, arg5, arg6, arg7, signal.arg8Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal8Default2 signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5, arg6); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal8Default2 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, arg3, arg4, arg5, arg6, signal.arg7Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal8Default3 signal, A arg1, B arg2, C arg3, D arg4, E arg5) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal8Default3 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, arg3, arg4, arg5, signal.arg6Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal8Default4 signal, A arg1, B arg2, C arg3, D arg4) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal8Default4 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, arg3, arg4, signal.arg5Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal8Default5 signal, A arg1, B arg2, C arg3) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal8Default5 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, arg3, signal.arg4Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal8Default6 signal, A arg1, B arg2) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal8Default6 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, signal.arg3Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal8Default7 signal, A arg1) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal8Default7 signal, Qt.@NonNull ConnectionType type, A arg1) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, signal.arg2Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal invoked signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal8Default8 signal) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal8Default8 signal, Qt.@NonNull ConnectionType type) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, signal.arg1Default.get()); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @param arg7 Argument for the seventh parameter. * @param arg8 Argument for the eighth parameter. * @param arg9 Argument for the ninth parameter. */ @QtUninvokable public static void invokeMethod(AbstractPrivateSignal9 signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8, I arg9) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @param arg7 Argument for the seventh parameter. * @param arg8 Argument for the eighth parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal9Default1 signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @param arg7 Argument for the seventh parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal9Default2 signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5, arg6, arg7); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal9Default3 signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5, arg6); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal9Default4 signal, A arg1, B arg2, C arg3, D arg4, E arg5) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4, arg5); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal9Default5 signal, A arg1, B arg2, C arg3, D arg4) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3, arg4); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal9Default6 signal, A arg1, B arg2, C arg3) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2, arg3); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal9Default7 signal, A arg1, B arg2) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1, arg2); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal invoked signal * @param arg1 Argument for the first parameter. */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal9Default8 signal, A arg1) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection, arg1); } /** * Calling invokeMethod(signal, AutoConnection, ...). * * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal invoked signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal9Default9 signal) throws QUnsuccessfulInvocationException { invokeMethod(signal, Qt.ConnectionType.AutoConnection); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @param arg7 Argument for the seventh parameter. * @param arg8 Argument for the eighth parameter. * @param arg9 Argument for the ninth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(AbstractPrivateSignal9 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8, I arg9) throws QUnsuccessfulInvocationException { if(signal.containingObject() instanceof QObject && !((QObject)signal.containingObject()).isDisposed()) { QObject qobject = (QObject)signal.containingObject(); QMetaMethod qmethod = qobject.metaObject().methodByIndex(qobject.metaObject().metaObjectPointer, signal.methodIndex()); if(qmethod!=null) { qmethod.invoke(qobject, type, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); return; } } throw new QUnsuccessfulInvocationException("Unable to invoke method."); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @param arg7 Argument for the seventh parameter. * @param arg8 Argument for the eighth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal9Default1 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, signal.arg9Default.get()); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @param arg7 Argument for the seventh parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal9Default2 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, arg3, arg4, arg5, arg6, arg7, signal.arg8Default.get()); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @param arg6 Argument for the sixth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal9Default3 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, arg3, arg4, arg5, arg6, signal.arg7Default.get()); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @param arg5 Argument for the fifth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal9Default4 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, arg3, arg4, arg5, signal.arg6Default.get()); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @param arg4 Argument for the fourth parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal9Default5 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3, D arg4) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, arg3, arg4, signal.arg5Default.get()); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @param arg3 Argument for the third parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal9Default6 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2, C arg3) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, arg3, signal.arg4Default.get()); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @param arg2 Argument for the second parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal9Default7 signal, Qt.@NonNull ConnectionType type, A arg1, B arg2) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, arg2, signal.arg3Default.get()); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @param arg1 Argument for the first parameter. * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal9Default8 signal, Qt.@NonNull ConnectionType type, A arg1) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, arg1, signal.arg2Default.get()); } /** *

Invokes the signal.

* *

The invocation can be either synchronous or asynchronous, depending on type:

*
    *
  • If type is {@link Qt.ConnectionType#DirectConnection}, the member will be invoked immediately.
  • *
  • If type is {@link Qt.ConnectionType#QueuedConnection}, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop.
  • *
  • If type is {@link Qt.ConnectionType#BlockingQueuedConnection}, the method will be invoked in the same way as for {@link Qt.ConnectionType#QueuedConnection}, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks.
  • *
  • If type is {@link Qt.ConnectionType#AutoConnection}, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
  • *
* * @param
The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. * @param signal invoked signal * @param type synchronous or asynchronous invocation * @throws QUnsuccessfulInvocationException if not able to invoke signal */ @QtUninvokable public static void invokeMethod(@StrictNonNull AbstractSignal9Default9 signal, Qt.@NonNull ConnectionType type) throws QUnsuccessfulInvocationException { invokeMethod(signal, type, signal.arg1Default.get()); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + (int) (metaObjectPointer ^ (metaObjectPointer >>> 32)); return result; } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; QMetaObject other = (QMetaObject) obj; if (metaObjectPointer != other.metaObjectPointer) return false; return true; } static abstract class AbstractMultiSignal extends CoreUtility.AbstractMultiSignal { AbstractMultiSignal(){ super(); } @io.qt.QtUninvokable final List allSignals(){ return signals(); } } /** * Signal emitted when a {@link io.qt.QtObjectInterface} is being disposed. * @see QtObjectInterface#isDisposed() * @see QtObjectInterface#dispose() */ public static final class DisposedSignal extends AbstractSignal { private DisposedSignal(Class declaringClass) { super(declaringClass, true); } /** * Internal */ @Override protected final void checkConnection(Object receiver, boolean slotObject) { CoreUtility.checkConnectionToDisposedSignal(this, receiver, slotObject); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot0 slot, Qt. @NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot0 slot) { return removeConnectionToSlotObject(slot); } } /** * Supertype of all signals in QtJambi. */ public static abstract class AbstractSignal extends CoreUtility.AbstractSignal implements Signal { AbstractSignal(){ super(); } AbstractSignal(Consumer argumentTest){ super(argumentTest); } AbstractSignal(Class declaringClass) { super(declaringClass); } AbstractSignal(Class declaringClass, boolean isDisposedSignal) { super(declaringClass, isDisposedSignal); } AbstractSignal(@StrictNonNull String signalName, Class... types) { super(signalName, types); } final Class signalDeclaringClass(){ return getDeclaringClass(); } /** * Connects the signal to a method in an object. Whenever it is emitted, the method will be invoked * on the given object. * * @param receiver The object that owns the method * @param method The signature of the method excluding return type and argument names, such as "setText(String)". * @param connectionType One of the connection types defined in the Qt interface. * @throws QNoSuchSlotException Raised if the method passed in the slot object was not found * @throws java.lang.RuntimeException Raised if the signal object could not be successfully introspected or if the * signatures of the signal and slot are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Object receiver, @StrictNonNull String method, Qt.@NonNull ConnectionType @NonNull... connectionType) { if (receiver == null) throw new NullPointerException("Receiver must be non-null"); if (method == null) throw new NullPointerException("Slot must be non-null"); return addConnection(receiver, method, connectionType); } /** * Disconnects the signal from a method in an object if the two were previously connected by a call to connect. * * @param receiver The object to which the signal is connected * @param method The method in the receiver object to which the signal is connected * @return true if the connection was successfully removed, otherwise false. The method will return false if the * connection has not been previously established by a call to connect. * @throws QNoSuchSlotException Raised if the method passed in the slot object was not found */ public final boolean disconnect(@Nullable Object receiver, @Nullable String method) { if (method != null && receiver == null) throw new IllegalArgumentException("Receiver cannot be null if you specify a method"); if (receiver == null && this instanceof DisposedSignal) return false; if(receiver instanceof QMetaObject.Connection && method==null){ return removeConnection((QMetaObject.Connection)receiver); }else{ return removeConnection(receiver, method); } } /** * Removes any connection from this signal to the specified receiving object * * @param receiver The object to which the signal has connections * @return true if any connection was successfully removed, otherwise false. The method will return false if no * connection has previously been establish to the receiver. * * @see #disconnect(Object, String) **/ public final boolean disconnect(@Nullable Object receiver) { return disconnect(receiver, null); } /** * Removes all connections from this signal. * * @return True if the disconnection was successful. * @see #disconnect(Object, String) */ public final boolean disconnect() { return disconnect(null, null); } /** * Removes the given connection from this signal. * * @param connection the connection to be removed * @return true if the disconnection was successful. */ public final boolean disconnect(QMetaObject.@NonNull Connection connection) { return removeConnection(connection); } } /** * Supertype of all slot handles. */ public static interface AbstractSlot extends Serializable{ } /** * A generic slot handle to a method of variadic arguments. */ @FunctionalInterface public static interface GenericSlot extends AbstractSlot{ public void invoke(Object... args) throws Throwable; } /** * A handle to parameterless slot. */ @FunctionalInterface public static interface Slot0 extends AbstractSlot{ public void invoke() throws Throwable; } /** * A handle to slot with one parameter. * @param The type of the first parameter of the slot. */ @FunctionalInterface public static interface Slot1 extends AbstractSlot{ public void invoke(A a) throws Throwable; } /** * A handle to slot with two parameters. * @param The type of the first parameter of the slot. * @param The type of the second parameter of the slot. */ @FunctionalInterface public static interface Slot2 extends AbstractSlot{ public void invoke(A a, B b) throws Throwable; } /** * A handle to slot with three parameters. * @param The type of the first parameter of the slot. * @param The type of the second parameter of the slot. * @param The type of the third parameter of the slot. */ @FunctionalInterface public static interface Slot3 extends AbstractSlot{ public void invoke(A a, B b, C c) throws Throwable; } /** * A handle to slot with four parameters. * @param The type of the first parameter of the slot. * @param The type of the second parameter of the slot. * @param The type of the third parameter of the slot. * @param The type of the fourth parameter of the slot. */ @FunctionalInterface public static interface Slot4 extends AbstractSlot{ public void invoke(A a, B b, C c, D d) throws Throwable; } /** * A handle to slot with five parameters. * @param The type of the first parameter of the slot. * @param The type of the second parameter of the slot. * @param The type of the third parameter of the slot. * @param The type of the fourth parameter of the slot. * @param The type of the fifth parameter of the slot. */ @FunctionalInterface public static interface Slot5 extends AbstractSlot{ public void invoke(A a, B b, C c, D d, E e) throws Throwable; } /** * A handle to slot with six parameters. * @param The type of the first parameter of the slot. * @param The type of the second parameter of the slot. * @param The type of the third parameter of the slot. * @param The type of the fourth parameter of the slot. * @param The type of the fifth parameter of the slot. * @param The type of the sixth parameter of the slot. */ @FunctionalInterface public static interface Slot6 extends AbstractSlot{ public void invoke(A a, B b, C c, D d, E e, F f) throws Throwable; } /** * A handle to slot with seven parameters. * @param The type of the first parameter of the slot. * @param The type of the second parameter of the slot. * @param The type of the third parameter of the slot. * @param The type of the fourth parameter of the slot. * @param The type of the fifth parameter of the slot. * @param The type of the sixth parameter of the slot. * @param The type of the seventh parameter of the slot. */ @FunctionalInterface public static interface Slot7 extends AbstractSlot{ public void invoke(A a, B b, C c, D d, E e, F f, G g) throws Throwable; } /** * A handle to slot with eight parameters. * @param The type of the first parameter of the slot. * @param The type of the second parameter of the slot. * @param The type of the third parameter of the slot. * @param The type of the fourth parameter of the slot. * @param The type of the fifth parameter of the slot. * @param The type of the sixth parameter of the slot. * @param The type of the seventh parameter of the slot. * @param The type of the eighth parameter of the slot. */ @FunctionalInterface public static interface Slot8 extends AbstractSlot{ public void invoke(A a, B b, C c, D d, E e, F f, G g, H h) throws Throwable; } /** * A handle to slot with nine parameters. * @param The type of the first parameter of the slot. * @param The type of the second parameter of the slot. * @param The type of the third parameter of the slot. * @param The type of the fourth parameter of the slot. * @param The type of the fifth parameter of the slot. * @param The type of the sixth parameter of the slot. * @param The type of the seventh parameter of the slot. * @param The type of the eighth parameter of the slot. * @param The type of the ninth parameter of the slot. */ @FunctionalInterface public static interface Slot9 extends AbstractSlot{ public void invoke(A a, B b, C c, D d, E e, F f, G g, H h, I i) throws Throwable; } /** * Interface abstraction of signals. */ public static interface Signal{ String name(); String fullName(); QtSignalEmitterInterface containingObject(); int methodIndex(); List> argumentTypes(); } /** * An interface to a generic signal. */ public static interface GenericConnectable extends Signal{ } /** * An interface for anything connectable to a signal without parameters. */ public static interface Connectable0 extends Signal{ } /** * An interface for anything connectable to a signal with one parameter. * @param The type of the first parameter. */ public static interface Connectable1 extends Signal{ } /** * An interface for anything connectable to a signal with two parameters. * @param The type of the first parameter. * @param The type of the second parameter. */ public static interface Connectable2 extends Signal{ } /** * An interface for anything connectable to a signal with three parameters. * @param The type of the first parameter. * @param The type of the second parameter. * @param The type of the third parameter. */ public static interface Connectable3 extends Signal{ } /** * An interface for anything connectable to a signal with four parameters. * @param The type of the first parameter. * @param The type of the second parameter. * @param The type of the third parameter. * @param The type of the fourth parameter. */ public static interface Connectable4 extends Signal{ } /** * An interface for anything connectable to a signal with five parameters. * @param The type of the first parameter. * @param The type of the second parameter. * @param The type of the third parameter. * @param The type of the fourth parameter. * @param The type of the fifth parameter. */ public static interface Connectable5 extends Signal{ } /** * An interface for anything connectable to a signal with six parameters. * @param The type of the first parameter. * @param The type of the second parameter. * @param The type of the third parameter. * @param The type of the fourth parameter. * @param The type of the fifth parameter. * @param The type of the sixth parameter. */ public static interface Connectable6 extends Signal{ } /** * An interface for anything connectable to a signal with seven parameters. * @param The type of the first parameter. * @param The type of the second parameter. * @param The type of the third parameter. * @param The type of the fourth parameter. * @param The type of the fifth parameter. * @param The type of the sixth parameter. * @param The type of the seventh parameter. */ public static interface Connectable7 extends Signal{ } /** * An interface for anything connectable to a signal with eight parameters. * @param The type of the first parameter. * @param The type of the second parameter. * @param The type of the third parameter. * @param The type of the fourth parameter. * @param The type of the fifth parameter. * @param The type of the sixth parameter. * @param The type of the seventh parameter. * @param The type of the eighth parameter. */ public static interface Connectable8 extends Signal{ } /** * An interface for anything connectable to a signal with nine parameters. * @param The type of the first parameter. * @param The type of the second parameter. * @param The type of the third parameter. * @param The type of the fourth parameter. * @param The type of the fifth parameter. * @param The type of the sixth parameter. * @param The type of the seventh parameter. * @param The type of the eighth parameter. * @param The type of the ninth parameter. */ public static interface Connectable9 extends Signal{ } /** * An interface for parameterless emitable signal. */ public static interface Emitable0 extends Signal{ public void emit(); } /** * An interface for emitable signal with one parameter. * @param The type of the first parameter. */ public static interface Emitable1 extends Signal{ public void emit(A a); } /** * An interface for emitable signal with two parameters. * @param The type of the first parameter. * @param The type of the second parameter. */ public static interface Emitable2 extends Signal{ public void emit(A a, B b); } /** * An interface for emitable signal with three parameters. * @param The type of the first parameter. * @param The type of the second parameter. * @param The type of the third parameter. */ public static interface Emitable3 extends Signal{ public void emit(A a, B b, C c); } /** * An interface for emitable signal with four parameters. * @param The type of the first parameter. * @param The type of the second parameter. * @param The type of the third parameter. * @param The type of the fourth parameter. */ public static interface Emitable4 extends Signal{ public void emit(A a, B b, C c, D d); } /** * An interface for emitable signal with five parameters. * @param The type of the first parameter. * @param The type of the second parameter. * @param The type of the third parameter. * @param The type of the fourth parameter. * @param The type of the fifth parameter. */ public static interface Emitable5 extends Signal{ public void emit(A a, B b, C c, D d, E e); } /** * An interface for emitable signal with six parameters. * @param The type of the first parameter. * @param The type of the second parameter. * @param The type of the third parameter. * @param The type of the fourth parameter. * @param The type of the fifth parameter. * @param The type of the sixth parameter. */ public static interface Emitable6 extends Signal{ public void emit(A a, B b, C c, D d, E e, F f); } /** * An interface for emitable signal with seven parameters. * @param The type of the first parameter. * @param The type of the second parameter. * @param The type of the third parameter. * @param The type of the fourth parameter. * @param The type of the fifth parameter. * @param The type of the sixth parameter. * @param The type of the seventh parameter. */ public static interface Emitable7 extends Signal{ public void emit(A a, B b, C c, D d, E e, F f, G g); } /** * An interface for emitable signal with eight parameters. * @param The type of the first parameter. * @param The type of the second parameter. * @param The type of the third parameter. * @param The type of the fourth parameter. * @param The type of the fifth parameter. * @param The type of the sixth parameter. * @param The type of the seventh parameter. * @param The type of the eighth parameter. */ public static interface Emitable8 extends Signal{ public void emit(A a, B b, C c, D d, E e, F f, G g, H h); } /** * An interface for emitable signal with nine parameters. * @param The type of the first parameter. * @param The type of the second parameter. * @param The type of the third parameter. * @param The type of the fourth parameter. * @param The type of the fifth parameter. * @param The type of the sixth parameter. * @param The type of the seventh parameter. * @param The type of the eighth parameter. * @param The type of the ninth parameter. */ public static interface Emitable9 extends Signal{ public void emit(A a, B b, C c, D d, E e, F f, G g, H h, I i); } /** * A generic handle to a method of variadic arguments with return value. * @param The type of the return value of the method. */ @FunctionalInterface public static interface GenericMethod extends AbstractSlot{ public R invoke(Object... args) throws Throwable; } /** * A handle to parameterless method with return value. * @param The type of the return value of the method. */ @FunctionalInterface public static interface Method0 extends AbstractSlot{ public R invoke() throws Throwable; } /** * A handle to method with onw parameter and return value. * @param The type of the first parameter of the method. * @param The type of the return value of the method. */ @FunctionalInterface public static interface Method1 extends AbstractSlot{ public R invoke(A a) throws Throwable; } /** * A handle to method with two parameters and return value. * @param The type of the first parameter of the method. * @param The type of the second parameter of the method. * @param The type of the return value of the method. */ @FunctionalInterface public static interface Method2 extends AbstractSlot{ public R invoke(A a, B b) throws Throwable; } /** * A handle to method with three parameters and return value. * @param The type of the first parameter of the method. * @param The type of the second parameter of the method. * @param The type of the third parameter of the method. * @param The type of the return value of the method. */ @FunctionalInterface public static interface Method3 extends AbstractSlot{ public R invoke(A a, B b, C c) throws Throwable; } /** * A handle to method with four parameters and return value. * @param The type of the first parameter of the method. * @param The type of the second parameter of the method. * @param The type of the third parameter of the method. * @param The type of the fourth parameter of the method. * @param The type of the return value of the method. */ @FunctionalInterface public static interface Method4 extends AbstractSlot{ public R invoke(A a, B b, C c, D d) throws Throwable; } /** * A handle to method with five parameters and return value. * @param The type of the first parameter of the method. * @param The type of the second parameter of the method. * @param The type of the third parameter of the method. * @param The type of the fourth parameter of the method. * @param The type of the fifth parameter of the method. * @param The type of the return value of the method. */ @FunctionalInterface public static interface Method5 extends AbstractSlot{ public R invoke(A a, B b, C c, D d, E e) throws Throwable; } /** * A handle to method with six parameters and return value. * @param The type of the first parameter of the method. * @param The type of the second parameter of the method. * @param The type of the third parameter of the method. * @param The type of the fourth parameter of the method. * @param The type of the fifth parameter of the method. * @param The type of the sixth parameter of the method. * @param The type of the return value of the method. */ @FunctionalInterface public static interface Method6 extends AbstractSlot{ public R invoke(A a, B b, C c, D d, E e, F f) throws Throwable; } /** * A handle to method with seven parameters and return value. * @param The type of the first parameter of the method. * @param The type of the second parameter of the method. * @param The type of the third parameter of the method. * @param The type of the fourth parameter of the method. * @param The type of the fifth parameter of the method. * @param The type of the sixth parameter of the method. * @param The type of the seventh parameter of the method. * @param The type of the return value of the method. */ @FunctionalInterface public static interface Method7 extends AbstractSlot{ public R invoke(A a, B b, C c, D d, E e, F f, G g) throws Throwable; } /** * A handle to method with eight parameters and return value. * @param The type of the first parameter of the method. * @param The type of the second parameter of the method. * @param The type of the third parameter of the method. * @param The type of the fourth parameter of the method. * @param The type of the fifth parameter of the method. * @param The type of the sixth parameter of the method. * @param The type of the seventh parameter of the method. * @param The type of the eighth parameter of the method. * @param The type of the return value of the method. */ @FunctionalInterface public static interface Method8 extends AbstractSlot{ public R invoke(A a, B b, C c, D d, E e, F f, G g, H h) throws Throwable; } /** * A handle to method with nine parameters and return value. * @param The type of the first parameter of the method. * @param The type of the second parameter of the method. * @param The type of the third parameter of the method. * @param The type of the fourth parameter of the method. * @param The type of the fifth parameter of the method. * @param The type of the sixth parameter of the method. * @param The type of the seventh parameter of the method. * @param The type of the eighth parameter of the method. * @param The type of the ninth parameter of the method. * @param The type of the return value of the method. */ @FunctionalInterface public static interface Method9 extends AbstractSlot{ public R invoke(A a, B b, C c, D d, E e, F f, G g, H h, I i) throws Throwable; } /** * An interface for testing signal emits with one argument. * @param The type of the first argument. */ public static interface ArgChecker1{ public void check(A a); } /** * An interface for testing signal emits with two arguments. * @param The type of the first argument. * @param The type of the second argument. */ public static interface ArgChecker2{ public void check(A a, B b); } /** * An interface for testing signal emits with three arguments. * @param The type of the first argument. * @param The type of the second argument. * @param The type of the third argument. */ public static interface ArgChecker3{ public void check(A a, B b, C c); } /** * An interface for testing signal emits with four arguments. * @param The type of the first argument. * @param The type of the second argument. * @param The type of the third argument. * @param The type of the fourth argument. */ public static interface ArgChecker4{ public void check(A a, B b, C c, D d); } /** * An interface for testing signal emits with five arguments. * @param The type of the first argument. * @param The type of the second argument. * @param The type of the third argument. * @param The type of the fourth argument. * @param The type of the fifth argument. */ public static interface ArgChecker5{ public void check(A a, B b, C c, D d, E e); } /** * An interface for testing signal emits with six arguments. * @param The type of the first argument. * @param The type of the second argument. * @param The type of the third argument. * @param The type of the fourth argument. * @param The type of the fifth argument. * @param The type of the sixth argument. */ public static interface ArgChecker6{ public void check(A a, B b, C c, D d, E e, F f); } /** * An interface for testing signal emits with seven arguments. * @param The type of the first argument. * @param The type of the second argument. * @param The type of the third argument. * @param The type of the fourth argument. * @param The type of the fifth argument. * @param The type of the sixth argument. * @param The type of the seventh argument. */ public static interface ArgChecker7{ public void check(A a, B b, C c, D d, E e, F f, G g); } /** * An interface for testing signal emits with eight arguments. * @param The type of the first argument. * @param The type of the second argument. * @param The type of the third argument. * @param The type of the fourth argument. * @param The type of the fifth argument. * @param The type of the sixth argument. * @param The type of the seventh argument. * @param The type of the eighth argument. */ public static interface ArgChecker8{ public void check(A a, B b, C c, D d, E e, F f, G g, H h); } /** * An interface for testing signal emits with nine arguments. * @param The type of the first argument. * @param The type of the second argument. * @param The type of the third argument. * @param The type of the fourth argument. * @param The type of the fifth argument. * @param The type of the sixth argument. * @param The type of the seventh argument. * @param The type of the eighth argument. * @param The type of the ninth argument. */ public static interface ArgChecker9{ public void check(A a, B b, C c, D d, E e, F f, G g, H h, I i); } /** * Supertype for parameterless signals. */ public static abstract class AbstractPrivateSignal0 extends AbstractSignal { AbstractPrivateSignal0(){super();} AbstractPrivateSignal0(Class declaringClass) { super(declaringClass); } AbstractPrivateSignal0(@StrictNonNull String signalName) { super(signalName, new Class[0]); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot0 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot0 slot) { return removeConnectionToSlotObject(slot); } /** * Initializes a connection to the signal. * * @param signal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Connectable0 signal, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSignalObject((AbstractSignal)signal, connectionType); } /** * Removes the connection to the given signal. * * @param signal the signal to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Connectable0 signal) { return removeConnectionToSignalObject((AbstractSignal)signal); } } /** * Supertype for all signals with one parameter. * @param The type of the first parameter of the signal. */ public static abstract class AbstractPrivateSignal1 extends AbstractSignal { AbstractPrivateSignal1(){ super(); } @SuppressWarnings("unchecked") AbstractPrivateSignal1(@StrictNonNull ArgChecker1 argumentTest){ super((array)->argumentTest.check((A)array[0])); } AbstractPrivateSignal1(Class declaringClass) { super(declaringClass); } AbstractPrivateSignal1(@StrictNonNull String signalName, Class typeA) { super(signalName, typeA); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot0 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot1 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot0 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot1 slot) { return removeConnectionToSlotObject(slot); } /** * Initializes a connection to the signal. * * @param signal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Connectable1 signal, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSignalObject((AbstractSignal)signal, connectionType); } /** * Removes the connection to the given signal. * * @param signal the signal to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Connectable1 signal) { return removeConnectionToSignalObject((AbstractSignal)signal); } } /** * Supertype for all signals with two parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. */ public static abstract class AbstractPrivateSignal2 extends AbstractSignal { AbstractPrivateSignal2(){super();} @SuppressWarnings("unchecked") AbstractPrivateSignal2(@StrictNonNull ArgChecker2 argumentTest){ super((array)->argumentTest.check((A)array[0], (B)array[1])); } AbstractPrivateSignal2(Class declaringClass) { super(declaringClass); } AbstractPrivateSignal2(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB) { super(signalName, typeA, typeB); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot0 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot1 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot2 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot0 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot1 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot2 slot) { return removeConnectionToSlotObject(slot); } /** * Initializes a connection to the signal. * * @param signal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Connectable2 signal, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSignalObject((AbstractSignal)signal, connectionType); } /** * Removes the connection to the given signal. * * @param signal the signal to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Connectable2 signal) { return removeConnectionToSignalObject((AbstractSignal)signal); } } /** * Supertype for all signals with three parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. */ public static abstract class AbstractPrivateSignal3 extends AbstractSignal { AbstractPrivateSignal3(){super();} @SuppressWarnings("unchecked") AbstractPrivateSignal3(@StrictNonNull ArgChecker3 argumentTest){ super((array)->argumentTest.check((A)array[0], (B)array[1], (C)array[2])); } AbstractPrivateSignal3(Class declaringClass) { super(declaringClass); } AbstractPrivateSignal3(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC) { super(signalName, typeA, typeB, typeC); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot0 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot1 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot2 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot3 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot0 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot1 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot2 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot3 slot) { return removeConnectionToSlotObject(slot); } /** * Initializes a connection to the signal. * * @param signal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Connectable3 signal, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSignalObject((AbstractSignal)signal, connectionType); } /** * Removes the connection to the given signal. * * @param signal the signal to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Connectable3 signal) { return removeConnectionToSignalObject((AbstractSignal)signal); } } /** * Supertype for all signals with four parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. */ public static abstract class AbstractPrivateSignal4 extends AbstractSignal { AbstractPrivateSignal4(){super();} @SuppressWarnings("unchecked") AbstractPrivateSignal4(@StrictNonNull ArgChecker4 argumentTest){ super((array)->argumentTest.check((A)array[0], (B)array[1], (C)array[2], (D)array[3])); } AbstractPrivateSignal4(Class declaringClass) { super(declaringClass); } AbstractPrivateSignal4(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD) { super(signalName, typeA, typeB, typeC, typeD); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot0 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot1 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot2 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot3 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot4 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot0 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot1 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot2 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot3 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot4 slot) { return removeConnectionToSlotObject(slot); } /** * Initializes a connection to the signal. * * @param signal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Connectable4 signal, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSignalObject((AbstractSignal)signal, connectionType); } /** * Removes the connection to the given signal. * * @param signal the signal to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Connectable4 signal) { return removeConnectionToSignalObject((AbstractSignal)signal); } } /** * Supertype for all signals with five parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. */ public static abstract class AbstractPrivateSignal5 extends AbstractSignal { AbstractPrivateSignal5(){super();} @SuppressWarnings("unchecked") AbstractPrivateSignal5(@StrictNonNull ArgChecker5 argumentTest){ super((array)->argumentTest.check((A)array[0], (B)array[1], (C)array[2], (D)array[3], (E)array[4])); } AbstractPrivateSignal5(Class declaringClass) { super(declaringClass); } AbstractPrivateSignal5(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE) { super(signalName, typeA, typeB, typeC, typeD, typeE); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot0 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot1 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot2 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot3 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot4 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot5 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot0 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot1 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot2 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot3 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot4 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot5 slot) { return removeConnectionToSlotObject(slot); } /** * Initializes a connection to the slot. * * @param signal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Connectable5 signal, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSignalObject((AbstractSignal)signal, connectionType); } /** * Removes the connection to the given signal. * * @param signal the signal to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Connectable5 signal) { return removeConnectionToSignalObject((AbstractSignal)signal); } } /** * Supertype for all signals with six parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. */ public static abstract class AbstractPrivateSignal6 extends AbstractSignal { AbstractPrivateSignal6(){super();} @SuppressWarnings("unchecked") AbstractPrivateSignal6(@StrictNonNull ArgChecker6 argumentTest){ super((array)->argumentTest.check((A)array[0], (B)array[1], (C)array[2], (D)array[3], (E)array[4], (F)array[5])); } AbstractPrivateSignal6(Class declaringClass) { super(declaringClass); } AbstractPrivateSignal6(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot0 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot1 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot2 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot3 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot4 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot5 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot6 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot0 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot1 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot2 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot3 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot4 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot5 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot6 slot) { return removeConnectionToSlotObject(slot); } /** * Initializes a connection to the slot. * * @param signal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Connectable6 signal, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSignalObject((AbstractSignal)signal, connectionType); } /** * Removes the connection to the given signal. * * @param signal the signal to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Connectable6 signal) { return removeConnectionToSignalObject((AbstractSignal)signal); } } /** * Supertype for all signals with seven parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. */ public static abstract class AbstractPrivateSignal7 extends AbstractSignal { AbstractPrivateSignal7(){super();} @SuppressWarnings("unchecked") AbstractPrivateSignal7(@StrictNonNull ArgChecker7 argumentTest){ super((array)->argumentTest.check((A)array[0], (B)array[1], (C)array[2], (D)array[3], (E)array[4], (F)array[5], (G)array[6])); } AbstractPrivateSignal7(Class declaringClass) { super(declaringClass); } AbstractPrivateSignal7(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot0 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot1 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot2 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot3 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot4 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot5 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot6 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot7 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot0 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot1 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot2 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot3 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot4 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot5 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot6 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot7 slot) { return removeConnectionToSlotObject(slot); } /** * Initializes a connection to the slot. * * @param signal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Connectable7 signal, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSignalObject((AbstractSignal)signal, connectionType); } /** * Removes the connection to the given signal. * * @param signal the signal to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Connectable7 signal) { return removeConnectionToSignalObject((AbstractSignal)signal); } } /** * Supertype for all signals with eight parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. */ public static abstract class AbstractPrivateSignal8 extends AbstractSignal { AbstractPrivateSignal8(){super();} @SuppressWarnings("unchecked") AbstractPrivateSignal8(@StrictNonNull ArgChecker8 argumentTest){ super((array)->argumentTest.check((A)array[0], (B)array[1], (C)array[2], (D)array[3], (E)array[4], (F)array[5], (G)array[6], (H)array[7])); } AbstractPrivateSignal8(Class declaringClass) { super(declaringClass); } AbstractPrivateSignal8(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, @StrictNonNull Class typeH) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, typeH); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot0 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot1 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot2 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot3 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot4 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot5 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot6 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot7 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot8 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot0 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot1 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot2 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot3 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot4 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot5 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot6 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot7 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot8 slot) { return removeConnectionToSlotObject(slot); } /** * Initializes a connection to the slot. * * @param signal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Connectable8 signal, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSignalObject((AbstractSignal)signal, connectionType); } /** * Removes the connection to the given signal. * * @param signal the signal to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Connectable8 signal) { return removeConnectionToSignalObject((AbstractSignal)signal); } } /** * Supertype for all signals with nine parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. */ public static abstract class AbstractPrivateSignal9 extends AbstractSignal { AbstractPrivateSignal9(){super();} @SuppressWarnings("unchecked") AbstractPrivateSignal9(@StrictNonNull ArgChecker9 argumentTest){ super((array)->argumentTest.check((A)array[0], (B)array[1], (C)array[2], (D)array[3], (E)array[4], (F)array[5], (G)array[6], (H)array[7], (I)array[8])); } AbstractPrivateSignal9(Class declaringClass) { super(declaringClass); } AbstractPrivateSignal9(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, @StrictNonNull Class typeH, @StrictNonNull Class typeI) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, typeH, typeI); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot0 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot1 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot2 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot3 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot4 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot5 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot6 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot7 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot8 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Initializes a connection to the slot. * * @param slot the slot to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Slot9 slot, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSlotObject(slot, connectionType); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot0 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot1 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot2 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot3 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot4 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot5 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot6 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot7 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot8 slot) { return removeConnectionToSlotObject(slot); } /** * Removes the connection to the given slot. * * @param slot the slot to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Slot9 slot) { return removeConnectionToSlotObject(slot); } /** * Initializes a connection to the slot. * * @param signal the signal to be connected * @param connectionType type of connection * @return connection if successful or null otherwise * @throws io.qt.QMisfittingSignatureException Raised if their signatures are incompatible. */ public final QMetaObject.@NonNull Connection connect(@StrictNonNull Connectable9 signal, Qt.@NonNull ConnectionType @NonNull... connectionType) { return addConnectionToSignalObject((AbstractSignal)signal, connectionType); } /** * Removes the connection to the given signal. * * @param signal the signal to be disconnected * @return true if successfully disconnected, or false otherwise. */ public final boolean disconnect(@StrictNonNull Connectable9 signal) { return removeConnectionToSignalObject((AbstractSignal)signal); } } /** * Supertype for all public parameterless signals. */ public static abstract class AbstractPublicSignal0 extends AbstractPrivateSignal0 implements Emitable0, Connectable0, Connectable1, Connectable2, Connectable3, Connectable4, Connectable5, Connectable6, Connectable7, Connectable8, Connectable9, GenericConnectable { AbstractPublicSignal0(){super();} AbstractPublicSignal0(Class declaringClass) { super(declaringClass); } AbstractPublicSignal0(@StrictNonNull String signalName) { super(signalName); } /** * Emits the signal. */ @Override public final void emit() { emitSignal(); } } /** * Supertype for all public signals with one parameter. * @param The type of the first parameter of the signal. */ public static abstract class AbstractPublicSignal1 extends AbstractPrivateSignal1 implements Emitable1, Connectable1, Connectable2, Connectable3, Connectable4, Connectable5, Connectable6, Connectable7, Connectable8, Connectable9, GenericConnectable { AbstractPublicSignal1(){ super(); } AbstractPublicSignal1(@StrictNonNull ArgChecker1 argumentTest) { super(argumentTest); } AbstractPublicSignal1(Class declaringClass) { super(declaringClass); } AbstractPublicSignal1(@StrictNonNull String signalName, Class typeA) { super(signalName, typeA); } /** * Emits the signal. * @param arg1 */ @Override public final void emit(A arg1) { emitSignal(arg1); } } /** * Supertype for all public signals with two parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. */ public static abstract class AbstractPublicSignal2 extends AbstractPrivateSignal2 implements Emitable2, Connectable2, Connectable3, Connectable4, Connectable5, Connectable6, Connectable7, Connectable8, Connectable9, GenericConnectable { AbstractPublicSignal2(){super();} AbstractPublicSignal2(@StrictNonNull ArgChecker2 argumentTest) { super(argumentTest); } AbstractPublicSignal2(Class declaringClass) { super(declaringClass); } AbstractPublicSignal2(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB) { super(signalName, typeA, typeB); } /** * Emits the signal. * @param arg1 * @param arg2 */ @Override public final void emit(A arg1, B arg2) { emitSignal(arg1, arg2); } } /** * Supertype for all public signals with three parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. */ public static abstract class AbstractPublicSignal3 extends AbstractPrivateSignal3 implements Emitable3, Connectable3, Connectable4, Connectable5, Connectable6, Connectable7, Connectable8, Connectable9, GenericConnectable { AbstractPublicSignal3(){super();} AbstractPublicSignal3(@StrictNonNull ArgChecker3 argumentTest) { super(argumentTest); } AbstractPublicSignal3(Class declaringClass) { super(declaringClass); } AbstractPublicSignal3(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC) { super(signalName, typeA, typeB, typeC); } /** * Emits the signal. * @param arg1 * @param arg2 * @param arg3 */ @Override public final void emit(A arg1, B arg2, C arg3) { emitSignal(arg1, arg2, arg3); } } /** * Supertype for all public signals with four parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. */ public static abstract class AbstractPublicSignal4 extends AbstractPrivateSignal4 implements Emitable4, Connectable4, Connectable5, Connectable6, Connectable7, Connectable8, Connectable9, GenericConnectable { AbstractPublicSignal4(){super();} AbstractPublicSignal4(@StrictNonNull ArgChecker4 argumentTest) { super(argumentTest); } AbstractPublicSignal4(Class declaringClass) { super(declaringClass); } AbstractPublicSignal4(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD) { super(signalName, typeA, typeB, typeC, typeD); } /** * Emits the signal. * @param arg1 * @param arg2 * @param arg3 * @param arg4 */ @Override public final void emit(A arg1, B arg2, C arg3, D arg4) { emitSignal(arg1, arg2, arg3, arg4); } } /** * Supertype for all public signals with five parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. */ public static abstract class AbstractPublicSignal5 extends AbstractPrivateSignal5 implements Emitable5, Connectable5, Connectable6, Connectable7, Connectable8, Connectable9, GenericConnectable { AbstractPublicSignal5(){super();} AbstractPublicSignal5(@StrictNonNull ArgChecker5 argumentTest) { super(argumentTest); } AbstractPublicSignal5(Class declaringClass) { super(declaringClass); } AbstractPublicSignal5(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE) { super(signalName, typeA, typeB, typeC, typeD, typeE); } /** * Emits the signal. * @param arg1 * @param arg2 * @param arg3 * @param arg4 * @param arg5 */ @Override public final void emit(A arg1, B arg2, C arg3, D arg4, E arg5) { emitSignal(arg1, arg2, arg3, arg4, arg5); } } /** * Supertype for all public signals with six parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. */ public static abstract class AbstractPublicSignal6 extends AbstractPrivateSignal6 implements Emitable6, Connectable6, Connectable7, Connectable8, Connectable9, GenericConnectable { AbstractPublicSignal6(){super();} AbstractPublicSignal6(@StrictNonNull ArgChecker6 argumentTest) { super(argumentTest); } AbstractPublicSignal6(Class declaringClass) { super(declaringClass); } AbstractPublicSignal6(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF); } /** * Emits the signal. * @param arg1 * @param arg2 * @param arg3 * @param arg4 * @param arg5 * @param arg6 */ @Override public final void emit(A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) { emitSignal(arg1, arg2, arg3, arg4, arg5, arg6); } } /** * Supertype for all public signals with seven parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. */ public static abstract class AbstractPublicSignal7 extends AbstractPrivateSignal7 implements Emitable7, Connectable7, Connectable8, Connectable9, GenericConnectable { AbstractPublicSignal7(){super();} AbstractPublicSignal7(@StrictNonNull ArgChecker7 argumentTest) { super(argumentTest); } AbstractPublicSignal7(Class declaringClass) { super(declaringClass); } AbstractPublicSignal7(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG); } /** * Emits the signal. * @param arg1 * @param arg2 * @param arg3 * @param arg4 * @param arg5 * @param arg6 * @param arg7 */ @Override public final void emit(A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7) { emitSignal(arg1, arg2, arg3, arg4, arg5, arg6, arg7); } } /** * Supertype for all public signals with eight parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. */ public static abstract class AbstractPublicSignal8 extends AbstractPrivateSignal8 implements Emitable8, Connectable8, Connectable9, GenericConnectable { AbstractPublicSignal8(){super();} AbstractPublicSignal8(@StrictNonNull ArgChecker8 argumentTest) { super(argumentTest); } AbstractPublicSignal8(Class declaringClass) { super(declaringClass); } AbstractPublicSignal8(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, @StrictNonNull Class typeH) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, typeH); } /** * Emits the signal. * @param arg1 * @param arg2 * @param arg3 * @param arg4 * @param arg5 * @param arg6 * @param arg7 * @param arg8 */ @Override public final void emit(A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8) { emitSignal(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); } } /** * Supertype for all public signals with nine parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. */ public static abstract class AbstractPublicSignal9 extends AbstractPrivateSignal9 implements Emitable9, Connectable9, GenericConnectable { AbstractPublicSignal9(){super();} AbstractPublicSignal9(@StrictNonNull ArgChecker9 argumentTest) { super(argumentTest); } AbstractPublicSignal9(Class declaringClass) { super(declaringClass); } AbstractPublicSignal9(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, @StrictNonNull Class typeH, @StrictNonNull Class typeI) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, typeH, typeI); } /** * Emits the signal. * @param arg1 * @param arg2 * @param arg3 * @param arg4 * @param arg5 * @param arg6 * @param arg7 * @param arg8 * @param arg9 */ @Override public final void emit(A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8, I arg9) { emitSignal(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9); } } /** * Supertype for all public default signals with one parameters. * @param The type of the first parameter of the signal. */ public static abstract class AbstractSignal1Default1 extends AbstractPublicSignal1 implements Emitable0, Connectable0 { AbstractSignal1Default1() { this.arg1Default = null; } AbstractSignal1Default1(@StrictNonNull Supplier arg1Default){ super(); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal1Default1(@StrictNonNull Supplier arg1Default, @StrictNonNull ArgChecker1 argumentTest){ super(argumentTest); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal1Default1(@StrictNonNull Supplier arg1Default, Class declaringClass){ super(declaringClass); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal1Default1(@StrictNonNull String signalName, Class typeA, @StrictNonNull Supplier arg1Default) { super(signalName, typeA); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } private final Supplier arg1Default; /** * Emits the signal with default value for arg1. */ @Override public final void emit() { super.emitDefaultSignal(arg1Default); } } /** * Supertype for all public default signals with two parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. */ public static abstract class AbstractSignal2Default1 extends AbstractPublicSignal2 implements Emitable1, Connectable1 { AbstractSignal2Default1() { this.arg2Default = null; } AbstractSignal2Default1(Supplier arg2Default){ super(); if(arg2Default!=null){ this.arg2Default = arg2Default; }else{ throw new QNoDefaultValueException(2); } } AbstractSignal2Default1(Supplier arg2Default, @StrictNonNull ArgChecker2 argumentTest){ super(argumentTest); if(arg2Default!=null){ this.arg2Default = arg2Default; }else{ throw new QNoDefaultValueException(2); } } AbstractSignal2Default1(Supplier arg2Default, Class declaringClass){ super(declaringClass); if(arg2Default!=null){ this.arg2Default = arg2Default; }else{ throw new QNoDefaultValueException(2); } } AbstractSignal2Default1(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, Supplier arg2Default) { super(signalName, typeA, typeB); if(arg2Default!=null){ this.arg2Default = arg2Default; }else{ throw new QNoDefaultValueException(2); } } private final Supplier arg2Default; /** * Emits the signal with default value for arg2. * @param arg1 */ @Override public final void emit(A arg1) { super.emitDefaultSignal(arg2Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default) { super.emitDefaultSignal(arg1Default, arg2Default); } } /** * Supertype for all public default signals with two parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. */ public static abstract class AbstractSignal2Default2 extends AbstractSignal2Default1 implements Emitable0, Connectable0 { AbstractSignal2Default2() { this.arg1Default = null; } AbstractSignal2Default2(@StrictNonNull Supplier arg1Default, Supplier arg2Default){ super(arg2Default); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal2Default2(@StrictNonNull Supplier arg1Default, Supplier arg2Default, @StrictNonNull ArgChecker2 argumentTest){ super(arg2Default, argumentTest); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal2Default2(@StrictNonNull Supplier arg1Default, Supplier arg2Default, Class declaringClass){ super(arg2Default, declaringClass); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal2Default2(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Supplier arg1Default, Supplier arg2Default) { super(signalName, typeA, typeB, arg2Default); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } private final Supplier arg1Default; /** * Emits the signal with default value for arg1. */ @Override public final void emit() { super.emitDefaultSignal(arg1Default); } } /** * Supertype for all public default signals with three parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. */ public static abstract class AbstractSignal3Default1 extends AbstractPublicSignal3 implements Emitable2, Connectable2 { AbstractSignal3Default1() { this.arg3Default = null; } AbstractSignal3Default1(Supplier arg3Default){ super(); if(arg3Default!=null){ this.arg3Default = arg3Default; }else{ throw new QNoDefaultValueException(3); } } AbstractSignal3Default1(Supplier arg3Default, @StrictNonNull ArgChecker3 argumentTest){ super(argumentTest); if(arg3Default!=null){ this.arg3Default = arg3Default; }else{ throw new QNoDefaultValueException(3); } } AbstractSignal3Default1(Supplier arg3Default, Class declaringClass){ super(declaringClass); if(arg3Default!=null){ this.arg3Default = arg3Default; }else{ throw new QNoDefaultValueException(3); } } AbstractSignal3Default1(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, Supplier arg3Default) { super(signalName, typeA, typeB, typeC); if(arg3Default!=null){ this.arg3Default = arg3Default; }else{ throw new QNoDefaultValueException(3); } } private final Supplier arg3Default; /** * Emits the signal with default value for arg3. * @param arg1 * @param arg2 */ @Override public final void emit(A arg1, B arg2) { emitDefaultSignal(arg3Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default); } } /** * Supertype for all public default signals with three parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. */ public static abstract class AbstractSignal3Default2 extends AbstractSignal3Default1 implements Emitable1, Connectable1 { AbstractSignal3Default2() { this.arg2Default = null; } AbstractSignal3Default2(Supplier arg2Default, Supplier arg3Default){ super(arg3Default); if(arg2Default!=null){ this.arg2Default = arg2Default; }else{ throw new QNoDefaultValueException(2); } } AbstractSignal3Default2(Supplier arg2Default, Supplier arg3Default, @StrictNonNull ArgChecker3 argumentTest){ super(arg3Default, argumentTest); if(arg2Default!=null){ this.arg2Default = arg2Default; }else{ throw new QNoDefaultValueException(2); } } AbstractSignal3Default2(Supplier arg2Default, Supplier arg3Default, Class declaringClass){ super(arg3Default, declaringClass); if(arg2Default!=null){ this.arg2Default = arg2Default; }else{ throw new QNoDefaultValueException(2); } } AbstractSignal3Default2(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, Supplier arg2Default, Supplier arg3Default) { super(signalName, typeA, typeB, typeC, arg3Default); if(arg2Default!=null){ this.arg2Default = arg2Default; }else{ throw new QNoDefaultValueException(2); } } private final Supplier arg2Default; /** * Emits the signal with default value for arg2. * @param arg1 */ @Override public final void emit(A arg1) { super.emitDefaultSignal(arg2Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default) { super.emitDefaultSignal(arg1Default, arg2Default); } } /** * Supertype for all public default signals with three parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. */ public static abstract class AbstractSignal3Default3 extends AbstractSignal3Default2 implements Emitable0, Connectable0 { AbstractSignal3Default3() { this.arg1Default = null; } AbstractSignal3Default3(@StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default){ super(arg2Default, arg3Default); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal3Default3(@StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, @StrictNonNull ArgChecker3 argumentTest){ super(arg2Default, arg3Default, argumentTest); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal3Default3(@StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Class declaringClass){ super(arg2Default, arg3Default, declaringClass); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal3Default3(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default) { super(signalName, typeA, typeB, typeC, arg2Default, arg3Default); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } private final Supplier arg1Default; /** * Emits the signal with default value for arg1. */ @Override public final void emit() { super.emitDefaultSignal(arg1Default); } } /** * Supertype for all public default signals with four parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. */ public static abstract class AbstractSignal4Default1 extends AbstractPublicSignal4 implements Emitable3, Connectable3 { AbstractSignal4Default1() { this.arg4Default = null; } AbstractSignal4Default1(Supplier arg4Default){ super(); if(arg4Default!=null){ this.arg4Default = arg4Default; }else{ throw new QNoDefaultValueException(4); } } AbstractSignal4Default1(Supplier arg4Default, @StrictNonNull ArgChecker4 argumentTest){ super(argumentTest); if(arg4Default!=null){ this.arg4Default = arg4Default; }else{ throw new QNoDefaultValueException(4); } } AbstractSignal4Default1(Supplier arg4Default, Class declaringClass){ super(declaringClass); if(arg4Default!=null){ this.arg4Default = arg4Default; }else{ throw new QNoDefaultValueException(4); } } AbstractSignal4Default1(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, Supplier arg4Default) { super(signalName, typeA, typeB, typeC, typeD); if(arg4Default!=null){ this.arg4Default = arg4Default; }else{ throw new QNoDefaultValueException(4); } } private final Supplier arg4Default; /** * Emits the signal with default value for arg4. * @param arg1 * @param arg2 * @param arg3 */ @Override public void emit(A arg1, B arg2, C arg3) { super.emitDefaultSignal(arg4Default, arg1, arg2, arg3); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg3Default, A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg4Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, Supplier arg3Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg4Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default, arg4Default); } } /** * Supertype for all public default signals with four parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. */ public static abstract class AbstractSignal4Default2 extends AbstractSignal4Default1 implements Emitable2, Connectable2 { AbstractSignal4Default2() { this.arg3Default = null; } AbstractSignal4Default2(Supplier arg3Default, Supplier arg4Default){ super(arg4Default); if(arg3Default!=null){ this.arg3Default = arg3Default; }else{ throw new QNoDefaultValueException(3); } } AbstractSignal4Default2(Supplier arg3Default, Supplier arg4Default, @StrictNonNull ArgChecker4 argumentTest){ super(arg4Default, argumentTest); if(arg3Default!=null){ this.arg3Default = arg3Default; }else{ throw new QNoDefaultValueException(3); } } AbstractSignal4Default2(Supplier arg3Default, Supplier arg4Default, Class declaringClass){ super(arg4Default, declaringClass); if(arg3Default!=null){ this.arg3Default = arg3Default; }else{ throw new QNoDefaultValueException(3); } } AbstractSignal4Default2(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, Supplier arg3Default, Supplier arg4Default) { super(signalName, typeA, typeB, typeC, typeD, arg4Default); if(arg3Default!=null){ this.arg3Default = arg3Default; }else{ throw new QNoDefaultValueException(3); } } private final Supplier arg3Default; /** * Emits the signal with default value for arg3. * @param arg1 * @param arg2 */ @Override public final void emit(A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default); } } /** * Supertype for all public default signals with four parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. */ public static abstract class AbstractSignal4Default3 extends AbstractSignal4Default2 implements Emitable1, Connectable1 { AbstractSignal4Default3() { this.arg2Default = null; } AbstractSignal4Default3(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default){ super(arg3Default, arg4Default); if(arg2Default!=null){ this.arg2Default = arg2Default; }else{ throw new QNoDefaultValueException(2); } } AbstractSignal4Default3(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, @StrictNonNull ArgChecker4 argumentTest){ super(arg3Default, arg4Default, argumentTest); if(arg2Default!=null){ this.arg2Default = arg2Default; }else{ throw new QNoDefaultValueException(2); } } AbstractSignal4Default3(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Class declaringClass){ super(arg3Default, arg4Default, declaringClass); if(arg2Default!=null){ this.arg2Default = arg2Default; }else{ throw new QNoDefaultValueException(2); } } AbstractSignal4Default3(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default) { super(signalName, typeA, typeB, typeC, typeD, arg3Default, arg4Default); if(arg3Default!=null){ this.arg2Default = arg2Default; }else{ throw new QNoDefaultValueException(2); } } private final Supplier arg2Default; /** * Emits the signal with default value for arg2. * @param arg1 */ @Override public final void emit(A arg1) { super.emitDefaultSignal(arg2Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default) { super.emitDefaultSignal(arg1Default, arg2Default); } } /** * Supertype for all public default signals with four parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. */ public static abstract class AbstractSignal4Default4 extends AbstractSignal4Default3 implements Emitable0, Connectable0 { AbstractSignal4Default4() { this.arg1Default = null; } AbstractSignal4Default4(@StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, @StrictNonNull ArgChecker4 argumentTest){ super(arg2Default, arg3Default, arg4Default, argumentTest); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal4Default4(@StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default){ super(arg2Default, arg3Default, arg4Default); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal4Default4(@StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Class declaringClass){ super(arg2Default, arg3Default, arg4Default, declaringClass); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal4Default4(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default) { super(signalName, typeA, typeB, typeC, typeD, arg2Default, arg3Default, arg4Default); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } private final Supplier arg1Default; /** * Emits the signal with default value for arg1. */ @Override public final void emit() { super.emitDefaultSignal(arg1Default); } } /** * Supertype for all public default signals with five parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. */ public static abstract class AbstractSignal5Default1 extends AbstractPublicSignal5 implements Emitable4, Connectable4 { AbstractSignal5Default1() { this.arg5Default = null; } AbstractSignal5Default1(Supplier arg5Default){ super(); if(arg5Default!=null){ this.arg5Default = arg5Default; }else{ throw new QNoDefaultValueException(5); } } AbstractSignal5Default1(Supplier arg5Default, @StrictNonNull ArgChecker5 argumentTest){ super(argumentTest); if(arg5Default!=null){ this.arg5Default = arg5Default; }else{ throw new QNoDefaultValueException(5); } } AbstractSignal5Default1(Supplier arg5Default, Class declaringClass){ super(declaringClass); if(arg5Default!=null){ this.arg5Default = arg5Default; }else{ throw new QNoDefaultValueException(5); } } AbstractSignal5Default1(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, Supplier arg5Default) { super(signalName, typeA, typeB, typeC, typeD, typeE); if(arg5Default!=null){ this.arg5Default = arg5Default; }else{ throw new QNoDefaultValueException(5); } } private final Supplier arg5Default; /** * Emits the signal with default value for arg5. * @param arg1 * @param arg2 * @param arg3 * @param arg4 */ @Override public final void emit(A arg1, B arg2, C arg3, D arg4) { super.emitDefaultSignal(arg5Default, arg1, arg2, arg3, arg4); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg4Default, A arg1, B arg2, C arg3) { super.emitDefaultSignal(arg4Default, arg5Default, arg1, arg2, arg3); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg3Default, Supplier arg4Default, A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg4Default, arg5Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg4Default, arg5Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default); } } /** * Supertype for all public default signals with five parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. */ public static abstract class AbstractSignal5Default2 extends AbstractSignal5Default1 implements Emitable3, Connectable3 { AbstractSignal5Default2() { this.arg4Default = null; } AbstractSignal5Default2(Supplier arg4Default, Supplier arg5Default){ super(arg5Default); if(arg4Default!=null){ this.arg4Default = arg4Default; }else{ throw new QNoDefaultValueException(4); } } AbstractSignal5Default2(Supplier arg4Default, Supplier arg5Default, @StrictNonNull ArgChecker5 argumentTest){ super(arg5Default, argumentTest); if(arg4Default!=null){ this.arg4Default = arg4Default; }else{ throw new QNoDefaultValueException(4); } } AbstractSignal5Default2(Supplier arg4Default, Supplier arg5Default, Class declaringClass){ super(arg5Default, declaringClass); if(arg4Default!=null){ this.arg4Default = arg4Default; }else{ throw new QNoDefaultValueException(4); } } AbstractSignal5Default2(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, Supplier arg4Default, Supplier arg5Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, arg5Default); if(arg4Default!=null){ this.arg4Default = arg4Default; }else{ throw new QNoDefaultValueException(4); } } private final Supplier arg4Default; /** * Emits the signal with default value for arg4. * @param arg1 * @param arg2 * @param arg3 */ @Override public final void emit(A arg1, B arg2, C arg3) { super.emitDefaultSignal(arg4Default, arg1, arg2, arg3); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg3Default, A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg4Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, Supplier arg3Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg4Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default, arg4Default); } } /** * Supertype for all public default signals with five parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. */ public static abstract class AbstractSignal5Default3 extends AbstractSignal5Default2 implements Emitable2, Connectable2 { AbstractSignal5Default3() { this.arg3Default = null; } AbstractSignal5Default3(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default){ super(arg4Default, arg5Default); if(arg3Default!=null){ this.arg3Default = arg3Default; }else{ throw new QNoDefaultValueException(3); } } AbstractSignal5Default3(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, @StrictNonNull ArgChecker5 argumentTest){ super(arg4Default, arg5Default, argumentTest); if(arg3Default!=null){ this.arg3Default = arg3Default; }else{ throw new QNoDefaultValueException(3); } } AbstractSignal5Default3(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Class declaringClass){ super(arg4Default, arg5Default, declaringClass); if(arg3Default!=null){ this.arg3Default = arg3Default; }else{ throw new QNoDefaultValueException(3); } } AbstractSignal5Default3(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, arg4Default, arg5Default); if(arg3Default!=null){ this.arg3Default = arg3Default; }else{ throw new QNoDefaultValueException(3); } } private final Supplier arg3Default; /** * Emits the signal with default value for arg3. * @param arg1 * @param arg2 */ @Override public final void emit(A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default); } } /** * Supertype for all public default signals with five parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. */ public static abstract class AbstractSignal5Default4 extends AbstractSignal5Default3 implements Emitable1, Connectable1 { AbstractSignal5Default4() { this.arg2Default = null; } AbstractSignal5Default4(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default){ super(arg3Default, arg4Default, arg5Default); if(arg2Default!=null){ this.arg2Default = arg2Default; }else{ throw new QNoDefaultValueException(2); } } AbstractSignal5Default4(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, @StrictNonNull ArgChecker5 argumentTest){ super(arg3Default, arg4Default, arg5Default, argumentTest); if(arg2Default!=null){ this.arg2Default = arg2Default; }else{ throw new QNoDefaultValueException(2); } } AbstractSignal5Default4(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Class declaringClass){ super(arg3Default, arg4Default, arg5Default, declaringClass); if(arg2Default!=null){ this.arg2Default = arg2Default; }else{ throw new QNoDefaultValueException(2); } } AbstractSignal5Default4(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, arg3Default, arg4Default, arg5Default); if(arg2Default!=null){ this.arg2Default = arg2Default; }else{ throw new QNoDefaultValueException(2); } } private final Supplier arg2Default; /** * Emits the signal with default value for arg2. * @param arg1 */ @Override public final void emit(A arg1) { super.emitDefaultSignal(arg2Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default) { super.emitDefaultSignal(arg1Default, arg2Default); } } /** * Supertype for all public default signals with five parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. */ public static abstract class AbstractSignal5Default5 extends AbstractSignal5Default4 implements Emitable0, Connectable0 { AbstractSignal5Default5() { this.arg1Default = null; } AbstractSignal5Default5(@StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default){ super(arg2Default, arg3Default, arg4Default, arg5Default); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal5Default5(@StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, @StrictNonNull ArgChecker5 argumentTest){ super(arg2Default, arg3Default, arg4Default, arg5Default, argumentTest); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal5Default5(@StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Class declaringClass){ super(arg2Default, arg3Default, arg4Default, arg5Default, declaringClass); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal5Default5(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, arg2Default, arg3Default, arg4Default, arg5Default); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } private final Supplier arg1Default; /** * Emits the signal with default value for arg1. */ @Override public final void emit() { super.emitDefaultSignal(arg1Default); } } /** * Supertype for all public default signals with six parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. */ public static abstract class AbstractSignal6Default1 extends AbstractPublicSignal6 implements Emitable5, Connectable5 { AbstractSignal6Default1() { this.arg6Default = null; } AbstractSignal6Default1(Supplier arg6Default){ super(); if(arg6Default!=null){ this.arg6Default = arg6Default; }else{ throw new QNoDefaultValueException(6); } } AbstractSignal6Default1(Supplier arg6Default, @StrictNonNull ArgChecker6 argumentTest){ super(argumentTest); if(arg6Default!=null){ this.arg6Default = arg6Default; }else{ throw new QNoDefaultValueException(6); } } AbstractSignal6Default1(Supplier arg6Default, Class declaringClass){ super(declaringClass); if(arg6Default!=null){ this.arg6Default = arg6Default; }else{ throw new QNoDefaultValueException(6); } } AbstractSignal6Default1(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, Supplier arg6Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF); if(arg6Default!=null){ this.arg6Default = arg6Default; }else{ throw new QNoDefaultValueException(6); } } private final Supplier arg6Default; /** * Emits the signal with default value for arg6. * @param arg1 * @param arg2 * @param arg3 * @param arg4 * @param arg5 */ @Override public final void emit(A arg1, B arg2, C arg3, D arg4, E arg5) { super.emitDefaultSignal(arg6Default, arg1, arg2, arg3, arg4, arg5); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg5Default, A arg1, B arg2, C arg3, D arg4) { super.emitDefaultSignal(arg5Default, arg6Default, arg1, arg2, arg3, arg4); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg4Default, Supplier arg5Default, A arg1, B arg2, C arg3) { super.emitDefaultSignal(arg4Default, arg5Default, arg6Default, arg1, arg2, arg3); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg4Default, arg5Default, arg6Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default, arg6Default); } } /** * Supertype for all public default signals with six parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. */ public static abstract class AbstractSignal6Default2 extends AbstractSignal6Default1 implements Emitable4, Connectable4 { AbstractSignal6Default2() { this.arg5Default = null; } AbstractSignal6Default2(Supplier arg5Default, Supplier arg6Default){ super(arg6Default); if(arg5Default!=null){ this.arg5Default = arg5Default; }else{ throw new QNoDefaultValueException(5); } } AbstractSignal6Default2(Supplier arg5Default, Supplier arg6Default, @StrictNonNull ArgChecker6 argumentTest){ super(arg6Default, argumentTest); if(arg5Default!=null){ this.arg5Default = arg5Default; }else{ throw new QNoDefaultValueException(5); } } AbstractSignal6Default2(Supplier arg5Default, Supplier arg6Default, Class declaringClass){ super(arg6Default, declaringClass); if(arg5Default!=null){ this.arg5Default = arg5Default; }else{ throw new QNoDefaultValueException(5); } } AbstractSignal6Default2(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, Supplier arg5Default, Supplier arg6Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, arg6Default); if(arg5Default!=null){ this.arg5Default = arg5Default; }else{ throw new QNoDefaultValueException(5); } } private final Supplier arg5Default; /** * Emits the signal with default value for arg5. * @param arg1 * @param arg2 * @param arg3 * @param arg4 */ @Override public final void emit(A arg1, B arg2, C arg3, D arg4) { super.emitDefaultSignal(arg5Default, arg1, arg2, arg3, arg4); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg4Default, A arg1, B arg2, C arg3) { super.emitDefaultSignal(arg4Default, arg5Default, arg1, arg2, arg3); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg3Default, Supplier arg4Default, A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg4Default, arg5Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg4Default, arg5Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default); } } /** * Supertype for all public default signals with six parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. */ public static abstract class AbstractSignal6Default3 extends AbstractSignal6Default2 implements Emitable3, Connectable3 { AbstractSignal6Default3() { this.arg4Default = null; } AbstractSignal6Default3(Supplier arg4Default, Supplier arg5Default, Supplier arg6Default){ super(arg5Default, arg6Default); if(arg4Default!=null){ this.arg4Default = arg4Default; }else{ throw new QNoDefaultValueException(4); } } AbstractSignal6Default3(Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, @StrictNonNull ArgChecker6 argumentTest){ super(arg5Default, arg6Default, argumentTest); if(arg4Default!=null){ this.arg4Default = arg4Default; }else{ throw new QNoDefaultValueException(4); } } AbstractSignal6Default3(Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Class declaringClass){ super(arg5Default, arg6Default, declaringClass); if(arg4Default!=null){ this.arg4Default = arg4Default; }else{ throw new QNoDefaultValueException(4); } } AbstractSignal6Default3(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, arg5Default, arg6Default); if(arg4Default!=null){ this.arg4Default = arg4Default; }else{ throw new QNoDefaultValueException(4); } } private final Supplier arg4Default; /** * Emits the signal with default value for arg4. * @param arg1 * @param arg2 * @param arg3 */ @Override public final void emit(A arg1, B arg2, C arg3) { super.emitDefaultSignal(arg4Default, arg1, arg2, arg3); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg3Default, A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg4Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, Supplier arg3Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg4Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default, arg4Default); } } /** * Supertype for all public default signals with six parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. */ public static abstract class AbstractSignal6Default4 extends AbstractSignal6Default3 implements Emitable2, Connectable2 { AbstractSignal6Default4() { this.arg3Default = null; } AbstractSignal6Default4(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default){ super(arg4Default, arg5Default, arg6Default); if(arg3Default!=null){ this.arg3Default = arg3Default; }else{ throw new QNoDefaultValueException(3); } } AbstractSignal6Default4(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, @StrictNonNull ArgChecker6 argumentTest){ super(arg4Default, arg5Default, arg6Default, argumentTest); if(arg3Default!=null){ this.arg3Default = arg3Default; }else{ throw new QNoDefaultValueException(3); } } AbstractSignal6Default4(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Class declaringClass){ super(arg4Default, arg5Default, arg6Default, declaringClass); if(arg3Default!=null){ this.arg3Default = arg3Default; }else{ throw new QNoDefaultValueException(3); } } AbstractSignal6Default4(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, arg4Default, arg5Default, arg6Default); if(arg3Default!=null){ this.arg3Default = arg3Default; }else{ throw new QNoDefaultValueException(3); } } private final Supplier arg3Default; /** * Emits the signal with default value for arg3. * @param arg1 * @param arg2 */ @Override public final void emit(A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default); } } /** * Supertype for all public default signals with six parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. */ public static abstract class AbstractSignal6Default5 extends AbstractSignal6Default4 implements Emitable1, Connectable1 { AbstractSignal6Default5() { this.arg2Default = null; } AbstractSignal6Default5(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default){ super(arg3Default, arg4Default, arg5Default, arg6Default); if(arg2Default!=null){ this.arg2Default = arg2Default; }else{ throw new QNoDefaultValueException(2); } } AbstractSignal6Default5(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, @StrictNonNull ArgChecker6 argumentTest){ super(arg3Default, arg4Default, arg5Default, arg6Default, argumentTest); if(arg2Default!=null){ this.arg2Default = arg2Default; }else{ throw new QNoDefaultValueException(2); } } AbstractSignal6Default5(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Class declaringClass){ super(arg3Default, arg4Default, arg5Default, arg6Default, declaringClass); if(arg2Default!=null){ this.arg2Default = arg2Default; }else{ throw new QNoDefaultValueException(2); } } AbstractSignal6Default5(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, arg3Default, arg4Default, arg5Default, arg6Default); if(arg2Default!=null){ this.arg2Default = arg2Default; }else{ throw new QNoDefaultValueException(2); } } private final Supplier arg2Default; /** * Emits the signal with default value for arg2. * @param arg1 */ @Override public final void emit(A arg1) { super.emitDefaultSignal(arg2Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default) { super.emitDefaultSignal(arg1Default, arg2Default); } } /** * Supertype for all public default signals with six parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. */ public static abstract class AbstractSignal6Default6 extends AbstractSignal6Default5 implements Emitable0, Connectable0 { AbstractSignal6Default6() { this.arg1Default = null; } AbstractSignal6Default6(@StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal6Default6(@StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, @StrictNonNull ArgChecker6 argumentTest){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, argumentTest); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal6Default6(@StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Class declaringClass){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, declaringClass); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal6Default6(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, arg2Default, arg3Default, arg4Default, arg5Default, arg6Default); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } private final Supplier arg1Default; /** * Emits the signal with default value for arg1. */ @Override public final void emit() { super.emitDefaultSignal(arg1Default); } } /** * Supertype for all public default signals with seven parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. */ public static abstract class AbstractSignal7Default1 extends AbstractPublicSignal7 implements Emitable6, Connectable6 { AbstractSignal7Default1() { this.arg7Default = null; } AbstractSignal7Default1(Supplier arg7Default){ super(); if(arg7Default!=null){ this.arg7Default = arg7Default; }else{ throw new QNoDefaultValueException(7); } } AbstractSignal7Default1(Supplier arg7Default, @StrictNonNull ArgChecker7 argumentTest){ super(argumentTest); if(arg7Default!=null){ this.arg7Default = arg7Default; }else{ throw new QNoDefaultValueException(7); } } AbstractSignal7Default1(Supplier arg7Default, Class declaringClass){ super(declaringClass); if(arg7Default!=null){ this.arg7Default = arg7Default; }else{ throw new QNoDefaultValueException(7); } } AbstractSignal7Default1(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, Supplier arg7Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG); if(arg7Default!=null){ this.arg7Default = arg7Default; }else{ throw new QNoDefaultValueException(7); } } private final Supplier arg7Default; /** * Emits the signal with default value for arg7. * @param arg1 * @param arg2 * @param arg3 * @param arg4 * @param arg5 * @param arg6 */ @Override public final void emit(A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) { super.emitDefaultSignal(arg7Default, arg1, arg2, arg3, arg4, arg5, arg6); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg6Default, A arg1, B arg2, C arg3, D arg4, E arg5) { super.emitDefaultSignal(arg6Default, arg7Default, arg1, arg2, arg3, arg4, arg5); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg5Default, Supplier arg6Default, A arg1, B arg2, C arg3, D arg4) { super.emitDefaultSignal(arg5Default, arg6Default, arg7Default, arg1, arg2, arg3, arg4); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, A arg1, B arg2, C arg3) { super.emitDefaultSignal(arg4Default, arg5Default, arg6Default, arg7Default, arg1, arg2, arg3); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default); } } /** * Supertype for all public default signals with seven parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. */ public static abstract class AbstractSignal7Default2 extends AbstractSignal7Default1 implements Emitable5, Connectable5 { AbstractSignal7Default2() { this.arg6Default = null; } AbstractSignal7Default2(Supplier arg6Default, Supplier arg7Default){ super(arg7Default); this.arg6Default = arg6Default; if(this.arg6Default==null){ throw new QNoDefaultValueException(6); } } AbstractSignal7Default2(Supplier arg6Default, Supplier arg7Default, @StrictNonNull ArgChecker7 argumentTest){ super(arg7Default, argumentTest); this.arg6Default = arg6Default; if(this.arg6Default==null){ throw new QNoDefaultValueException(6); } } AbstractSignal7Default2(Supplier arg6Default, Supplier arg7Default, Class declaringClass){ super(arg7Default, declaringClass); this.arg6Default = arg6Default; if(this.arg6Default==null){ throw new QNoDefaultValueException(6); } } AbstractSignal7Default2(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, Supplier arg6Default, Supplier arg7Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, arg7Default); this.arg6Default = arg6Default; if(this.arg6Default==null){ throw new QNoDefaultValueException(6); } } private final Supplier arg6Default; /** * Emits the signal with default value for arg6. * @param arg1 * @param arg2 * @param arg3 * @param arg4 * @param arg5 */ @Override public final void emit(A arg1, B arg2, C arg3, D arg4, E arg5) { super.emitDefaultSignal(arg6Default, arg1, arg2, arg3, arg4, arg5); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg5Default, A arg1, B arg2, C arg3, D arg4) { super.emitDefaultSignal(arg5Default, arg6Default, arg1, arg2, arg3, arg4); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg4Default, Supplier arg5Default, A arg1, B arg2, C arg3) { super.emitDefaultSignal(arg4Default, arg5Default, arg6Default, arg1, arg2, arg3); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg4Default, arg5Default, arg6Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default, arg6Default); } } /** * Supertype for all public default signals with seven parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. */ public static abstract class AbstractSignal7Default3 extends AbstractSignal7Default2 implements Emitable4, Connectable4 { AbstractSignal7Default3() { this.arg5Default = null; } AbstractSignal7Default3(Supplier arg5Default, Supplier arg6Default, Supplier arg7Default){ super(arg6Default, arg7Default); this.arg5Default = arg5Default; if(this.arg5Default==null){ throw new QNoDefaultValueException(5); } } AbstractSignal7Default3(Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, @StrictNonNull ArgChecker7 argumentTest){ super(arg6Default, arg7Default, argumentTest); this.arg5Default = arg5Default; if(this.arg5Default==null){ throw new QNoDefaultValueException(5); } } AbstractSignal7Default3(Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Class declaringClass){ super(arg6Default, arg7Default, declaringClass); this.arg5Default = arg5Default; if(this.arg5Default==null){ throw new QNoDefaultValueException(5); } } AbstractSignal7Default3(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, arg6Default, arg7Default); this.arg5Default = arg5Default; if(this.arg5Default==null){ throw new QNoDefaultValueException(5); } } private final Supplier arg5Default; /** * Emits the signal with default value for arg5. * @param arg1 * @param arg2 * @param arg3 * @param arg4 */ @Override public final void emit(A arg1, B arg2, C arg3, D arg4) { super.emitDefaultSignal(arg5Default, arg1, arg2, arg3, arg4); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg4Default, A arg1, B arg2, C arg3) { super.emitDefaultSignal(arg4Default, arg5Default, arg1, arg2, arg3); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg3Default, Supplier arg4Default, A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg4Default, arg5Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg4Default, arg5Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default); } } /** * Supertype for all public default signals with seven parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. */ public static abstract class AbstractSignal7Default4 extends AbstractSignal7Default3 implements Emitable3, Connectable3 { AbstractSignal7Default4() { this.arg4Default = null; } AbstractSignal7Default4(Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default){ super(arg5Default, arg6Default, arg7Default); this.arg4Default = arg4Default; if(this.arg4Default==null){ throw new QNoDefaultValueException(4); } } AbstractSignal7Default4(Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, @StrictNonNull ArgChecker7 argumentTest){ super(arg5Default, arg6Default, arg7Default, argumentTest); this.arg4Default = arg4Default; if(this.arg4Default==null){ throw new QNoDefaultValueException(4); } } AbstractSignal7Default4(Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Class declaringClass){ super(arg5Default, arg6Default, arg7Default, declaringClass); this.arg4Default = arg4Default; if(this.arg4Default==null){ throw new QNoDefaultValueException(4); } } AbstractSignal7Default4(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, arg5Default, arg6Default, arg7Default); this.arg4Default = arg4Default; if(this.arg4Default==null){ throw new QNoDefaultValueException(4); } } private final Supplier arg4Default; /** * Emits the signal with default value for arg4. * @param arg1 * @param arg2 * @param arg3 */ @Override public final void emit(A arg1, B arg2, C arg3) { super.emitDefaultSignal(arg4Default, arg1, arg2, arg3); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg3Default, A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg4Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, Supplier arg3Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg4Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default, arg4Default); } } /** * Supertype for all public default signals with seven parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. */ public static abstract class AbstractSignal7Default5 extends AbstractSignal7Default4 implements Emitable2, Connectable2 { AbstractSignal7Default5() { this.arg3Default = null; } AbstractSignal7Default5(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default){ super(arg4Default, arg5Default, arg6Default, arg7Default); this.arg3Default = arg3Default; if(this.arg3Default==null){ throw new QNoDefaultValueException(3); } } AbstractSignal7Default5(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, @StrictNonNull ArgChecker7 argumentTest){ super(arg4Default, arg5Default, arg6Default, arg7Default, argumentTest); this.arg3Default = arg3Default; if(this.arg3Default==null){ throw new QNoDefaultValueException(3); } } AbstractSignal7Default5(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Class declaringClass){ super(arg4Default, arg5Default, arg6Default, arg7Default, declaringClass); this.arg3Default = arg3Default; if(this.arg3Default==null){ throw new QNoDefaultValueException(3); } } AbstractSignal7Default5(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, arg4Default, arg5Default, arg6Default, arg7Default); this.arg3Default = arg3Default; if(this.arg3Default==null){ throw new QNoDefaultValueException(3); } } private final Supplier arg3Default; /** * Emits the signal with default value for arg3. * @param arg1 * @param arg2 */ @Override public final void emit(A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default); } } /** * Supertype for all public default signals with seven parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. */ public static abstract class AbstractSignal7Default6 extends AbstractSignal7Default5 implements Emitable1, Connectable1 { AbstractSignal7Default6() { this.arg2Default = null; } AbstractSignal7Default6(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default){ super(arg3Default, arg4Default, arg5Default, arg6Default, arg7Default); this.arg2Default = arg2Default; if(this.arg2Default==null){ throw new QNoDefaultValueException(2); } } AbstractSignal7Default6(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, @StrictNonNull ArgChecker7 argumentTest){ super(arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, argumentTest); this.arg2Default = arg2Default; if(this.arg2Default==null){ throw new QNoDefaultValueException(2); } } AbstractSignal7Default6(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Class declaringClass){ super(arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, declaringClass); this.arg2Default = arg2Default; if(this.arg2Default==null){ throw new QNoDefaultValueException(2); } } AbstractSignal7Default6(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default); this.arg2Default = arg2Default; if(this.arg2Default==null){ throw new QNoDefaultValueException(2); } } private final Supplier arg2Default; /** * Emits the signal with default value for arg2. * @param arg1 */ @Override public final void emit(A arg1) { super.emitDefaultSignal(arg2Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default) { super.emitDefaultSignal(arg1Default, arg2Default); } } /** * Supertype for all public default signals with seven parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. */ public static abstract class AbstractSignal7Default7 extends AbstractSignal7Default6 implements Emitable0, Connectable0 { AbstractSignal7Default7() { this.arg1Default = null; } AbstractSignal7Default7(@StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal7Default7(@StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, @StrictNonNull ArgChecker7 argumentTest){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, argumentTest); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal7Default7(@StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Class declaringClass){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, declaringClass); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal7Default7(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, @StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } private final Supplier arg1Default; /** * Emits the signal with default value for arg1. */ @Override public final void emit() { super.emitDefaultSignal(arg1Default); } } /** * Supertype for all public default signals with eight parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. */ public static abstract class AbstractSignal8Default1 extends AbstractPublicSignal8 implements Emitable7, Connectable7 { AbstractSignal8Default1() { this.arg8Default = null; } AbstractSignal8Default1(Supplier arg8Default){ super(); this.arg8Default = arg8Default; if(this.arg8Default==null){ throw new QNoDefaultValueException(8); } } AbstractSignal8Default1(Supplier arg8Default, @StrictNonNull ArgChecker8 argumentTest){ super(argumentTest); this.arg8Default = arg8Default; if(this.arg8Default==null){ throw new QNoDefaultValueException(8); } } AbstractSignal8Default1(Supplier arg8Default, Class declaringClass){ super(declaringClass); this.arg8Default = arg8Default; if(this.arg8Default==null){ throw new QNoDefaultValueException(8); } } AbstractSignal8Default1(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, @StrictNonNull Class typeH, Supplier arg8Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, typeH); this.arg8Default = arg8Default; if(this.arg8Default==null){ throw new QNoDefaultValueException(8); } } private final Supplier arg8Default; /** * Emits the signal with default value for arg8. * @param arg1 * @param arg2 * @param arg3 * @param arg4 * @param arg5 * @param arg6 * @param arg7 */ @Override public final void emit(A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7) { super.emitDefaultSignal(arg8Default, arg1, arg2, arg3, arg4, arg5, arg6, arg7); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg7Default, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) { super.emitDefaultSignal(arg7Default, arg8Default, arg1, arg2, arg3, arg4, arg5, arg6); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg6Default, Supplier arg7Default, A arg1, B arg2, C arg3, D arg4, E arg5) { super.emitDefaultSignal(arg6Default, arg7Default, arg8Default, arg1, arg2, arg3, arg4, arg5); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, A arg1, B arg2, C arg3, D arg4) { super.emitDefaultSignal(arg5Default, arg6Default, arg7Default, arg8Default, arg1, arg2, arg3, arg4); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, A arg1, B arg2, C arg3) { super.emitDefaultSignal(arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg1, arg2, arg3); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default); } } /** * Supertype for all public default signals with eight parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. */ public static abstract class AbstractSignal8Default2 extends AbstractSignal8Default1 implements Emitable6, Connectable6 { AbstractSignal8Default2() { this.arg7Default = null; } AbstractSignal8Default2(Supplier arg7Default, Supplier arg8Default){ super(arg8Default); this.arg7Default = arg7Default; if(this.arg7Default==null){ throw new QNoDefaultValueException(7); } } AbstractSignal8Default2(Supplier arg7Default, Supplier arg8Default, @StrictNonNull ArgChecker8 argumentTest){ super(arg8Default, argumentTest); this.arg7Default = arg7Default; if(this.arg7Default==null){ throw new QNoDefaultValueException(7); } } AbstractSignal8Default2(Supplier arg7Default, Supplier arg8Default, Class declaringClass){ super(arg8Default, declaringClass); this.arg7Default = arg7Default; if(this.arg7Default==null){ throw new QNoDefaultValueException(7); } } AbstractSignal8Default2(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, @StrictNonNull Class typeH, Supplier arg7Default, Supplier arg8Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, typeH, arg8Default); this.arg7Default = arg7Default; if(this.arg7Default==null){ throw new QNoDefaultValueException(7); } } private final Supplier arg7Default; /** * Emits the signal with default value for arg7. * @param arg1 * @param arg2 * @param arg3 * @param arg4 * @param arg5 * @param arg6 */ @Override public final void emit(A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) { super.emitDefaultSignal(arg7Default, arg1, arg2, arg3, arg4, arg5, arg6); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg6Default, A arg1, B arg2, C arg3, D arg4, E arg5) { super.emitDefaultSignal(arg6Default, arg7Default, arg1, arg2, arg3, arg4, arg5); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg5Default, Supplier arg6Default, A arg1, B arg2, C arg3, D arg4) { super.emitDefaultSignal(arg5Default, arg6Default, arg7Default, arg1, arg2, arg3, arg4); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, A arg1, B arg2, C arg3) { super.emitDefaultSignal(arg4Default, arg5Default, arg6Default, arg7Default, arg1, arg2, arg3); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default); } } /** * Supertype for all public default signals with eight parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. */ public static abstract class AbstractSignal8Default3 extends AbstractSignal8Default2 implements Emitable5, Connectable5 { AbstractSignal8Default3() { this.arg6Default = null; } AbstractSignal8Default3(Supplier arg6Default, Supplier arg7Default, Supplier arg8Default){ super(arg7Default, arg8Default); this.arg6Default = arg6Default; if(this.arg6Default==null){ throw new QNoDefaultValueException(6); } } AbstractSignal8Default3(Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, @StrictNonNull ArgChecker8 argumentTest){ super(arg7Default, arg8Default, argumentTest); this.arg6Default = arg6Default; if(this.arg6Default==null){ throw new QNoDefaultValueException(6); } } AbstractSignal8Default3(Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Class declaringClass){ super(arg7Default, arg8Default, declaringClass); this.arg6Default = arg6Default; if(this.arg6Default==null){ throw new QNoDefaultValueException(6); } } AbstractSignal8Default3(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, @StrictNonNull Class typeH, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, typeH, arg7Default, arg8Default); this.arg6Default = arg6Default; if(this.arg6Default==null){ throw new QNoDefaultValueException(6); } } private final Supplier arg6Default; /** * Emits the signal with default value for arg6. * @param arg1 * @param arg2 * @param arg3 * @param arg4 * @param arg5 */ @Override public final void emit(A arg1, B arg2, C arg3, D arg4, E arg5) { super.emitDefaultSignal(arg6Default, arg1, arg2, arg3, arg4, arg5); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg5Default, A arg1, B arg2, C arg3, D arg4) { super.emitDefaultSignal(arg5Default, arg6Default, arg1, arg2, arg3, arg4); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg4Default, Supplier arg5Default, A arg1, B arg2, C arg3) { super.emitDefaultSignal(arg4Default, arg5Default, arg6Default, arg1, arg2, arg3); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg4Default, arg5Default, arg6Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default, arg6Default); } } /** * Supertype for all public default signals with eight parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. */ public static abstract class AbstractSignal8Default4 extends AbstractSignal8Default3 implements Emitable4, Connectable4 { AbstractSignal8Default4() { this.arg5Default = null; } AbstractSignal8Default4(Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default){ super(arg6Default, arg7Default, arg8Default); this.arg5Default = arg5Default; if(this.arg5Default==null){ throw new QNoDefaultValueException(5); } } AbstractSignal8Default4(Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, @StrictNonNull ArgChecker8 argumentTest){ super(arg6Default, arg7Default, arg8Default, argumentTest); this.arg5Default = arg5Default; if(this.arg5Default==null){ throw new QNoDefaultValueException(5); } } AbstractSignal8Default4(Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Class declaringClass){ super(arg6Default, arg7Default, arg8Default, declaringClass); this.arg5Default = arg5Default; if(this.arg5Default==null){ throw new QNoDefaultValueException(5); } } AbstractSignal8Default4(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, @StrictNonNull Class typeH, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, typeH, arg6Default, arg7Default, arg8Default); this.arg5Default = arg5Default; if(this.arg5Default==null){ throw new QNoDefaultValueException(5); } } private final Supplier arg5Default; /** * Emits the signal with default value for arg5. * @param arg1 * @param arg2 * @param arg3 * @param arg4 */ @Override public final void emit(A arg1, B arg2, C arg3, D arg4) { super.emitDefaultSignal(arg5Default, arg1, arg2, arg3, arg4); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg4Default, A arg1, B arg2, C arg3) { super.emitDefaultSignal(arg4Default, arg5Default, arg1, arg2, arg3); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg3Default, Supplier arg4Default, A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg4Default, arg5Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg4Default, arg5Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default); } } /** * Supertype for all public default signals with eight parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. */ public static abstract class AbstractSignal8Default5 extends AbstractSignal8Default4 implements Emitable3, Connectable3 { AbstractSignal8Default5() { this.arg4Default = null; } AbstractSignal8Default5(Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default){ super(arg5Default, arg6Default, arg7Default, arg8Default); this.arg4Default = arg4Default; if(this.arg4Default==null){ throw new QNoDefaultValueException(4); } } AbstractSignal8Default5(Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, @StrictNonNull ArgChecker8 argumentTest){ super(arg5Default, arg6Default, arg7Default, arg8Default, argumentTest); this.arg4Default = arg4Default; if(this.arg4Default==null){ throw new QNoDefaultValueException(4); } } AbstractSignal8Default5(Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Class declaringClass){ super(arg5Default, arg6Default, arg7Default, arg8Default, declaringClass); this.arg4Default = arg4Default; if(this.arg4Default==null){ throw new QNoDefaultValueException(4); } } AbstractSignal8Default5(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, @StrictNonNull Class typeH, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, typeH, arg5Default, arg6Default, arg7Default, arg8Default); this.arg4Default = arg4Default; if(this.arg4Default==null){ throw new QNoDefaultValueException(4); } } private final Supplier arg4Default; /** * Emits the signal with default value for arg4. * @param arg1 * @param arg2 * @param arg3 */ @Override public final void emit(A arg1, B arg2, C arg3) { super.emitDefaultSignal(arg4Default, arg1, arg2, arg3); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg3Default, A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg4Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, Supplier arg3Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg4Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default, arg4Default); } } /** * Supertype for all public default signals with eight parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. */ public static abstract class AbstractSignal8Default6 extends AbstractSignal8Default5 implements Emitable2, Connectable2 { AbstractSignal8Default6() { this.arg3Default = null; } AbstractSignal8Default6(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default){ super(arg4Default, arg5Default, arg6Default, arg7Default, arg8Default); this.arg3Default = arg3Default; if(this.arg3Default==null){ throw new QNoDefaultValueException(3); } } AbstractSignal8Default6(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, @StrictNonNull ArgChecker8 argumentTest){ super(arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, argumentTest); this.arg3Default = arg3Default; if(this.arg3Default==null){ throw new QNoDefaultValueException(3); } } AbstractSignal8Default6(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Class declaringClass){ super(arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, declaringClass); this.arg3Default = arg3Default; if(this.arg3Default==null){ throw new QNoDefaultValueException(3); } } AbstractSignal8Default6(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, @StrictNonNull Class typeH, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, typeH, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default); this.arg3Default = arg3Default; if(this.arg3Default==null){ throw new QNoDefaultValueException(3); } } private final Supplier arg3Default; /** * Emits the signal with default value for arg3. * @param arg1 * @param arg2 */ @Override public final void emit(A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default); } } /** * Supertype for all public default signals with eight parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. */ public static abstract class AbstractSignal8Default7 extends AbstractSignal8Default6 implements Emitable1, Connectable1 { AbstractSignal8Default7() { this.arg2Default = null; } AbstractSignal8Default7(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default){ super(arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default); this.arg2Default = arg2Default; if(this.arg2Default==null){ throw new QNoDefaultValueException(2); } } AbstractSignal8Default7(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, @StrictNonNull ArgChecker8 argumentTest){ super(arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, argumentTest); this.arg2Default = arg2Default; if(this.arg2Default==null){ throw new QNoDefaultValueException(2); } } AbstractSignal8Default7(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Class declaringClass){ super(arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, declaringClass); this.arg2Default = arg2Default; if(this.arg2Default==null){ throw new QNoDefaultValueException(2); } } AbstractSignal8Default7(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, @StrictNonNull Class typeH, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, typeH, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default); this.arg2Default = arg2Default; if(this.arg2Default==null){ throw new QNoDefaultValueException(2); } } private final Supplier arg2Default; /** * Emits the signal with default value for arg2. * @param arg1 */ @Override public final void emit(A arg1) { super.emitDefaultSignal(arg2Default, arg1); } } /** * Supertype for all public default signals with eight parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. */ public static abstract class AbstractSignal8Default8 extends AbstractSignal8Default7 implements Emitable0, Connectable0 { AbstractSignal8Default8() { this.arg1Default = null; } AbstractSignal8Default8(@StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal8Default8(@StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, @StrictNonNull ArgChecker8 argumentTest){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, argumentTest); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal8Default8(@StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Class declaringClass){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, declaringClass); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal8Default8(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, @StrictNonNull Class typeH, @StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, typeH, arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } private final Supplier arg1Default; /** * Emits the signal with default value for arg1. */ @Override public final void emit() { super.emitDefaultSignal(arg1Default); } } /** * Supertype for all public default signals with nine parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. */ public static abstract class AbstractSignal9Default1 extends AbstractPublicSignal9 implements Emitable8, Connectable8 { AbstractSignal9Default1() { this.arg9Default = null; } AbstractSignal9Default1(Supplier arg9Default){ super(); this.arg9Default = arg9Default; if(this.arg9Default==null){ throw new QNoDefaultValueException(9); } } AbstractSignal9Default1(Supplier arg9Default, @StrictNonNull ArgChecker9 argumentTest){ super(argumentTest); this.arg9Default = arg9Default; if(this.arg9Default==null){ throw new QNoDefaultValueException(9); } } AbstractSignal9Default1(Supplier arg9Default, Class declaringClass){ super(declaringClass); this.arg9Default = arg9Default; if(this.arg9Default==null){ throw new QNoDefaultValueException(9); } } AbstractSignal9Default1(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, @StrictNonNull Class typeH, @StrictNonNull Class typeI, Supplier arg9Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, typeH, typeI); this.arg9Default = arg9Default; if(this.arg9Default==null){ throw new QNoDefaultValueException(9); } } private final Supplier arg9Default; /** * Emits the signal with default value for arg9. * @param arg1 * @param arg2 * @param arg3 * @param arg4 * @param arg5 * @param arg6 * @param arg7 * @param arg8 */ @Override public final void emit(A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8) { super.emitDefaultSignal(arg9Default, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg8Default, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7) { super.emitDefaultSignal(arg8Default, arg9Default, arg1, arg2, arg3, arg4, arg5, arg6, arg7); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg7Default, Supplier arg8Default, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) { super.emitDefaultSignal(arg7Default, arg8Default, arg9Default, arg1, arg2, arg3, arg4, arg5, arg6); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, A arg1, B arg2, C arg3, D arg4, E arg5) { super.emitDefaultSignal(arg6Default, arg7Default, arg8Default, arg9Default, arg1, arg2, arg3, arg4, arg5); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, A arg1, B arg2, C arg3, D arg4) { super.emitDefaultSignal(arg5Default, arg6Default, arg7Default, arg8Default, arg9Default, arg1, arg2, arg3, arg4); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, A arg1, B arg2, C arg3) { super.emitDefaultSignal(arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default, arg1, arg2, arg3); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default); } } /** * Supertype for all public default signals with nine parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. */ public static abstract class AbstractSignal9Default2 extends AbstractSignal9Default1 implements Emitable7, Connectable7 { AbstractSignal9Default2() { this.arg8Default = null; } AbstractSignal9Default2(Supplier arg8Default, Supplier arg9Default){ super(arg9Default); this.arg8Default = arg8Default; if(this.arg8Default==null){ throw new QNoDefaultValueException(8); } } AbstractSignal9Default2(Supplier arg8Default, Supplier arg9Default, @StrictNonNull ArgChecker9 argumentTest){ super(arg9Default, argumentTest); this.arg8Default = arg8Default; if(this.arg8Default==null){ throw new QNoDefaultValueException(8); } } AbstractSignal9Default2(Supplier arg8Default, Supplier arg9Default, Class declaringClass){ super(arg9Default, declaringClass); this.arg8Default = arg8Default; if(this.arg8Default==null){ throw new QNoDefaultValueException(8); } } AbstractSignal9Default2(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, @StrictNonNull Class typeH, @StrictNonNull Class typeI, Supplier arg8Default, Supplier arg9Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, typeH, typeI, arg9Default); this.arg8Default = arg8Default; if(this.arg8Default==null){ throw new QNoDefaultValueException(8); } } private final Supplier arg8Default; /** * Emits the signal with default value for arg8. * @param arg1 * @param arg2 * @param arg3 * @param arg4 * @param arg5 * @param arg6 * @param arg7 */ @Override public final void emit(A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7) { super.emitDefaultSignal(arg8Default, arg1, arg2, arg3, arg4, arg5, arg6, arg7); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg7Default, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) { super.emitDefaultSignal(arg7Default, arg8Default, arg1, arg2, arg3, arg4, arg5, arg6); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg6Default, Supplier arg7Default, A arg1, B arg2, C arg3, D arg4, E arg5) { super.emitDefaultSignal(arg6Default, arg7Default, arg8Default, arg1, arg2, arg3, arg4, arg5); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, A arg1, B arg2, C arg3, D arg4) { super.emitDefaultSignal(arg5Default, arg6Default, arg7Default, arg8Default, arg1, arg2, arg3, arg4); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, A arg1, B arg2, C arg3) { super.emitDefaultSignal(arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg1, arg2, arg3); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default); } } /** * Supertype for all public default signals with nine parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. */ public static abstract class AbstractSignal9Default3 extends AbstractSignal9Default2 implements Emitable6, Connectable6 { AbstractSignal9Default3() { this.arg7Default = null; } AbstractSignal9Default3(Supplier arg7Default, Supplier arg8Default, Supplier arg9Default){ super(arg8Default, arg9Default); this.arg7Default = arg7Default; if(this.arg7Default==null){ throw new QNoDefaultValueException(7); } } AbstractSignal9Default3(Supplier arg7Default, Supplier arg8Default, Supplier arg9Default, @StrictNonNull ArgChecker9 argumentTest){ super(arg8Default, arg9Default, argumentTest); this.arg7Default = arg7Default; if(this.arg7Default==null){ throw new QNoDefaultValueException(7); } } AbstractSignal9Default3(Supplier arg7Default, Supplier arg8Default, Supplier arg9Default, Class declaringClass){ super(arg8Default, arg9Default, declaringClass); this.arg7Default = arg7Default; if(this.arg7Default==null){ throw new QNoDefaultValueException(7); } } AbstractSignal9Default3(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, @StrictNonNull Class typeH, @StrictNonNull Class typeI, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, typeH, typeI, arg8Default, arg9Default); this.arg7Default = arg7Default; if(this.arg7Default==null){ throw new QNoDefaultValueException(7); } } private final Supplier arg7Default; /** * Emits the signal with default value for arg7. * @param arg1 * @param arg2 * @param arg3 * @param arg4 * @param arg5 * @param arg6 */ @Override public final void emit(A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) { super.emitDefaultSignal(arg7Default, arg1, arg2, arg3, arg4, arg5, arg6); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg6Default, A arg1, B arg2, C arg3, D arg4, E arg5) { super.emitDefaultSignal(arg6Default, arg7Default, arg1, arg2, arg3, arg4, arg5); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg5Default, Supplier arg6Default, A arg1, B arg2, C arg3, D arg4) { super.emitDefaultSignal(arg5Default, arg6Default, arg7Default, arg1, arg2, arg3, arg4); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, A arg1, B arg2, C arg3) { super.emitDefaultSignal(arg4Default, arg5Default, arg6Default, arg7Default, arg1, arg2, arg3); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default); } } /** * Supertype for all public default signals with nine parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. */ public static abstract class AbstractSignal9Default4 extends AbstractSignal9Default3 implements Emitable5, Connectable5 { AbstractSignal9Default4() { this.arg6Default = null; } AbstractSignal9Default4(Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default){ super(arg7Default, arg8Default, arg9Default); this.arg6Default = arg6Default; if(this.arg6Default==null){ throw new QNoDefaultValueException(6); } } AbstractSignal9Default4(Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default, @StrictNonNull ArgChecker9 argumentTest){ super(arg7Default, arg8Default, arg9Default, argumentTest); this.arg6Default = arg6Default; if(this.arg6Default==null){ throw new QNoDefaultValueException(6); } } AbstractSignal9Default4(Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default, Class declaringClass){ super(arg7Default, arg8Default, arg9Default, declaringClass); this.arg6Default = arg6Default; if(this.arg6Default==null){ throw new QNoDefaultValueException(6); } } AbstractSignal9Default4(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, @StrictNonNull Class typeH, @StrictNonNull Class typeI, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, typeH, typeI, arg7Default, arg8Default, arg9Default); this.arg6Default = arg6Default; if(this.arg6Default==null){ throw new QNoDefaultValueException(6); } } private final Supplier arg6Default; /** * Emits the signal with default value for arg6. * @param arg1 * @param arg2 * @param arg3 * @param arg4 * @param arg5 */ @Override public final void emit(A arg1, B arg2, C arg3, D arg4, E arg5) { super.emitDefaultSignal(arg6Default, arg1, arg2, arg3, arg4, arg5); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg5Default, A arg1, B arg2, C arg3, D arg4) { super.emitDefaultSignal(arg5Default, arg6Default, arg1, arg2, arg3, arg4); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg4Default, Supplier arg5Default, A arg1, B arg2, C arg3) { super.emitDefaultSignal(arg4Default, arg5Default, arg6Default, arg1, arg2, arg3); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg4Default, arg5Default, arg6Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default, arg6Default); } } /** * Supertype for all public default signals with nine parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. */ public static abstract class AbstractSignal9Default5 extends AbstractSignal9Default4 implements Emitable4, Connectable4 { AbstractSignal9Default5() { this.arg5Default = null; } AbstractSignal9Default5(Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default){ super(arg6Default, arg7Default, arg8Default, arg9Default); this.arg5Default = arg5Default; if(this.arg5Default==null){ throw new QNoDefaultValueException(5); } } AbstractSignal9Default5(Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default, @StrictNonNull ArgChecker9 argumentTest){ super(arg6Default, arg7Default, arg8Default, arg9Default, argumentTest); this.arg5Default = arg5Default; if(this.arg5Default==null){ throw new QNoDefaultValueException(5); } } AbstractSignal9Default5(Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default, Class declaringClass){ super(arg6Default, arg7Default, arg8Default, arg9Default, declaringClass); this.arg5Default = arg5Default; if(this.arg5Default==null){ throw new QNoDefaultValueException(5); } } AbstractSignal9Default5(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, @StrictNonNull Class typeH, @StrictNonNull Class typeI, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, typeH, typeI, arg6Default, arg7Default, arg8Default, arg9Default); this.arg5Default = arg5Default; if(this.arg5Default==null){ throw new QNoDefaultValueException(5); } } private final Supplier arg5Default; /** * Emits the signal with default value for arg5. * @param arg1 * @param arg2 * @param arg3 * @param arg4 */ @Override public final void emit(A arg1, B arg2, C arg3, D arg4) { super.emitDefaultSignal(arg5Default, arg1, arg2, arg3, arg4); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg4Default, A arg1, B arg2, C arg3) { super.emitDefaultSignal(arg4Default, arg5Default, arg1, arg2, arg3); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg3Default, Supplier arg4Default, A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg4Default, arg5Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg4Default, arg5Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default, arg4Default, arg5Default); } } /** * Supertype for all public default signals with nine parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. */ public static abstract class AbstractSignal9Default6 extends AbstractSignal9Default5 implements Emitable3, Connectable3 { AbstractSignal9Default6() { this.arg4Default = null; } AbstractSignal9Default6(Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default, @StrictNonNull ArgChecker9 argumentTest){ super(arg5Default, arg6Default, arg7Default, arg8Default, arg9Default, argumentTest); this.arg4Default = arg4Default; if(this.arg4Default==null){ throw new QNoDefaultValueException(4); } } AbstractSignal9Default6(Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default){ super(arg5Default, arg6Default, arg7Default, arg8Default, arg9Default); this.arg4Default = arg4Default; if(this.arg4Default==null){ throw new QNoDefaultValueException(4); } } AbstractSignal9Default6(Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default, Class declaringClass){ super(arg5Default, arg6Default, arg7Default, arg8Default, arg9Default, declaringClass); this.arg4Default = arg4Default; if(this.arg4Default==null){ throw new QNoDefaultValueException(4); } } AbstractSignal9Default6(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, @StrictNonNull Class typeH, @StrictNonNull Class typeI, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, typeH, typeI, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default); this.arg4Default = arg4Default; if(this.arg4Default==null){ throw new QNoDefaultValueException(4); } } private final Supplier arg4Default; /** * Emits the signal with default value for arg4. * @param arg1 * @param arg2 * @param arg3 */ @Override public final void emit(A arg1, B arg2, C arg3) { super.emitDefaultSignal(arg4Default, arg1, arg2, arg3); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg3Default, A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg4Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, Supplier arg3Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg4Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default, Supplier arg3Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default, arg4Default); } } /** * Supertype for all public default signals with nine parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. */ public static abstract class AbstractSignal9Default7 extends AbstractSignal9Default6 implements Emitable2, Connectable2 { AbstractSignal9Default7() { this.arg3Default = null; } AbstractSignal9Default7(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default){ super(arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default); this.arg3Default = arg3Default; if(this.arg3Default==null){ throw new QNoDefaultValueException(3); } } AbstractSignal9Default7(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default, @StrictNonNull ArgChecker9 argumentTest){ super(arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default, argumentTest); this.arg3Default = arg3Default; if(this.arg3Default==null){ throw new QNoDefaultValueException(3); } } AbstractSignal9Default7(Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default, Class declaringClass){ super(arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default, declaringClass); this.arg3Default = arg3Default; if(this.arg3Default==null){ throw new QNoDefaultValueException(3); } } AbstractSignal9Default7(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, @StrictNonNull Class typeH, @StrictNonNull Class typeI, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, typeH, typeI, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default); this.arg3Default = arg3Default; if(this.arg3Default==null){ throw new QNoDefaultValueException(3); } } private final Supplier arg3Default; /** * Emits the signal with default value for arg3. * @param arg1 * @param arg2 */ @Override public final void emit(A arg1, B arg2) { super.emitDefaultSignal(arg3Default, arg1, arg2); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg2Default, A arg1) { super.emitDefaultSignal(arg2Default, arg3Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default, Supplier arg2Default) { super.emitDefaultSignal(arg1Default, arg2Default, arg3Default); } } /** * Supertype for all public default signals with nine parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. */ public static abstract class AbstractSignal9Default8 extends AbstractSignal9Default7 implements Emitable1, Connectable1 { AbstractSignal9Default8() { this.arg2Default = null; } AbstractSignal9Default8(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default){ super(arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default); this.arg2Default = arg2Default; if(this.arg2Default==null){ throw new QNoDefaultValueException(2); } } AbstractSignal9Default8(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default, @StrictNonNull ArgChecker9 argumentTest){ super(arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default, argumentTest); this.arg2Default = arg2Default; if(this.arg2Default==null){ throw new QNoDefaultValueException(2); } } AbstractSignal9Default8(Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default, Class declaringClass){ super(arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default, declaringClass); this.arg2Default = arg2Default; if(this.arg2Default==null){ throw new QNoDefaultValueException(2); } } AbstractSignal9Default8(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, @StrictNonNull Class typeH, @StrictNonNull Class typeI, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, typeH, typeI, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default); this.arg2Default = arg2Default; if(this.arg2Default==null){ throw new QNoDefaultValueException(2); } } private final Supplier arg2Default; /** * Emits the signal with default value for arg2. * @param arg1 */ @Override public final void emit(A arg1) { super.emitDefaultSignal(arg2Default, arg1); } @io.qt.QtUninvokable final void emitDefaultSignal(Supplier arg1Default) { super.emitDefaultSignal(arg1Default, arg2Default); } } /** * Supertype for all public default signals with nine parameters. * @param The type of the first parameter of the signal. * @param The type of the second parameter of the signal. * @param The type of the third parameter of the signal. * @param The type of the fourth parameter of the signal. * @param The type of the fifth parameter of the signal. * @param The type of the sixth parameter of the signal. * @param The type of the seventh parameter of the signal. * @param The type of the eighth parameter of the signal. * @param The type of the ninth parameter of the signal. */ public static abstract class AbstractSignal9Default9 extends AbstractSignal9Default8 implements Emitable0, Connectable0 { AbstractSignal9Default9() { this.arg1Default = null; } AbstractSignal9Default9(@StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal9Default9(@StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default, @StrictNonNull ArgChecker9 argumentTest){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default, argumentTest); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal9Default9(@StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default, Class declaringClass){ super(arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default, declaringClass); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } AbstractSignal9Default9(@StrictNonNull String signalName, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, @StrictNonNull Class typeH, @StrictNonNull Class typeI, @StrictNonNull Supplier arg1Default, Supplier arg2Default, Supplier arg3Default, Supplier arg4Default, Supplier arg5Default, Supplier arg6Default, Supplier arg7Default, Supplier arg8Default, Supplier arg9Default) { super(signalName, typeA, typeB, typeC, typeD, typeE, typeF, typeG, typeH, typeI, arg2Default, arg3Default, arg4Default, arg5Default, arg6Default, arg7Default, arg8Default, arg9Default); this.arg1Default = arg1Default; if(this.arg1Default==null){ throw new QNoDefaultValueException(1); } } private final Supplier arg1Default; /** * Emits the signal with default value for arg1. */ @Override public final void emit() { super.emitDefaultSignal(arg1Default); } } @QtUninvokable public static @Nullable AbstractPrivateSignal0 findSignal(@StrictNonNull QObject sender, @StrictNonNull String name) { return (AbstractPrivateSignal0)findSignalImpl(sender, name); } @SuppressWarnings("unchecked") @QtUninvokable public static @Nullable AbstractPrivateSignal1 findSignal(@StrictNonNull QObject sender, @StrictNonNull String name, @StrictNonNull Class typeA) { return (AbstractPrivateSignal1)findSignalImpl(sender, name, typeA); } @SuppressWarnings("unchecked") @QtUninvokable public static @Nullable AbstractPrivateSignal2 findSignal( @StrictNonNull QObject sender, @StrictNonNull String name, @StrictNonNull Class typeA, @StrictNonNull Class typeB) { return (AbstractPrivateSignal2)findSignalImpl(sender, name, typeA, typeB); } @SuppressWarnings("unchecked") @QtUninvokable public static @Nullable AbstractPrivateSignal3 findSignal( @StrictNonNull QObject sender, @StrictNonNull String name, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC) { return (AbstractPrivateSignal3)findSignalImpl(sender, name, typeA, typeB, typeC); } @SuppressWarnings("unchecked") @QtUninvokable public static @Nullable AbstractPrivateSignal4 findSignal( @StrictNonNull QObject sender, @StrictNonNull String name, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD) { return (AbstractPrivateSignal4)findSignalImpl(sender, name, typeA, typeB, typeC, typeD); } @SuppressWarnings("unchecked") @QtUninvokable public static @Nullable AbstractPrivateSignal5 findSignal( @StrictNonNull QObject sender, @StrictNonNull String name, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE) { return (AbstractPrivateSignal5)findSignalImpl(sender, name, typeA, typeB, typeC, typeD, typeE); } @SuppressWarnings("unchecked") @QtUninvokable public static @Nullable AbstractPrivateSignal6 findSignal( @StrictNonNull QObject sender, @StrictNonNull String name, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF) { return (AbstractPrivateSignal6)findSignalImpl(sender, name, typeA, typeB, typeC, typeD, typeE, typeF); } @SuppressWarnings("unchecked") @QtUninvokable public static @Nullable AbstractPrivateSignal7 findSignal( @StrictNonNull QObject sender, @StrictNonNull String name, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG) { return (AbstractPrivateSignal7)findSignalImpl(sender, name, typeA, typeB, typeC, typeD, typeE, typeF, typeG); } @SuppressWarnings("unchecked") @QtUninvokable public static @Nullable AbstractPrivateSignal8 findSignal( @StrictNonNull QObject sender, @StrictNonNull String name, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, @StrictNonNull Class typeH) { return (AbstractPrivateSignal8)findSignalImpl(sender, name, typeA, typeB, typeC, typeD, typeE, typeF, typeG, typeH); } @SuppressWarnings("unchecked") @QtUninvokable public static @Nullable AbstractPrivateSignal9 findSignal( @StrictNonNull QObject sender, @StrictNonNull String name, @StrictNonNull Class typeA, @StrictNonNull Class typeB, @StrictNonNull Class typeC, @StrictNonNull Class typeD, @StrictNonNull Class typeE, @StrictNonNull Class typeF, @StrictNonNull Class typeG, @StrictNonNull Class typeH, @StrictNonNull Class typeI) { return (AbstractPrivateSignal9)findSignalImpl(sender, name, typeA, typeB, typeC, typeD, typeE, typeF, typeG, typeH, typeI); } @QtUninvokable public static @Nullable AbstractSignal findSignal(@StrictNonNull QObject sender, @StrictNonNull String name, @NonNull Class @NonNull... types){ return findSignalImpl(sender, name, types); } @QtUninvokable private static AbstractSignal findSignalImpl(QObject sender, String name, Class... types){ QMetaMethod signal = sender.metaObject().method(name, types); return signal.toSignal(sender); } @QtUninvokable static QMetaObject forGadget(Object gadget) { if(gadget instanceof QtGadget) { return ((QtGadget) gadget).staticMetaObject(); }else { return QMetaObject.forType(gadget.getClass()); } } @QtUninvokable QtAbstractEnumerator getEnumEntry(QMetaEnum metaEnum, int value) { if(enumEntries!=null) { EnumEntries ee = enumEntries.get(enumeratorIndex(metaEnum)); if(ee==null) { return null; }else{ return ee.enumeratorConstantDirectory().get(value); } } return null; } @QtUninvokable private int enumeratorIndex(QMetaEnum metaEnum) { return enumeratorIndex(metaObjectPointer, QtJambi_LibraryUtilities.internal.nativeId(metaEnum)); } @QtUninvokable private static native int enumeratorIndex(long metaObjectPointer, long metaEnumId); private static String cppNormalizedSignature(@StrictNonNull String signalName, Class classType) { int idx = signalName.indexOf("("); if(idx>=0) { String parameters = signalName.substring(idx).trim(); String name = signalName.substring(0, idx); if(parameters.startsWith("(") && parameters.endsWith(")")) { parameters = parameters.substring(1, parameters.length()-1).trim(); if(parameters.isEmpty()) { return name+"()"; }else { String[] argumentTypes = parameters.split("\\,"); List possibleMethods = new ArrayList<>(); while(classType!=null) { for(Method method : classType.getDeclaredMethods()) { if(method.getParameterCount()==argumentTypes.length) { try { possibleMethods.add(method.getParameters()); }catch(java.lang.reflect.MalformedParametersException e) {} } } classType = classType.getSuperclass(); } name += "("; for (int i = 0; i < argumentTypes.length; ++i) { if(i>0) { name += ","; } Class paramType = null; Type genericParamType = null; int arrayDimension = 0; argumentTypes[i] = argumentTypes[i].replace(" ", ""); while(argumentTypes[i].endsWith("[]")) { ++arrayDimension; argumentTypes[i] = argumentTypes[i].substring(0, argumentTypes[i].length()-2); } try { if(arrayDimension==0) paramType = Class.forName(argumentTypes[i].replace(" ", "")); else { String predix = ""; for (int j = 0; j < arrayDimension; j++) { predix += '['; } switch(argumentTypes[i]) { case "int": paramType = Class.forName(predix + "I"); break; case "long": paramType = Class.forName(predix + "J"); break; case "short": paramType = Class.forName(predix + "S"); break; case "byte": paramType = Class.forName(predix + "B"); break; case "char": paramType = Class.forName(predix + "C"); break; case "float": paramType = Class.forName(predix + "F"); break; case "double": paramType = Class.forName(predix + "D"); break; case "boolean": paramType = Class.forName(predix + "Z"); break; default: paramType = Class.forName(predix + "L" + argumentTypes[i] + ";"); break; } } } catch (Throwable e) { } if(paramType==null && classType!=null) { try { if(arrayDimension==0) paramType = classType.getClassLoader().loadClass(argumentTypes[i].replace(" ", "")); else { String predix = ""; for (int j = 0; j < arrayDimension; j++) { predix += '['; } paramType = Class.forName(predix + "L" + argumentTypes[i] + ";"); } } catch (Throwable e) { } } if(paramType==null) { if(arrayDimension==0) { for(Parameter[] method : possibleMethods) { if(method[i].getType().getName().equals(argumentTypes[i]) || method[i].getType().getSimpleName().equals(argumentTypes[i]) || method[i].getParameterizedType().getTypeName().equals(argumentTypes[i])) { paramType = method[i].getType(); genericParamType = method[i].getParameterizedType(); break; } } }else { for(Parameter[] method : possibleMethods) { Class type = method[i].getType(); int _arrayDimension = 0; while(type.isArray()) { type = type.getComponentType(); ++_arrayDimension; } if(arrayDimension==_arrayDimension && (type.getName().equals(argumentTypes[i]) || type.getSimpleName().equals(argumentTypes[i]))) { paramType = method[i].getType(); genericParamType = method[i].getParameterizedType(); break; } } } } if(arrayDimension>0) { String predix = ""; for (int j = 0; j < arrayDimension; j++) { predix += '['; } argumentTypes[i] = predix + "L" + argumentTypes[i] + ";"; } String cpptype = paramType==null ? internalTypeName(argumentTypes[i], QMetaObject.class.getClassLoader()) : internalTypeNameOfClass(paramType, genericParamType==null ? paramType : genericParamType); if(cpptype.isEmpty()) cpptype = argumentTypes[i]; name += cpptype; } name += ")"; } return name; } return signalName; }else { return signalName+"()"; } } private static class CoreUtility extends io.qt.internal.CoreUtility{ static { QtJambi_LibraryUtilities.initialize(); } protected static abstract class AbstractSignal extends io.qt.internal.CoreUtility.AbstractSignal { AbstractSignal(){ super(); } AbstractSignal(Consumer argumentTest){ super(argumentTest); } AbstractSignal(Class declaringClass) { super(declaringClass); } AbstractSignal(Class declaringClass, boolean isDisposed) { super(declaringClass, isDisposed); } AbstractSignal(@StrictNonNull String signalName, Class[] types) { super(signalName, types); } } protected static abstract class AbstractMultiSignal extends io.qt.internal.CoreUtility.AbstractMultiSignal { AbstractMultiSignal() { super(); } } protected static void checkConnectionToDisposedSignal(QMetaObject.DisposedSignal signal, Object receiver, boolean slotObject) { io.qt.internal.CoreUtility.checkConnectionToDisposedSignal(signal, receiver, slotObject); } } }