io.qt.InternalAccess Maven / Gradle / Ivy
/****************************************************************************
**
** 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;
import java.lang.invoke.MethodType;
import java.lang.reflect.AnnotatedElement;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Parameter;
import java.lang.reflect.Type;
import java.util.Collection;
import java.util.Map;
import java.util.function.BiFunction;
import java.util.function.Function;
import java.util.function.Supplier;
import io.qt.core.QMetaObject;
import io.qt.core.QObject;
/**
* @hidden
*/
public interface InternalAccess {
& io.qt.QtEnumerator> E resolveEnum(Class cl, int value, String name);
& io.qt.QtByteEnumerator> E resolveEnum(Class cl, byte value, String name);
& io.qt.QtShortEnumerator> E resolveEnum(Class cl, short value, String name);
& io.qt.QtLongEnumerator> E resolveEnum(Class cl, long value, String name);
boolean isJavaOwnership(io.qt.QtObject object);
boolean isJavaOwnership(io.qt.QtObjectInterface object);
boolean isSplitOwnership(io.qt.QtObject object);
boolean isSplitOwnership(io.qt.QtObjectInterface object);
boolean isCppOwnership(io.qt.QtObject object);
boolean isCppOwnership(io.qt.QtObjectInterface object);
void setCppOwnership(io.qt.QtObject object);
void setCppOwnership(io.qt.QtObjectInterface object);
void setJavaOwnership(io.qt.QtObject object);
void setJavaOwnership(io.qt.QtObjectInterface object);
void setDefaultOwnership(io.qt.QtObject object);
void setDefaultOwnership(io.qt.QtObjectInterface object);
long nativeId(io.qt.QtObject object);
long nativeId(io.qt.QtObjectInterface object);
long checkedNativeId(io.qt.QtObject object);
long checkedNativeId(io.qt.QtObjectInterface object);
interface NativeIdInfo{
long nativeId();
boolean needsReferenceCounting();
}
NativeIdInfo checkedNativeIdInfo(io.qt.QtObject object);
NativeIdInfo checkedNativeIdInfo(io.qt.QtObjectInterface object);
boolean needsReferenceCounting(io.qt.QtObject object);
boolean needsReferenceCounting(io.qt.QtObjectInterface object);
java.nio.ByteBuffer mutableData(io.qt.core.QByteArray byteArray);
java.nio.CharBuffer mutableData(io.qt.core.QString string);
> java.nio.CharBuffer mutableDataC(C list);
> java.nio.ByteBuffer mutableDataB(C list);
> java.nio.ShortBuffer mutableDataS(C list);
> java.nio.IntBuffer mutableDataI(C list);
> java.nio.LongBuffer mutableDataJ(C list);
> java.nio.FloatBuffer mutableDataF(C list);
> java.nio.DoubleBuffer mutableDataD(C list);
void truncateBuffer(io.qt.QtObject owner, java.nio.Buffer buffer);
void truncateBuffer(io.qt.QtObjectInterface owner, java.nio.Buffer buffer);
void removeFromMapReferenceCount(io.qt.QtObjectInterface owner, Class extends io.qt.QtObjectInterface> declaringClass, String fieldName, boolean isStatic, Object value);
void removeFromCollectionReferenceCount(io.qt.QtObjectInterface owner, Class extends io.qt.QtObjectInterface> declaringClass, String fieldName, boolean isStatic, Object value);
void addAllReferenceCount(io.qt.QtObjectInterface owner, Class extends io.qt.QtObjectInterface> declaringClass, String fieldName, boolean isThreadSafe, boolean isStatic, Collection> values);
void putReferenceCount(io.qt.QtObjectInterface owner, Class extends io.qt.QtObjectInterface> declaringClass, String fieldName, boolean isThreadSafe, boolean isStatic, Object key, Object value);
void clearReferenceCount(io.qt.QtObjectInterface owner, Class extends io.qt.QtObjectInterface> declaringClass, String fieldName, boolean isStatic);
java.util.function.Supplier> callerClassProvider();
java.util.Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy