From cbf28d317ca90d114dd48ab69045be4fa12de9f0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 04:18:52 +0200 Subject: [PATCH] Changes by GitHub action (#30) * Update generated classes after commit e6cd70b * Update configuration.json --------- Co-authored-by: masesdevelopers <94312179+masesdevelopers@users.noreply.github.com> --- src/configuration.json | 4 + .../hardware/SensorEventListener2.java | 43 ++ ...nnection_MediaScannerConnectionClient.java | 39 ++ .../Generated/Android/App/Activity.cs | 4 +- .../Netdroid/Generated/Android/App/Dialog.cs | 4 +- .../Android/App/FragmentContainer.cs | 2 +- .../Generated/Android/Content/Intent.cs | 46 +- .../Android/Hardware/AllPackageClasses.cs | 43 +- .../Android/Hardware/SensorEventCallback.cs | 4 + .../Android/Hardware/SensorEventListener2.cs | 128 ++++- .../Health/Connect/HealthConnectManager.cs | 22 +- .../Android/Icu/Number/FormattedNumber.cs | 2 +- .../Icu/Number/FormattedNumberRange.cs | 2 +- .../Android/Icu/Text/DateIntervalFormat.cs | 2 +- .../Android/Icu/Text/FormattedValue.cs | 2 +- .../Android/Icu/Text/ListFormatter.cs | 2 +- .../Icu/Text/RelativeDateTimeFormatter.cs | 2 +- .../Generated/Android/Icu/Text/UnicodeSet.cs | 14 +- .../Android/Media/AllPackageClasses.cs | 41 +- .../Android/Media/MediaScannerConnection.cs | 93 +++- .../Generated/Android/Net/Wifi/WifiInfo.cs | 9 + .../Netdroid/Generated/Android/Os/Bundle.cs | 70 +-- .../Netdroid/Generated/Android/Os/Parcel.cs | 392 ++++++++-------- .../Android/Service/Dreams/DreamService.cs | 4 +- .../Android/Telephony/SignalStrength.cs | 2 +- .../Netdroid/Generated/Android/View/View.cs | 6 +- .../Netdroid/Generated/Android/View/Window.cs | 4 +- .../Generated/Android/Widget/AdapterView.cs | 8 + .../Android/Widget/AutoCompleteTextView.cs | 4 +- .../Generated/Java/Io/AllPackageClasses.cs | 46 ++ src/net/Netdroid/Generated/Java/Io/Console.cs | 8 + .../Generated/Java/Io/FileDescriptor.cs | 2 +- .../Netdroid/Generated/Java/Io/InputStream.cs | 13 +- .../Netdroid/Generated/Java/Io/PrintStream.cs | 8 + .../Generated/Java/Io/RandomAccessFile.cs | 4 +- .../Acl/Permission.cs => Io/Serial.cs} | 10 +- .../Generated/Java/Lang/AllPackageClasses.cs | 47 ++ .../Java/Lang/Annotation/ElementType.cs | 6 + src/net/Netdroid/Generated/Java/Lang/Byte.cs | 2 +- .../Generated/Java/Lang/CharSequence.cs | 8 + .../Netdroid/Generated/Java/Lang/Character.cs | 258 ++++++++++ src/net/Netdroid/Generated/Java/Lang/Class.cs | 144 +++++- .../Netdroid/Generated/Java/Lang/Double.cs | 20 +- src/net/Netdroid/Generated/Java/Lang/Float.cs | 20 +- .../Netdroid/Generated/Java/Lang/Integer.cs | 20 +- .../Java/Lang/Invoke/AllPackageClasses.cs | 281 ++++++++++- .../Java/Lang/Invoke/MethodHandle.cs | 2 +- .../Java/Lang/Invoke/MethodHandles.cs | 166 ++++++- .../Generated/Java/Lang/Invoke/MethodType.cs | 113 +++-- .../Java/Lang/Invoke/TypeDescriptor.cs | 440 ++++++++++++++++++ .../Generated/Java/Lang/Invoke/VarHandle.cs | 74 ++- src/net/Netdroid/Generated/Java/Lang/Long.cs | 20 +- src/net/Netdroid/Generated/Java/Lang/Math.cs | 18 + .../Netdroid/Generated/Java/Lang/Package.cs | 8 +- .../Netdroid/Generated/Java/Lang/Process.cs | 51 ++ .../NotOwnerException.cs => Lang/Record.cs} | 6 +- .../Generated/Java/Lang/Ref/Reference.cs | 20 + .../Java/Lang/Reflect/AccessibleObject.cs | 8 +- .../Java/Lang/Reflect/AllPackageClasses.cs | 44 ++ .../Java/Lang/Reflect/AnnotatedElement.cs | 8 +- .../Generated/Java/Lang/Reflect/Executable.cs | 2 +- .../Java/Lang/Reflect/InvocationHandler.cs | 12 + .../Generated/Java/Lang/Reflect/Parameter.cs | 8 +- .../Java/Lang/Reflect/RecordComponent.cs | 132 ++++++ .../Netdroid/Generated/Java/Lang/Runtime.cs | 18 - .../Java/Lang/Runtime/AllPackageClasses.cs | 75 +++ .../Java/Lang/Runtime/ObjectMethods.cs | 73 +++ src/net/Netdroid/Generated/Java/Lang/Short.cs | 2 +- .../Generated/Java/Lang/StrictMath.cs | 136 ++++-- .../Netdroid/Generated/Java/Lang/String.cs | 64 +++ .../Netdroid/Generated/Java/Lang/System.cs | 2 + .../Netdroid/Generated/Java/Lang/Thread.cs | 43 +- .../Generated/Java/Lang/ThreadGroup.cs | 9 +- .../Generated/Java/Net/DatagramSocket.cs | 181 +++---- .../Generated/Java/Net/MulticastSocket.cs | 26 +- .../Generated/Java/Net/SecureCacheResponse.cs | 8 + .../Generated/Java/Net/ServerSocket.cs | 9 +- src/net/Netdroid/Generated/Java/Net/Socket.cs | 15 +- .../Java/Net/StandardProtocolFamily.cs | 6 + src/net/Netdroid/Generated/Java/Nio/Buffer.cs | 10 + .../Netdroid/Generated/Java/Nio/ByteBuffer.cs | 56 +++ .../Java/Nio/Channels/ServerSocketChannel.cs | 10 + .../Java/Nio/Channels/SocketChannel.cs | 10 + .../Java/Nio/Channels/Spi/SelectorProvider.cs | 20 + .../Netdroid/Generated/Java/Nio/CharBuffer.cs | 64 +++ .../Generated/Java/Nio/DoubleBuffer.cs | 56 +++ .../Generated/Java/Nio/File/FileStore.cs | 2 +- .../Generated/Java/Nio/File/FileSystems.cs | 33 ++ .../Netdroid/Generated/Java/Nio/File/Files.cs | 11 + .../Java/Nio/File/SecureDirectoryStream.cs | 4 +- .../Generated/Java/Nio/FloatBuffer.cs | 56 +++ .../Netdroid/Generated/Java/Nio/IntBuffer.cs | 56 +++ .../Netdroid/Generated/Java/Nio/LongBuffer.cs | 56 +++ .../Generated/Java/Nio/MappedByteBuffer.cs | 10 + .../Generated/Java/Nio/ShortBuffer.cs | 56 +++ .../Java/Security/AccessController.cs | 84 ++-- .../Generated/Java/Security/Acl/Acl.cs | 143 ------ .../Generated/Java/Security/Acl/AclEntry.cs | 143 ------ .../Java/Security/Acl/AclNotFoundException.cs | 58 --- .../Java/Security/Acl/AllPackageClasses.cs | 320 ------------- .../Generated/Java/Security/Acl/Group.cs | 112 ----- .../Generated/Java/Security/Acl/Owner.cs | 108 ----- .../Java/Security/AlgorithmParameters.cs | 2 +- .../Java/Security/AllPackageClasses.cs | 7 + .../Generated/Java/Security/Cert/X509CRL.cs | 1 + .../Java/Security/Cert/X509CRLSelector.cs | 1 + .../Java/Security/Cert/X509CertSelector.cs | 4 + .../Java/Security/Cert/X509Certificate.cs | 2 + .../Security/Interfaces/AllPackageClasses.cs | 138 ++++++ .../Java/Security/Interfaces/DSAPrivateKey.cs | 1 + .../Java/Security/Interfaces/DSAPublicKey.cs | 1 + .../Java/Security/Interfaces/ECPrivateKey.cs | 1 + .../Java/Security/Interfaces/ECPublicKey.cs | 1 + .../EdECKey.cs} | 32 +- .../Security/Interfaces/EdECPrivateKey.cs | 92 ++++ .../Java/Security/Interfaces/EdECPublicKey.cs | 92 ++++ .../Interfaces/RSAMultiPrimePrivateCrtKey.cs | 1 + .../Security/Interfaces/RSAPrivateCrtKey.cs | 1 + .../Java/Security/Interfaces/RSAPrivateKey.cs | 1 + .../Java/Security/Interfaces/RSAPublicKey.cs | 1 + .../Netdroid/Generated/Java/Security/Key.cs | 1 + .../Generated/Java/Security/PrivateKey.cs | 1 + .../Generated/Java/Security/Provider.cs | 2 +- .../Generated/Java/Security/PublicKey.cs | 1 + .../Java/Security/Spec/AllPackageClasses.cs | 132 ++++++ .../Generated/Java/Security/Spec/EdECPoint.cs | 83 ++++ .../Java/Security/Spec/EdECPrivateKeySpec.cs | 83 ++++ .../Java/Security/Spec/EdECPublicKeySpec.cs | 83 ++++ .../Java/Security/Spec/MGF1ParameterSpec.cs | 24 + .../Java/Security/Spec/NamedParameterSpec.cs | 12 + src/net/Netdroid/Generated/Java/Sql/SQLXML.cs | 16 +- .../Java/Text/DecimalFormatSymbols.cs | 16 + .../Generated/Java/Text/NumberFormat.cs | 30 ++ .../Generated/Java/Time/AllPackageClasses.cs | 48 +- .../Generated/Java/Time/Chrono/Chronology.cs | 6 +- .../Generated/Java/Time/Chrono/JapaneseEra.cs | 6 + .../Time/Format/DateTimeFormatterBuilder.cs | 9 + .../Generated/Java/Time/InstantSource.cs | 138 ++++++ .../Generated/Java/Util/AllPackageClasses.cs | 46 +- .../Netdroid/Generated/Java/Util/Arrays.cs | 92 ++-- .../Generated/Java/Util/Collections.cs | 62 +-- .../Java/Util/Concurrent/CompletableFuture.cs | 94 ++++ .../Java/Util/Concurrent/CompletionStage.cs | 99 ++++ .../Java/Util/Concurrent/Executors.cs | 3 + .../Java/Util/Concurrent/ForkJoinTask.cs | 4 +- .../Java/Util/Concurrent/Locks/LockSupport.cs | 8 + .../Java/Util/Concurrent/ThreadLocalRandom.cs | 48 -- .../Netdroid/Generated/Java/Util/EnumSet.cs | 24 +- .../Netdroid/Generated/Java/Util/HexFormat.cs | 367 +++++++++++++++ .../Java/Util/Jar/AllPackageClasses.cs | 141 ------ .../Generated/Java/Util/Jar/Pack200.cs | 336 ------------- .../Generated/Java/Util/Logging/Handler.cs | 10 +- .../Generated/Java/Util/Logging/LogManager.cs | 1 + .../Generated/Java/Util/Logging/LogRecord.cs | 19 + .../Java/Util/Logging/MemoryHandler.cs | 4 +- src/net/Netdroid/Generated/Java/Util/Map.cs | 20 + .../Netdroid/Generated/Java/Util/Objects.cs | 32 ++ .../Netdroid/Generated/Java/Util/Optional.cs | 4 +- .../Generated/Java/Util/OptionalDouble.cs | 2 +- .../Generated/Java/Util/OptionalInt.cs | 2 +- .../Generated/Java/Util/OptionalLong.cs | 2 +- .../Netdroid/Generated/Java/Util/Random.cs | 6 +- .../Generated/Java/Util/SplittableRandom.cs | 81 ---- .../Generated/Java/Util/Stream/Collectors.cs | 19 + .../Java/Util/Stream/DoubleStream.cs | 9 + .../Generated/Java/Util/Stream/IntStream.cs | 9 + .../Generated/Java/Util/Stream/Stream.cs | 97 ++++ .../Javax/Crypto/Interfaces/DHPrivateKey.cs | 1 + .../Javax/Crypto/Interfaces/DHPublicKey.cs | 1 + .../Javax/Crypto/Interfaces/PBEKey.cs | 1 + .../Generated/Javax/Crypto/SecretKey.cs | 1 + .../Generated/Javax/Crypto/Spec/PBEKeySpec.cs | 4 +- .../Javax/Net/Ssl/HttpsURLConnection.cs | 8 + .../Generated/Javax/Net/Ssl/SSLContext.cs | 20 +- .../Generated/Javax/Net/Ssl/SSLSession.cs | 20 +- .../Javax/Security/Auth/AllPackageClasses.cs | 1 + .../Generated/Javax/Security/Auth/Subject.cs | 5 +- .../Xml/Parsers/DocumentBuilderFactory.cs | 26 ++ .../Javax/Xml/Parsers/SAXParserFactory.cs | 26 ++ .../Generated/Org/Xml/Sax/ContentHandler.cs | 11 + 180 files changed, 5719 insertions(+), 2289 deletions(-) create mode 100644 src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/hardware/SensorEventListener2.java create mode 100644 src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/media/MediaScannerConnection_MediaScannerConnectionClient.java rename src/net/Netdroid/Generated/Java/{Security/Acl/Permission.cs => Io/Serial.cs} (88%) create mode 100644 src/net/Netdroid/Generated/Java/Lang/Invoke/TypeDescriptor.cs rename src/net/Netdroid/Generated/Java/{Security/Acl/NotOwnerException.cs => Lang/Record.cs} (92%) create mode 100644 src/net/Netdroid/Generated/Java/Lang/Reflect/RecordComponent.cs create mode 100644 src/net/Netdroid/Generated/Java/Lang/Runtime/AllPackageClasses.cs create mode 100644 src/net/Netdroid/Generated/Java/Lang/Runtime/ObjectMethods.cs delete mode 100644 src/net/Netdroid/Generated/Java/Security/Acl/Acl.cs delete mode 100644 src/net/Netdroid/Generated/Java/Security/Acl/AclEntry.cs delete mode 100644 src/net/Netdroid/Generated/Java/Security/Acl/AclNotFoundException.cs delete mode 100644 src/net/Netdroid/Generated/Java/Security/Acl/AllPackageClasses.cs delete mode 100644 src/net/Netdroid/Generated/Java/Security/Acl/Group.cs delete mode 100644 src/net/Netdroid/Generated/Java/Security/Acl/Owner.cs rename src/net/Netdroid/Generated/Java/Security/{Acl/LastOwnerException.cs => Interfaces/EdECKey.cs} (56%) create mode 100644 src/net/Netdroid/Generated/Java/Security/Interfaces/EdECPrivateKey.cs create mode 100644 src/net/Netdroid/Generated/Java/Security/Interfaces/EdECPublicKey.cs create mode 100644 src/net/Netdroid/Generated/Java/Security/Spec/EdECPoint.cs create mode 100644 src/net/Netdroid/Generated/Java/Security/Spec/EdECPrivateKeySpec.cs create mode 100644 src/net/Netdroid/Generated/Java/Security/Spec/EdECPublicKeySpec.cs create mode 100644 src/net/Netdroid/Generated/Java/Time/InstantSource.cs create mode 100644 src/net/Netdroid/Generated/Java/Util/HexFormat.cs delete mode 100644 src/net/Netdroid/Generated/Java/Util/Jar/Pack200.cs diff --git a/src/configuration.json b/src/configuration.json index ad2841295..ccf9424da 100644 --- a/src/configuration.json +++ b/src/configuration.json @@ -86,6 +86,7 @@ "java.lang.Runtime$Version", "java.lang.System$Logger", "java.lang.Thread$UncaughtExceptionHandler", + "java.lang.invoke.VarHandle$VarHandleDesc", "java.lang.reflect.AnnotatedType", "java.security.SecureRandomParameters", "java.sql.ConnectionBuilder", @@ -93,12 +94,15 @@ "java.sql.ShardingKey", "java.sql.ShardingKeyBuilder", "java.sql.SQLType", + "java.text.NumberFormat$Style", "java.util.Comparator", "java.util.EventListener", "java.util.random.RandomGenerator", "java.util.random.RandomGenerator$SplittableGenerator", "java.util.stream.DoubleStream$Builder", + "java.util.stream.DoubleStream$DoubleMapMultiConsumer", "java.util.stream.IntStream$Builder", + "java.util.stream.IntStream$IntMapMultiConsumer", "java.util.stream.LongStream$Builder", "java.util.stream.LongStream$LongMapMultiConsumer", "java.util.stream.Stream$Builder", diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/hardware/SensorEventListener2.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/hardware/SensorEventListener2.java new file mode 100644 index 000000000..2d31d6272 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/hardware/SensorEventListener2.java @@ -0,0 +1,43 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.hardware; + +public final class SensorEventListener2 extends org.mases.jcobridge.JCListener implements android.hardware.SensorEventListener2 { + public SensorEventListener2(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onAccuracyChanged(android.hardware.Sensor arg0, int arg1) { + raiseEvent("onAccuracyChanged", arg0, arg1); + } + //@Override + public void onSensorChanged(android.hardware.SensorEvent arg0) { + raiseEvent("onSensorChanged", arg0); + } + //@Override + public void onFlushCompleted(android.hardware.Sensor arg0) { + raiseEvent("onFlushCompleted", arg0); + } + +} \ No newline at end of file diff --git a/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/media/MediaScannerConnection_MediaScannerConnectionClient.java b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/media/MediaScannerConnection_MediaScannerConnectionClient.java new file mode 100644 index 000000000..d748a8075 --- /dev/null +++ b/src/jvm/netdroid/src/main/java/org/mases/netdroid/generated/android/media/MediaScannerConnection_MediaScannerConnectionClient.java @@ -0,0 +1,39 @@ +/* + * Copyright 2024 MASES s.r.l. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * Refer to LICENSE for more information. + */ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +*/ + +package org.mases.netdroid.generated.android.media; + +public final class MediaScannerConnection_MediaScannerConnectionClient extends org.mases.jcobridge.JCListener implements android.media.MediaScannerConnection.MediaScannerConnectionClient { + public MediaScannerConnection_MediaScannerConnectionClient(String key) throws org.mases.jcobridge.JCNativeException { + super(key); + } + + //@Override + public void onMediaScannerConnected() { + raiseEvent("onMediaScannerConnected"); + } + //@Override + public void onScanCompleted(java.lang.String arg0, android.net.Uri arg1) { + raiseEvent("onScanCompleted", arg0, arg1); + } + +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Android/App/Activity.cs b/src/net/Netdroid/Generated/Android/App/Activity.cs index 410fff94b..8aae0eb2b 100644 --- a/src/net/Netdroid/Generated/Android/App/Activity.cs +++ b/src/net/Netdroid/Generated/Android/App/Activity.cs @@ -129,7 +129,7 @@ public partial class Activity : Android.Content.IComponentCallbacks2 /// public T FindViewById(int arg0) where T : Android.View.View { - return IExecute("findViewById", arg0); + return IExecuteWithSignature("findViewById", "(I)Landroid/view/View;", arg0); } /// /// @@ -891,7 +891,7 @@ public bool StartNextMatchingActivity(Android.Content.Intent arg0) /// public T RequireViewById(int arg0) where T : Android.View.View { - return IExecute("requireViewById", arg0); + return IExecuteWithSignature("requireViewById", "(I)Landroid/view/View;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Android/App/Dialog.cs b/src/net/Netdroid/Generated/Android/App/Dialog.cs index 878ad914e..d276c06a3 100644 --- a/src/net/Netdroid/Generated/Android/App/Dialog.cs +++ b/src/net/Netdroid/Generated/Android/App/Dialog.cs @@ -74,7 +74,7 @@ public Dialog(Android.Content.Context arg0) /// public T FindViewById(int arg0) where T : Android.View.View { - return IExecute("findViewById", arg0); + return IExecuteWithSignature("findViewById", "(I)Landroid/view/View;", arg0); } /// /// @@ -394,7 +394,7 @@ public bool OnTrackballEvent(Android.View.MotionEvent arg0) /// public T RequireViewById(int arg0) where T : Android.View.View { - return IExecute("requireViewById", arg0); + return IExecuteWithSignature("requireViewById", "(I)Landroid/view/View;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Android/App/FragmentContainer.cs b/src/net/Netdroid/Generated/Android/App/FragmentContainer.cs index 464a3cd0a..c3b57c9f4 100644 --- a/src/net/Netdroid/Generated/Android/App/FragmentContainer.cs +++ b/src/net/Netdroid/Generated/Android/App/FragmentContainer.cs @@ -54,7 +54,7 @@ public partial class FragmentContainer [global::System.Obsolete()] public T OnFindViewById(int arg0) where T : Android.View.View { - return IExecute("onFindViewById", arg0); + return IExecuteWithSignature("onFindViewById", "(I)Landroid/view/View;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Android/Content/Intent.cs b/src/net/Netdroid/Generated/Android/Content/Intent.cs index 6a2a4ca74..757495739 100644 --- a/src/net/Netdroid/Generated/Android/Content/Intent.cs +++ b/src/net/Netdroid/Generated/Android/Content/Intent.cs @@ -2212,59 +2212,59 @@ public static Java.Lang.String NormalizeMimeType(Java.Lang.String arg0) #region Instance methods /// - /// + /// /// /// - /// - /// + /// /// - public Java.Util.ArrayList GetParcelableArrayListExtra(Java.Lang.String arg0, Java.Lang.Class arg1) + [global::System.Obsolete()] + public Java.Util.ArrayList GetParcelableArrayListExtra(Java.Lang.String arg0) where T : Android.Os.IParcelable, new() { - return IExecute>("getParcelableArrayListExtra", arg0, arg1); + return IExecuteWithSignature>("getParcelableArrayListExtra", "(Ljava/lang/String;)Ljava/util/ArrayList;", arg0); } /// - /// + /// /// /// /// - /// + /// [global::System.Obsolete()] - public Java.Util.ArrayList GetParcelableArrayListExtra(Java.Lang.String arg0) where T : Android.Os.IParcelable, new() + public T GetParcelableExtra(Java.Lang.String arg0) where T : Android.Os.IParcelable, new() { - return IExecute>("getParcelableArrayListExtra", arg0); + return IExecuteWithSignature("getParcelableExtra", "(Ljava/lang/String;)Landroid/os/Parcelable;", arg0); } /// - /// + /// /// /// /// - /// + /// /// - public T GetParcelableExtra(Java.Lang.String arg0, Java.Lang.Class arg1) + public T GetSerializableExtra(Java.Lang.String arg0, Java.Lang.Class arg1) where T : Java.Io.ISerializable, new() { - return IExecute("getParcelableExtra", arg0, arg1); + return IExecute("getSerializableExtra", arg0, arg1); } /// - /// + /// /// /// - /// - /// - [global::System.Obsolete()] - public T GetParcelableExtra(Java.Lang.String arg0) where T : Android.Os.IParcelable, new() + /// + /// + /// + public Java.Util.ArrayList GetParcelableArrayListExtra(Java.Lang.String arg0, Java.Lang.Class arg1) { - return IExecute("getParcelableExtra", arg0); + return IExecute>("getParcelableArrayListExtra", arg0, arg1); } /// - /// + /// /// /// /// - /// + /// /// - public T GetSerializableExtra(Java.Lang.String arg0, Java.Lang.Class arg1) where T : Java.Io.ISerializable, new() + public T GetParcelableExtra(Java.Lang.String arg0, Java.Lang.Class arg1) { - return IExecute("getSerializableExtra", arg0, arg1); + return IExecute("getParcelableExtra", arg0, arg1); } /// /// diff --git a/src/net/Netdroid/Generated/Android/Hardware/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Hardware/AllPackageClasses.cs index 104f00114..e9e0223c8 100644 --- a/src/net/Netdroid/Generated/Android/Hardware/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Hardware/AllPackageClasses.cs @@ -1156,7 +1156,7 @@ public SensorEvent(params object[] args) : base(args) { } /// /// /// - public partial class SensorEventCallback : Android.Hardware.SensorEventListener2 + public partial class SensorEventCallback : MASES.JCOBridge.C2JBridge.JVMBridgeBase { const string _bridgeClassName = "android.hardware.SensorEventCallback"; /// @@ -1267,24 +1267,46 @@ protected override void InitializeHandlers() { } /// /// /// - public partial class SensorEventListener2 : Android.Hardware.SensorEventListener + public partial class SensorEventListener2 : MASES.JCOBridge.C2JBridge.JVMBridgeListener { - const string _bridgeClassName = "android.hardware.SensorEventListener2"; /// /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge /// - [global::System.Obsolete("SensorEventListener2 class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public SensorEventListener2() { } + public SensorEventListener2() { InitializeHandlers(); } + + const string _bridgeClassName = "org.mases.netdroid.generated.android.hardware.SensorEventListener2"; + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + /// - /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + /// + public override string BridgeClassName => _bridgeClassName; + + + // TODO: complete the class + + } + #endregion + + #region SensorEventListener2Direct + /// + /// Direct override of or its generic type if there is one + /// + public partial class SensorEventListener2Direct : SensorEventListener2 + { + /// + /// /// - [global::System.Obsolete("SensorEventListener2 class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public SensorEventListener2(params object[] args) : base(args) { } + public override bool AutoInit => false; + /// + protected override void InitializeHandlers() { } + + const string _bridgeClassName = "android.hardware.SensorEventListener2"; private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); /// - /// + /// /// public override string BridgeClassName => _bridgeClassName; /// @@ -1303,9 +1325,6 @@ public SensorEventListener2(params object[] args) : base(args) { } /// /// public override bool IsBridgeStatic => false; - - // TODO: complete the class - } #endregion diff --git a/src/net/Netdroid/Generated/Android/Hardware/SensorEventCallback.cs b/src/net/Netdroid/Generated/Android/Hardware/SensorEventCallback.cs index 115b4ea75..2e563cc4d 100644 --- a/src/net/Netdroid/Generated/Android/Hardware/SensorEventCallback.cs +++ b/src/net/Netdroid/Generated/Android/Hardware/SensorEventCallback.cs @@ -33,6 +33,10 @@ public partial class SensorEventCallback #endregion #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Android.Hardware.SensorEventListener2(Android.Hardware.SensorEventCallback t) => t.Cast(); #endregion diff --git a/src/net/Netdroid/Generated/Android/Hardware/SensorEventListener2.cs b/src/net/Netdroid/Generated/Android/Hardware/SensorEventListener2.cs index fd3ca9440..5ec2ef0ab 100644 --- a/src/net/Netdroid/Generated/Android/Hardware/SensorEventListener2.cs +++ b/src/net/Netdroid/Generated/Android/Hardware/SensorEventListener2.cs @@ -27,9 +27,9 @@ namespace Android.Hardware { #region ISensorEventListener2 /// - /// .NET interface for TO BE DEFINED FROM USER + /// .NET interface for org.mases.netdroid.generated.android.hardware.SensorEventListener2 implementing /// - public partial interface ISensorEventListener2 : Android.Hardware.ISensorEventListener + public partial interface ISensorEventListener2 { #region Instance methods @@ -64,10 +64,132 @@ public partial class SensorEventListener2 : Android.Hardware.ISensorEventListene #region Instance methods /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onAccuracyChanged", new global::System.EventHandler>>(OnAccuracyChangedEventHandler)); + AddEventHandler("onSensorChanged", new global::System.EventHandler>>(OnSensorChangedEventHandler)); + AddEventHandler("onFlushCompleted", new global::System.EventHandler>>(OnFlushCompletedEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public global::System.Action OnOnAccuracyChanged { get; set; } = null; + + void OnAccuracyChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnAccuracyChanged != null) ? OnOnAccuracyChanged : OnAccuracyChanged; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + } + + /// + /// + /// + /// + /// + public virtual void OnAccuracyChanged(Android.Hardware.Sensor arg0, int arg1) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public global::System.Action OnOnSensorChanged { get; set; } = null; + + void OnSensorChangedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnSensorChanged != null) ? OnOnSensorChanged : OnSensorChanged; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + public virtual void OnSensorChanged(Android.Hardware.SensorEvent arg0) + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public global::System.Action OnOnFlushCompleted { get; set; } = null; + + void OnFlushCompletedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnFlushCompleted != null) ? OnOnFlushCompleted : OnFlushCompleted; + methodToExecute.Invoke(data.EventData.TypedEventData); + } + + /// + /// + /// + /// + public virtual void OnFlushCompleted(Android.Hardware.Sensor arg0) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region SensorEventListener2Direct + public partial class SensorEventListener2Direct : Android.Hardware.ISensorEventListener2 + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + public override void OnAccuracyChanged(Android.Hardware.Sensor arg0, int arg1) + { + IExecute("onAccuracyChanged", arg0, arg1); + } + /// + /// + /// + /// + public override void OnSensorChanged(Android.Hardware.SensorEvent arg0) + { + IExecute("onSensorChanged", arg0); + } + /// /// /// /// - public void OnFlushCompleted(Android.Hardware.Sensor arg0) + public override void OnFlushCompleted(Android.Hardware.Sensor arg0) { IExecuteWithSignature("onFlushCompleted", "(Landroid/hardware/Sensor;)V", arg0); } diff --git a/src/net/Netdroid/Generated/Android/Health/Connect/HealthConnectManager.cs b/src/net/Netdroid/Generated/Android/Health/Connect/HealthConnectManager.cs index cb748c6fb..fcc0fecd1 100644 --- a/src/net/Netdroid/Generated/Android/Health/Connect/HealthConnectManager.cs +++ b/src/net/Netdroid/Generated/Android/Health/Connect/HealthConnectManager.cs @@ -76,6 +76,17 @@ public partial class HealthConnectManager #region Instance methods /// + /// + /// + /// + /// + /// + /// + public void ReadRecords(Android.Health.Connect.ReadRecordsRequest arg0, Java.Util.Concurrent.Executor arg1, Android.Os.OutcomeReceiver, Android.Health.Connect.HealthConnectException> arg2) where T : Android.Health.Connect.Datatypes.Record + { + IExecute("readRecords", arg0, arg1, arg2); + } + /// /// /// /// @@ -111,17 +122,6 @@ public void AggregateGroupByPeriod(Android.Health.Connect.AggregateRecordsReq IExecute("aggregateGroupByPeriod", arg0, arg1, arg2, arg3); } /// - /// - /// - /// - /// - /// - /// - public void ReadRecords(Android.Health.Connect.ReadRecordsRequest arg0, Java.Util.Concurrent.Executor arg1, Android.Os.OutcomeReceiver, Android.Health.Connect.HealthConnectException> arg2) where T : Android.Health.Connect.Datatypes.Record - { - IExecute("readRecords", arg0, arg1, arg2); - } - /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Icu/Number/FormattedNumber.cs b/src/net/Netdroid/Generated/Android/Icu/Number/FormattedNumber.cs index 39604e744..531630291 100644 --- a/src/net/Netdroid/Generated/Android/Icu/Number/FormattedNumber.cs +++ b/src/net/Netdroid/Generated/Android/Icu/Number/FormattedNumber.cs @@ -53,7 +53,7 @@ public partial class FormattedNumber /// public A AppendTo(A arg0) where A : Java.Lang.IAppendable, new() { - return IExecute("appendTo", arg0); + return IExecuteWithSignature("appendTo", "(Ljava/lang/Appendable;)Ljava/lang/Appendable;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Android/Icu/Number/FormattedNumberRange.cs b/src/net/Netdroid/Generated/Android/Icu/Number/FormattedNumberRange.cs index bd6e0f1ac..7d1bd5cb5 100644 --- a/src/net/Netdroid/Generated/Android/Icu/Number/FormattedNumberRange.cs +++ b/src/net/Netdroid/Generated/Android/Icu/Number/FormattedNumberRange.cs @@ -53,7 +53,7 @@ public partial class FormattedNumberRange /// public A AppendTo(A arg0) where A : Java.Lang.IAppendable, new() { - return IExecute("appendTo", arg0); + return IExecuteWithSignature("appendTo", "(Ljava/lang/Appendable;)Ljava/lang/Appendable;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Android/Icu/Text/DateIntervalFormat.cs b/src/net/Netdroid/Generated/Android/Icu/Text/DateIntervalFormat.cs index c6759e773..b524ea0c9 100644 --- a/src/net/Netdroid/Generated/Android/Icu/Text/DateIntervalFormat.cs +++ b/src/net/Netdroid/Generated/Android/Icu/Text/DateIntervalFormat.cs @@ -237,7 +237,7 @@ public partial class FormattedDateInterval /// public A AppendTo(A arg0) where A : Java.Lang.IAppendable, new() { - return IExecute("appendTo", arg0); + return IExecuteWithSignature("appendTo", "(Ljava/lang/Appendable;)Ljava/lang/Appendable;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Android/Icu/Text/FormattedValue.cs b/src/net/Netdroid/Generated/Android/Icu/Text/FormattedValue.cs index e0427d874..8b72b401d 100644 --- a/src/net/Netdroid/Generated/Android/Icu/Text/FormattedValue.cs +++ b/src/net/Netdroid/Generated/Android/Icu/Text/FormattedValue.cs @@ -71,7 +71,7 @@ public partial class FormattedValue : Android.Icu.Text.IFormattedValue /// public A AppendTo(A arg0) where A : Java.Lang.IAppendable, new() { - return IExecute("appendTo", arg0); + return IExecuteWithSignature("appendTo", "(Ljava/lang/Appendable;)Ljava/lang/Appendable;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Android/Icu/Text/ListFormatter.cs b/src/net/Netdroid/Generated/Android/Icu/Text/ListFormatter.cs index 9a5a6f1f1..c74b4a030 100644 --- a/src/net/Netdroid/Generated/Android/Icu/Text/ListFormatter.cs +++ b/src/net/Netdroid/Generated/Android/Icu/Text/ListFormatter.cs @@ -170,7 +170,7 @@ public partial class FormattedList /// public A AppendTo(A arg0) where A : Java.Lang.IAppendable, new() { - return IExecute("appendTo", arg0); + return IExecuteWithSignature("appendTo", "(Ljava/lang/Appendable;)Ljava/lang/Appendable;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Android/Icu/Text/RelativeDateTimeFormatter.cs b/src/net/Netdroid/Generated/Android/Icu/Text/RelativeDateTimeFormatter.cs index b2a87b844..93cc43275 100644 --- a/src/net/Netdroid/Generated/Android/Icu/Text/RelativeDateTimeFormatter.cs +++ b/src/net/Netdroid/Generated/Android/Icu/Text/RelativeDateTimeFormatter.cs @@ -473,7 +473,7 @@ public partial class FormattedRelativeDateTime /// public A AppendTo(A arg0) where A : Java.Lang.IAppendable, new() { - return IExecute("appendTo", arg0); + return IExecuteWithSignature("appendTo", "(Ljava/lang/Appendable;)Ljava/lang/Appendable;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Android/Icu/Text/UnicodeSet.cs b/src/net/Netdroid/Generated/Android/Icu/Text/UnicodeSet.cs index 7f38817b3..28538b603 100644 --- a/src/net/Netdroid/Generated/Android/Icu/Text/UnicodeSet.cs +++ b/src/net/Netdroid/Generated/Android/Icu/Text/UnicodeSet.cs @@ -199,7 +199,7 @@ public static Android.Icu.Text.UnicodeSet FromAll(Java.Lang.CharSequence arg0) /// public Android.Icu.Text.UnicodeSet AddAll(params T[] arg0) where T : Java.Lang.ICharSequence, new() { - if (arg0.Length == 0) return IExecute("addAll"); else return IExecute("addAll", arg0); + if (arg0.Length == 0) return IExecuteWithSignature("addAll", "([Ljava/lang/CharSequence;)Landroid/icu/text/UnicodeSet;"); else return IExecuteWithSignature("addAll", "([Ljava/lang/CharSequence;)Landroid/icu/text/UnicodeSet;", arg0); } /// /// @@ -209,7 +209,7 @@ public static Android.Icu.Text.UnicodeSet FromAll(Java.Lang.CharSequence arg0) /// public Android.Icu.Text.UnicodeSet RemoveAll(Java.Lang.Iterable arg0) where T : Java.Lang.ICharSequence, new() { - return IExecute("removeAll", arg0); + return IExecuteWithSignature("removeAll", "(Ljava/lang/Iterable;)Landroid/icu/text/UnicodeSet;", arg0); } /// /// @@ -219,7 +219,7 @@ public static Android.Icu.Text.UnicodeSet FromAll(Java.Lang.CharSequence arg0) /// public Android.Icu.Text.UnicodeSet RetainAll(Java.Lang.Iterable arg0) where T : Java.Lang.ICharSequence, new() { - return IExecute("retainAll", arg0); + return IExecuteWithSignature("retainAll", "(Ljava/lang/Iterable;)Landroid/icu/text/UnicodeSet;", arg0); } /// /// @@ -229,7 +229,7 @@ public static Android.Icu.Text.UnicodeSet FromAll(Java.Lang.CharSequence arg0) /// public bool ContainsAll(Java.Lang.Iterable arg0) where T : Java.Lang.ICharSequence, new() { - return IExecute("containsAll", arg0); + return IExecuteWithSignature("containsAll", "(Ljava/lang/Iterable;)Z", arg0); } /// /// @@ -239,7 +239,7 @@ public static Android.Icu.Text.UnicodeSet FromAll(Java.Lang.CharSequence arg0) /// public bool ContainsNone(Java.Lang.Iterable arg0) where T : Java.Lang.ICharSequence, new() { - return IExecute("containsNone", arg0); + return IExecuteWithSignature("containsNone", "(Ljava/lang/Iterable;)Z", arg0); } /// /// @@ -249,7 +249,7 @@ public static Android.Icu.Text.UnicodeSet FromAll(Java.Lang.CharSequence arg0) /// public T AddAllTo(T arg0) where T : Java.Util.Collection { - return IExecute("addAllTo", arg0); + return IExecuteWithSignature("addAllTo", "(Ljava/util/Collection;)Ljava/util/Collection;", arg0); } /// /// @@ -546,7 +546,7 @@ public bool IsFrozen() /// public bool ContainsSome(Java.Lang.Iterable arg0) where T : Java.Lang.ICharSequence, new() { - return IExecute("containsSome", arg0); + return IExecuteWithSignature("containsSome", "(Ljava/lang/Iterable;)Z", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Android/Media/AllPackageClasses.cs b/src/net/Netdroid/Generated/Android/Media/AllPackageClasses.cs index b8c2e3352..b82af1fe6 100644 --- a/src/net/Netdroid/Generated/Android/Media/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Android/Media/AllPackageClasses.cs @@ -9362,24 +9362,46 @@ public MediaScannerConnection(params object[] args) : base(args) { } /// /// /// - public partial class MediaScannerConnectionClient : Android.Media.MediaScannerConnection.OnScanCompletedListener + public partial class MediaScannerConnectionClient : MASES.JCOBridge.C2JBridge.JVMBridgeListener { - const string _bridgeClassName = "android.media.MediaScannerConnection$MediaScannerConnectionClient"; /// /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge /// - [global::System.Obsolete("MediaScannerConnectionClient class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public MediaScannerConnectionClient() { } + public MediaScannerConnectionClient() { InitializeHandlers(); } + + const string _bridgeClassName = "org.mases.netdroid.generated.android.media.MediaScannerConnection_MediaScannerConnectionClient"; + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + /// - /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + /// + public override string BridgeClassName => _bridgeClassName; + + + // TODO: complete the class + + } + #endregion + + #region MediaScannerConnectionClientDirect + /// + /// Direct override of or its generic type if there is one + /// + public partial class MediaScannerConnectionClientDirect : MediaScannerConnectionClient + { + /// + /// /// - [global::System.Obsolete("MediaScannerConnectionClient class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public MediaScannerConnectionClient(params object[] args) : base(args) { } + public override bool AutoInit => false; + /// + protected override void InitializeHandlers() { } + + const string _bridgeClassName = "android.media.MediaScannerConnection$MediaScannerConnectionClient"; private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); /// - /// + /// /// public override string BridgeClassName => _bridgeClassName; /// @@ -9398,9 +9420,6 @@ public MediaScannerConnectionClient(params object[] args) : base(args) { } /// /// public override bool IsBridgeStatic => true; - - // TODO: complete the class - } #endregion diff --git a/src/net/Netdroid/Generated/Android/Media/MediaScannerConnection.cs b/src/net/Netdroid/Generated/Android/Media/MediaScannerConnection.cs index 98a701e42..895cf9b34 100644 --- a/src/net/Netdroid/Generated/Android/Media/MediaScannerConnection.cs +++ b/src/net/Netdroid/Generated/Android/Media/MediaScannerConnection.cs @@ -136,14 +136,105 @@ public partial class MediaScannerConnectionClient #endregion + #region Instance methods + /// + /// Handlers initializer for + /// + protected virtual void InitializeHandlers() + { + AddEventHandler("onMediaScannerConnected", new global::System.EventHandler>(OnMediaScannerConnectedEventHandler)); + AddEventHandler("onScanCompleted", new global::System.EventHandler>>(OnScanCompletedEventHandler)); + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public global::System.Action OnOnMediaScannerConnected { get; set; } = null; + + void OnMediaScannerConnectedEventHandler(object sender, CLRListenerEventArgs data) + { + var methodToExecute = (OnOnMediaScannerConnected != null) ? OnOnMediaScannerConnected : OnMediaScannerConnected; + methodToExecute.Invoke(); + } + + /// + /// + /// + public virtual void OnMediaScannerConnected() + { + + } + + /// + /// Handler for + /// + /// If has a value it takes precedence over corresponding class method + public global::System.Action OnOnScanCompleted { get; set; } = null; + + void OnScanCompletedEventHandler(object sender, CLRListenerEventArgs> data) + { + var methodToExecute = (OnOnScanCompleted != null) ? OnOnScanCompleted : OnScanCompleted; + methodToExecute.Invoke(data.EventData.TypedEventData, data.EventData.GetAt(0)); + } + + /// + /// + /// + /// + /// + public virtual void OnScanCompleted(Java.Lang.String arg0, Android.Net.Uri arg1) + { + + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region MediaScannerConnectionClientDirect + public partial class MediaScannerConnectionClientDirect + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + #region Instance methods /// /// /// - public void OnMediaScannerConnected() + public override void OnMediaScannerConnected() { IExecuteWithSignature("onMediaScannerConnected", "()V"); } + /// + /// + /// + /// + /// + public override void OnScanCompleted(Java.Lang.String arg0, Android.Net.Uri arg1) + { + IExecute("onScanCompleted", arg0, arg1); + } #endregion diff --git a/src/net/Netdroid/Generated/Android/Net/Wifi/WifiInfo.cs b/src/net/Netdroid/Generated/Android/Net/Wifi/WifiInfo.cs index 6b9871561..0d0c3641e 100644 --- a/src/net/Netdroid/Generated/Android/Net/Wifi/WifiInfo.cs +++ b/src/net/Netdroid/Generated/Android/Net/Wifi/WifiInfo.cs @@ -179,6 +179,15 @@ public Android.Net.MacAddress GetApMldMacAddress() return IExecuteWithSignature("getApMldMacAddress", "()Landroid/net/MacAddress;"); } /// + /// + /// + /// + /// + public Android.Net.TransportInfo MakeCopy(long arg0) + { + return IExecuteWithSignature("makeCopy", "(J)Landroid/net/TransportInfo;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Os/Bundle.cs b/src/net/Netdroid/Generated/Android/Os/Bundle.cs index 2fb38424b..0c1503ce6 100644 --- a/src/net/Netdroid/Generated/Android/Os/Bundle.cs +++ b/src/net/Netdroid/Generated/Android/Os/Bundle.cs @@ -98,17 +98,6 @@ public Bundle(Java.Lang.ClassLoader arg0) #region Instance methods /// - /// - /// - /// - /// - /// - /// - public Android.Util.SparseArray GetSparseParcelableArray(Java.Lang.String arg0, Java.Lang.Class arg1) - { - return IExecute>("getSparseParcelableArray", arg0, arg1); - } - /// /// /// /// @@ -117,62 +106,73 @@ public Android.Util.SparseArray GetSparseParcelableArray(Java.Lang.String [global::System.Obsolete()] public Android.Util.SparseArray GetSparseParcelableArray(Java.Lang.String arg0) where T : Android.Os.IParcelable, new() { - return IExecute>("getSparseParcelableArray", arg0); + return IExecuteWithSignature>("getSparseParcelableArray", "(Ljava/lang/String;)Landroid/util/SparseArray;", arg0); } /// - /// + /// /// /// - /// - /// + /// /// - public Java.Util.ArrayList GetParcelableArrayList(Java.Lang.String arg0, Java.Lang.Class arg1) + [global::System.Obsolete()] + public Java.Util.ArrayList GetParcelableArrayList(Java.Lang.String arg0) where T : Android.Os.IParcelable, new() { - return IExecute>("getParcelableArrayList", arg0, arg1); + return IExecuteWithSignature>("getParcelableArrayList", "(Ljava/lang/String;)Ljava/util/ArrayList;", arg0); } /// - /// + /// /// /// /// - /// + /// [global::System.Obsolete()] - public Java.Util.ArrayList GetParcelableArrayList(Java.Lang.String arg0) where T : Android.Os.IParcelable, new() + public T GetParcelable(Java.Lang.String arg0) where T : Android.Os.IParcelable, new() { - return IExecute>("getParcelableArrayList", arg0); + return IExecuteWithSignature("getParcelable", "(Ljava/lang/String;)Landroid/os/Parcelable;", arg0); } /// - /// + /// /// /// /// - /// + /// /// - public T GetParcelable(Java.Lang.String arg0, Java.Lang.Class arg1) + public T GetSerializable(Java.Lang.String arg0, Java.Lang.Class arg1) where T : Java.Io.ISerializable, new() { - return IExecute("getParcelable", arg0, arg1); + return IExecute("getSerializable", arg0, arg1); } /// - /// + /// /// /// - /// - /// - [global::System.Obsolete()] - public T GetParcelable(Java.Lang.String arg0) where T : Android.Os.IParcelable, new() + /// + /// + /// + public Android.Util.SparseArray GetSparseParcelableArray(Java.Lang.String arg0, Java.Lang.Class arg1) { - return IExecute("getParcelable", arg0); + return IExecute>("getSparseParcelableArray", arg0, arg1); } /// - /// + /// /// /// /// - /// + /// + /// + public Java.Util.ArrayList GetParcelableArrayList(Java.Lang.String arg0, Java.Lang.Class arg1) + { + return IExecute>("getParcelableArrayList", arg0, arg1); + } + /// + /// + /// + /// + /// + /// /// - public T GetSerializable(Java.Lang.String arg0, Java.Lang.Class arg1) where T : Java.Io.ISerializable, new() + public T GetParcelable(Java.Lang.String arg0, Java.Lang.Class arg1) { - return IExecute("getSerializable", arg0, arg1); + return IExecute("getParcelable", arg0, arg1); } /// /// diff --git a/src/net/Netdroid/Generated/Android/Os/Parcel.cs b/src/net/Netdroid/Generated/Android/Os/Parcel.cs index 2b9475316..d25ea7864 100644 --- a/src/net/Netdroid/Generated/Android/Os/Parcel.cs +++ b/src/net/Netdroid/Generated/Android/Os/Parcel.cs @@ -97,17 +97,185 @@ public void ReadMap(Java.Util.Map - /// + /// /// - /// - /// - /// - /// - /// + /// + /// + /// + public Java.Util.ArrayList CreateInterfaceArrayList(Java.Util.Function.Function arg0) where T : Android.Os.IIInterface, new() + { + return IExecuteWithSignature>("createInterfaceArrayList", "(Ljava/util/function/Function;)Ljava/util/ArrayList;", arg0); + } + /// + /// + /// + /// + /// + /// /// - public T CreateFixedArray(Java.Lang.Class arg0, Android.Os.Parcelable.Creator arg1, params int[] arg2) where S : Android.Os.IParcelable, new() + public T[] CreateInterfaceArray(Java.Util.Function.IntFunction arg0, Java.Util.Function.Function arg1) where T : Android.Os.IIInterface, new() { - if (arg2.Length == 0) return IExecute("createFixedArray", arg0, arg1); else return IExecute("createFixedArray", arg0, arg1, arg2); + return IExecuteArray("createInterfaceArray", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + public void ReadInterfaceArray(T[] arg0, Java.Util.Function.Function arg1) where T : Android.Os.IIInterface, new() + { + IExecute("readInterfaceArray", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + public void ReadInterfaceList(Java.Util.List arg0, Java.Util.Function.Function arg1) where T : Android.Os.IIInterface, new() + { + IExecute("readInterfaceList", arg0, arg1); + } + /// + /// + /// + /// + /// + public void WriteInterfaceArray(T[] arg0) where T : Android.Os.IIInterface, new() + { + IExecuteWithSignature("writeInterfaceArray", "([Landroid/os/IInterface;)V", new object[] { arg0 }); + } + /// + /// + /// + /// + /// + public void WriteInterfaceList(Java.Util.List arg0) where T : Android.Os.IIInterface, new() + { + IExecuteWithSignature("writeInterfaceList", "(Ljava/util/List;)V", arg0); + } + /// + /// + /// + /// + /// + /// + public Android.Util.ArrayMap CreateTypedArrayMap(Android.Os.Parcelable.Creator arg0) where T : Android.Os.IParcelable, new() + { + return IExecuteWithSignature>("createTypedArrayMap", "(Landroid/os/Parcelable$Creator;)Landroid/util/ArrayMap;", arg0); + } + /// + /// + /// + /// + /// + /// + public Android.Util.SparseArray CreateTypedSparseArray(Android.Os.Parcelable.Creator arg0) where T : Android.Os.IParcelable, new() + { + return IExecuteWithSignature>("createTypedSparseArray", "(Landroid/os/Parcelable$Creator;)Landroid/util/SparseArray;", arg0); + } + /// + /// + /// + /// + /// + /// + /// + [global::System.Obsolete()] + public Java.Util.List ReadParcelableList(Java.Util.List arg0, Java.Lang.ClassLoader arg1) where T : Android.Os.IParcelable, new() + { + return IExecute>("readParcelableList", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + [global::System.Obsolete()] + public T ReadParcelable(Java.Lang.ClassLoader arg0) where T : Android.Os.IParcelable, new() + { + return IExecuteWithSignature("readParcelable", "(Ljava/lang/ClassLoader;)Landroid/os/Parcelable;", arg0); + } + /// + /// + /// + /// + /// + /// + public void WriteParcelableArray(T[] arg0, int arg1) where T : Android.Os.IParcelable, new() + { + IExecute("writeParcelableArray", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + public void WriteParcelableList(Java.Util.List arg0, int arg1) where T : Android.Os.IParcelable, new() + { + IExecute("writeParcelableList", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + public void WriteTypedArray(T[] arg0, int arg1) where T : Android.Os.IParcelable, new() + { + IExecute("writeTypedArray", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + public void WriteTypedArrayMap(Android.Util.ArrayMap arg0, int arg1) where T : Android.Os.IParcelable, new() + { + IExecute("writeTypedArrayMap", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + public void WriteTypedList(Java.Util.List arg0, int arg1) where T : Android.Os.IParcelable, new() + { + IExecute("writeTypedList", arg0, arg1); + } + /// + /// + /// + /// + /// + public void WriteTypedList(Java.Util.List arg0) where T : Android.Os.IParcelable, new() + { + IExecuteWithSignature("writeTypedList", "(Ljava/util/List;)V", arg0); + } + /// + /// + /// + /// + /// + /// + public void WriteTypedObject(T arg0, int arg1) where T : Android.Os.IParcelable, new() + { + IExecute("writeTypedObject", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + public void WriteTypedSparseArray(Android.Util.SparseArray arg0, int arg1) where T : Android.Os.IParcelable, new() + { + IExecute("writeTypedSparseArray", arg0, arg1); } /// /// @@ -123,24 +291,37 @@ public void ReadMap(Java.Util.Map("createFixedArray", arg0, arg1); else return IExecute("createFixedArray", arg0, arg1, arg2); } /// - /// + /// /// /// + /// + /// + /// + public void ReadFixedArray(T arg0, Java.Util.Function.Function arg1) where S : Android.Os.IIInterface, new() + { + IExecute("readFixedArray", arg0, arg1); + } + /// + /// + /// + /// /// + /// /// /// - public void ReadFixedArray(T arg0, Android.Os.Parcelable.Creator arg1) where S : Android.Os.IParcelable, new() + /// + public T CreateFixedArray(Java.Lang.Class arg0, Android.Os.Parcelable.Creator arg1, params int[] arg2) where S : Android.Os.IParcelable, new() { - IExecute("readFixedArray", arg0, arg1); + if (arg2.Length == 0) return IExecute("createFixedArray", arg0, arg1); else return IExecute("createFixedArray", arg0, arg1, arg2); } /// - /// + /// /// /// - /// + /// /// - /// - public void ReadFixedArray(T arg0, Java.Util.Function.Function arg1) where S : Android.Os.IIInterface, new() + /// + public void ReadFixedArray(T arg0, Android.Os.Parcelable.Creator arg1) where S : Android.Os.IParcelable, new() { IExecute("readFixedArray", arg0, arg1); } @@ -156,26 +337,6 @@ public Android.Os.Parcelable.Creator ReadParcelableCreator(Java.Lang.Class return IExecute>("readParcelableCreator", arg0, arg1); } /// - /// - /// - /// - /// - /// - public Android.Util.ArrayMap CreateTypedArrayMap(Android.Os.Parcelable.Creator arg0) where T : Android.Os.IParcelable, new() - { - return IExecute>("createTypedArrayMap", arg0); - } - /// - /// - /// - /// - /// - /// - public Android.Util.SparseArray CreateTypedSparseArray(Android.Os.Parcelable.Creator arg0) where T : Android.Os.IParcelable, new() - { - return IExecute>("createTypedSparseArray", arg0); - } - /// /// /// /// @@ -198,16 +359,6 @@ public Android.Util.SparseArray ReadSparseArray(Java.Lang.ClassLoader arg0 return IExecuteWithSignature>("readSparseArray", "(Ljava/lang/ClassLoader;)Landroid/util/SparseArray;", arg0); } /// - /// - /// - /// - /// - /// - public Java.Util.ArrayList CreateInterfaceArrayList(Java.Util.Function.Function arg0) where T : Android.Os.IIInterface, new() - { - return IExecute>("createInterfaceArrayList", arg0); - } - /// /// /// /// @@ -241,18 +392,6 @@ public Java.Util.List ReadParcelableList(Java.Util.List arg0, Java.Lang return IExecute>("readParcelableList", arg0, arg1, arg2); } /// - /// - /// - /// - /// - /// - /// - [global::System.Obsolete()] - public Java.Util.List ReadParcelableList(Java.Util.List arg0, Java.Lang.ClassLoader arg1) where T : Android.Os.IParcelable, new() - { - return IExecute>("readParcelableList", arg0, arg1); - } - /// /// /// /// @@ -275,17 +414,6 @@ public T ReadParcelable(Java.Lang.ClassLoader arg0, Java.Lang.Class arg1) return IExecute("readParcelable", arg0, arg1); } /// - /// - /// - /// - /// - /// - [global::System.Obsolete()] - public T ReadParcelable(Java.Lang.ClassLoader arg0) where T : Android.Os.IParcelable, new() - { - return IExecute("readParcelable", arg0); - } - /// /// /// /// @@ -307,17 +435,6 @@ public T ReadTypedObject(Android.Os.Parcelable.Creator arg0) return IExecuteWithSignature("readTypedObject", "(Landroid/os/Parcelable$Creator;)Ljava/lang/Object;", arg0); } /// - /// - /// - /// - /// - /// - /// - public T[] CreateInterfaceArray(Java.Util.Function.IntFunction arg0, Java.Util.Function.Function arg1) where T : Android.Os.IIInterface, new() - { - return IExecuteArray("createInterfaceArray", arg0, arg1); - } - /// /// /// /// @@ -359,26 +476,6 @@ public void ReadFixedArray(T arg0) IExecuteWithSignature("readFixedArray", "(Ljava/lang/Object;)V", arg0); } /// - /// - /// - /// - /// - /// - public void ReadInterfaceArray(T[] arg0, Java.Util.Function.Function arg1) where T : Android.Os.IIInterface, new() - { - IExecute("readInterfaceArray", arg0, arg1); - } - /// - /// - /// - /// - /// - /// - public void ReadInterfaceList(Java.Util.List arg0, Java.Util.Function.Function arg1) where T : Android.Os.IIInterface, new() - { - IExecute("readInterfaceList", arg0, arg1); - } - /// /// /// /// @@ -422,44 +519,6 @@ public void WriteFixedArray(T arg0, int arg1, params int[] arg2) if (arg2.Length == 0) IExecute("writeFixedArray", arg0, arg1); else IExecute("writeFixedArray", arg0, arg1, arg2); } /// - /// - /// - /// - /// - public void WriteInterfaceArray(T[] arg0) where T : Android.Os.IIInterface, new() - { - IExecute("writeInterfaceArray", new object[] { arg0 }); - } - /// - /// - /// - /// - /// - public void WriteInterfaceList(Java.Util.List arg0) where T : Android.Os.IIInterface, new() - { - IExecute("writeInterfaceList", arg0); - } - /// - /// - /// - /// - /// - /// - public void WriteParcelableArray(T[] arg0, int arg1) where T : Android.Os.IParcelable, new() - { - IExecute("writeParcelableArray", arg0, arg1); - } - /// - /// - /// - /// - /// - /// - public void WriteParcelableList(Java.Util.List arg0, int arg1) where T : Android.Os.IParcelable, new() - { - IExecute("writeParcelableList", arg0, arg1); - } - /// /// /// /// @@ -469,65 +528,6 @@ public void WriteSparseArray(Android.Util.SparseArray arg0) IExecuteWithSignature("writeSparseArray", "(Landroid/util/SparseArray;)V", arg0); } /// - /// - /// - /// - /// - /// - public void WriteTypedArray(T[] arg0, int arg1) where T : Android.Os.IParcelable, new() - { - IExecute("writeTypedArray", arg0, arg1); - } - /// - /// - /// - /// - /// - /// - public void WriteTypedArrayMap(Android.Util.ArrayMap arg0, int arg1) where T : Android.Os.IParcelable, new() - { - IExecute("writeTypedArrayMap", arg0, arg1); - } - /// - /// - /// - /// - /// - /// - public void WriteTypedList(Java.Util.List arg0, int arg1) where T : Android.Os.IParcelable, new() - { - IExecute("writeTypedList", arg0, arg1); - } - /// - /// - /// - /// - /// - public void WriteTypedList(Java.Util.List arg0) where T : Android.Os.IParcelable, new() - { - IExecute("writeTypedList", arg0); - } - /// - /// - /// - /// - /// - /// - public void WriteTypedObject(T arg0, int arg1) where T : Android.Os.IParcelable, new() - { - IExecute("writeTypedObject", arg0, arg1); - } - /// - /// - /// - /// - /// - /// - public void WriteTypedSparseArray(Android.Util.SparseArray arg0, int arg1) where T : Android.Os.IParcelable, new() - { - IExecute("writeTypedSparseArray", arg0, arg1); - } - /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Service/Dreams/DreamService.cs b/src/net/Netdroid/Generated/Android/Service/Dreams/DreamService.cs index aefc5a756..9ad0930f4 100644 --- a/src/net/Netdroid/Generated/Android/Service/Dreams/DreamService.cs +++ b/src/net/Netdroid/Generated/Android/Service/Dreams/DreamService.cs @@ -65,7 +65,7 @@ public partial class DreamService /// public T FindViewById(int arg0) where T : Android.View.View { - return IExecute("findViewById", arg0); + return IExecuteWithSignature("findViewById", "(I)Landroid/view/View;", arg0); } /// /// @@ -255,7 +255,7 @@ public bool OnSearchRequested(Android.View.SearchEvent arg0) /// public T RequireViewById(int arg0) where T : Android.View.View { - return IExecute("requireViewById", arg0); + return IExecuteWithSignature("requireViewById", "(I)Landroid/view/View;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Android/Telephony/SignalStrength.cs b/src/net/Netdroid/Generated/Android/Telephony/SignalStrength.cs index ffe0da217..09a4d1b15 100644 --- a/src/net/Netdroid/Generated/Android/Telephony/SignalStrength.cs +++ b/src/net/Netdroid/Generated/Android/Telephony/SignalStrength.cs @@ -73,7 +73,7 @@ public SignalStrength(Android.Telephony.SignalStrength arg0) /// public Java.Util.List GetCellSignalStrengths(Java.Lang.Class arg0) where T : Android.Telephony.CellSignalStrength { - return IExecute>("getCellSignalStrengths", arg0); + return IExecuteWithSignature>("getCellSignalStrengths", "(Ljava/lang/Class;)Ljava/util/List;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Android/View/View.cs b/src/net/Netdroid/Generated/Android/View/View.cs index 4fb88f1e5..92d20da62 100644 --- a/src/net/Netdroid/Generated/Android/View/View.cs +++ b/src/net/Netdroid/Generated/Android/View/View.cs @@ -2572,7 +2572,7 @@ public bool WillNotDraw() /// public T FindViewById(int arg0) where T : Android.View.View { - return IExecute("findViewById", arg0); + return IExecuteWithSignature("findViewById", "(I)Landroid/view/View;", arg0); } /// /// @@ -2582,7 +2582,7 @@ public T FindViewById(int arg0) where T : Android.View.View /// public T FindViewWithTag(object arg0) where T : Android.View.View { - return IExecute("findViewWithTag", arg0); + return IExecuteWithSignature("findViewWithTag", "(Ljava/lang/Object;)Landroid/view/View;", arg0); } /// /// @@ -2592,7 +2592,7 @@ public T FindViewWithTag(object arg0) where T : Android.View.View /// public T RequireViewById(int arg0) where T : Android.View.View { - return IExecute("requireViewById", arg0); + return IExecuteWithSignature("requireViewById", "(I)Landroid/view/View;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Android/View/Window.cs b/src/net/Netdroid/Generated/Android/View/Window.cs index dca7165d6..f8b8d4687 100644 --- a/src/net/Netdroid/Generated/Android/View/Window.cs +++ b/src/net/Netdroid/Generated/Android/View/Window.cs @@ -249,7 +249,7 @@ public static int GetDefaultFeatures(Android.Content.Context arg0) /// public T FindViewById(int arg0) where T : Android.View.View { - return IExecute("findViewById", arg0); + return IExecuteWithSignature("findViewById", "(I)Landroid/view/View;", arg0); } /// /// @@ -848,7 +848,7 @@ public bool RequestFeature(int arg0) /// public T RequireViewById(int arg0) where T : Android.View.View { - return IExecute("requireViewById", arg0); + return IExecuteWithSignature("requireViewById", "(I)Landroid/view/View;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Android/Widget/AdapterView.cs b/src/net/Netdroid/Generated/Android/Widget/AdapterView.cs index 236e6c47e..147902457 100644 --- a/src/net/Netdroid/Generated/Android/Widget/AdapterView.cs +++ b/src/net/Netdroid/Generated/Android/Widget/AdapterView.cs @@ -836,6 +836,14 @@ public T GetAdapter() return IExecuteWithSignature("getAdapter", "()Landroid/widget/Adapter;"); } /// + /// + /// + /// + public T GetAdapterDirect() + { + return IExecuteWithSignature("getAdapter", "()Landroid/widget/Adapter;"); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Android/Widget/AutoCompleteTextView.cs b/src/net/Netdroid/Generated/Android/Widget/AutoCompleteTextView.cs index e0afc4eaf..5a897c00f 100644 --- a/src/net/Netdroid/Generated/Android/Widget/AutoCompleteTextView.cs +++ b/src/net/Netdroid/Generated/Android/Widget/AutoCompleteTextView.cs @@ -100,9 +100,9 @@ public AutoCompleteTextView(Android.Content.Context arg0) /// /// /// - public void SetAdapter(T arg0) where T : Android.Widget.IListAdapter, Android.Widget.IFilterable, new() + public void SetAdapter(T arg0) where T : Android.Widget.IListAdapter, new(), Android.Widget.IFilterable, new() { - IExecute("setAdapter", arg0); + IExecuteWithSignature("setAdapter", "(Landroid/widget/ListAdapter;)V", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Java/Io/AllPackageClasses.cs b/src/net/Netdroid/Generated/Java/Io/AllPackageClasses.cs index cbdf1da06..0aba20012 100644 --- a/src/net/Netdroid/Generated/Java/Io/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Java/Io/AllPackageClasses.cs @@ -2731,6 +2731,52 @@ public SequenceInputStream(params object[] args) : base(args) { } } #endregion + #region Serial + /// + /// + /// + public partial class Serial : Java.Lang.Annotation.Annotation + { + const string _bridgeClassName = "java.io.Serial"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [global::System.Obsolete("Serial class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public Serial() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [global::System.Obsolete("Serial class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public Serial(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region Serializable /// /// diff --git a/src/net/Netdroid/Generated/Java/Io/Console.cs b/src/net/Netdroid/Generated/Java/Io/Console.cs index 6a40cdb90..acfeaf2d6 100644 --- a/src/net/Netdroid/Generated/Java/Io/Console.cs +++ b/src/net/Netdroid/Generated/Java/Io/Console.cs @@ -118,6 +118,14 @@ public Java.Lang.String ReadLine(Java.Lang.String arg0, params object[] arg1) if (arg1.Length == 0) return IExecute("readLine", arg0); else return IExecute("readLine", arg0, arg1); } /// + /// + /// + /// + public Java.Nio.Charset.Charset Charset() + { + return IExecuteWithSignature("charset", "()Ljava/nio/charset/Charset;"); + } + /// /// /// public void Flush() diff --git a/src/net/Netdroid/Generated/Java/Io/FileDescriptor.cs b/src/net/Netdroid/Generated/Java/Io/FileDescriptor.cs index ff326f146..bc7ac29d5 100644 --- a/src/net/Netdroid/Generated/Java/Io/FileDescriptor.cs +++ b/src/net/Netdroid/Generated/Java/Io/FileDescriptor.cs @@ -77,7 +77,7 @@ public bool Valid() /// public void Sync() { - IExecute("sync"); + IExecuteWithSignature("sync", "()V"); } #endregion diff --git a/src/net/Netdroid/Generated/Java/Io/InputStream.cs b/src/net/Netdroid/Generated/Java/Io/InputStream.cs index d9cc9ce74..82e065857 100644 --- a/src/net/Netdroid/Generated/Java/Io/InputStream.cs +++ b/src/net/Netdroid/Generated/Java/Io/InputStream.cs @@ -158,7 +158,7 @@ public long TransferTo(Java.Io.OutputStream arg0) /// public void Mark(int arg0) { - IExecute("mark", arg0); + IExecuteWithSignature("mark", "(I)V", arg0); } /// /// @@ -166,7 +166,7 @@ public void Mark(int arg0) /// public void Reset() { - IExecute("reset"); + IExecuteWithSignature("reset", "()V"); } /// /// @@ -176,6 +176,15 @@ public void Close() { IExecuteWithSignature("close", "()V"); } + /// + /// + /// + /// + /// + public void SkipNBytes(long arg0) + { + IExecuteWithSignature("skipNBytes", "(J)V", arg0); + } #endregion diff --git a/src/net/Netdroid/Generated/Java/Io/PrintStream.cs b/src/net/Netdroid/Generated/Java/Io/PrintStream.cs index 7000f653b..59b8aff70 100644 --- a/src/net/Netdroid/Generated/Java/Io/PrintStream.cs +++ b/src/net/Netdroid/Generated/Java/Io/PrintStream.cs @@ -384,6 +384,14 @@ public void Println(long arg0) { IExecuteWithSignature("println", "(J)V", arg0); } + /// + /// + /// + /// + public void WriteBytes(byte[] arg0) + { + IExecuteWithSignature("writeBytes", "([B)V", new object[] { arg0 }); + } #endregion diff --git a/src/net/Netdroid/Generated/Java/Io/RandomAccessFile.cs b/src/net/Netdroid/Generated/Java/Io/RandomAccessFile.cs index b6fc9040e..36b36ae48 100644 --- a/src/net/Netdroid/Generated/Java/Io/RandomAccessFile.cs +++ b/src/net/Netdroid/Generated/Java/Io/RandomAccessFile.cs @@ -378,7 +378,7 @@ public long GetFilePointer() /// public long Length() { - return IExecute("length"); + return IExecuteWithSignature("length", "()J"); } /// /// @@ -387,7 +387,7 @@ public long Length() /// public void SetLength(long arg0) { - IExecute("setLength", arg0); + IExecuteWithSignature("setLength", "(J)V", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Java/Security/Acl/Permission.cs b/src/net/Netdroid/Generated/Java/Io/Serial.cs similarity index 88% rename from src/net/Netdroid/Generated/Java/Security/Acl/Permission.cs rename to src/net/Netdroid/Generated/Java/Io/Serial.cs index 52dfaa36c..f91c8958f 100644 --- a/src/net/Netdroid/Generated/Java/Security/Acl/Permission.cs +++ b/src/net/Netdroid/Generated/Java/Io/Serial.cs @@ -23,13 +23,13 @@ using MASES.JCOBridge.C2JBridge; -namespace Java.Security.Acl +namespace Java.Io { - #region IPermission + #region ISerial /// /// .NET interface for TO BE DEFINED FROM USER /// - public partial interface IPermission + public partial interface ISerial : Java.Lang.Annotation.IAnnotation { #region Instance methods @@ -43,8 +43,8 @@ public partial interface IPermission } #endregion - #region Permission - public partial class Permission : Java.Security.Acl.IPermission + #region Serial + public partial class Serial : Java.Io.ISerial { #region Constructors diff --git a/src/net/Netdroid/Generated/Java/Lang/AllPackageClasses.cs b/src/net/Netdroid/Generated/Java/Lang/AllPackageClasses.cs index b7c9484c0..12617c5ef 100644 --- a/src/net/Netdroid/Generated/Java/Lang/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Java/Lang/AllPackageClasses.cs @@ -1744,6 +1744,52 @@ public Readable(params object[] args) : base(args) { } } #endregion + #region Record + /// + /// + /// + public partial class Record : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "java.lang.Record"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [global::System.Obsolete("Record class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public Record() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [global::System.Obsolete("Record class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public Record(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region Runnable /// /// @@ -1928,6 +1974,7 @@ public SafeVarargs(params object[] args) : base(args) { } /// /// /// + [global::System.Obsolete()] public partial class SecurityManager : MASES.JCOBridge.C2JBridge.JVMBridgeBase { const string _bridgeClassName = "java.lang.SecurityManager"; diff --git a/src/net/Netdroid/Generated/Java/Lang/Annotation/ElementType.cs b/src/net/Netdroid/Generated/Java/Lang/Annotation/ElementType.cs index 7d86253c6..3644cafc5 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Annotation/ElementType.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Annotation/ElementType.cs @@ -86,6 +86,12 @@ public partial class ElementType private static Java.Lang.Annotation.ElementType _PARAMETERContent = default; private static bool _PARAMETERReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Annotation.ElementType RECORD_COMPONENT { get { if (!_RECORD_COMPONENTReady) { _RECORD_COMPONENTContent = SGetField(LocalBridgeClazz, "RECORD_COMPONENT"); _RECORD_COMPONENTReady = true; } return _RECORD_COMPONENTContent; } } + private static Java.Lang.Annotation.ElementType _RECORD_COMPONENTContent = default; + private static bool _RECORD_COMPONENTReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Annotation.ElementType TYPE { get { if (!_TYPEReady) { _TYPEContent = SGetField(LocalBridgeClazz, "TYPE"); _TYPEReady = true; } return _TYPEContent; } } diff --git a/src/net/Netdroid/Generated/Java/Lang/Byte.cs b/src/net/Netdroid/Generated/Java/Lang/Byte.cs index 839ad1a86..9939b799d 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Byte.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Byte.cs @@ -26,7 +26,7 @@ namespace Java.Lang { #region Byte - public partial class Byte + public partial class Byte : Java.Lang.IComparable { #region Constructors /// diff --git a/src/net/Netdroid/Generated/Java/Lang/CharSequence.cs b/src/net/Netdroid/Generated/Java/Lang/CharSequence.cs index 4495f3458..3c8c1eb7a 100644 --- a/src/net/Netdroid/Generated/Java/Lang/CharSequence.cs +++ b/src/net/Netdroid/Generated/Java/Lang/CharSequence.cs @@ -101,6 +101,14 @@ public Java.Lang.CharSequence SubSequence(int arg0, int arg1) return IExecute("subSequence", arg0, arg1); } /// + /// + /// + /// + public bool IsEmpty() + { + return IExecuteWithSignature("isEmpty", "()Z"); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Lang/Character.cs b/src/net/Netdroid/Generated/Java/Lang/Character.cs index 794579638..17adf541c 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Character.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Character.cs @@ -1578,6 +1578,18 @@ public partial class UnicodeBlock private static Java.Lang.Character.UnicodeBlock _CHEROKEE_SUPPLEMENTContent = default; private static bool _CHEROKEE_SUPPLEMENTReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeBlock CHESS_SYMBOLS { get { if (!_CHESS_SYMBOLSReady) { _CHESS_SYMBOLSContent = SGetField(LocalBridgeClazz, "CHESS_SYMBOLS"); _CHESS_SYMBOLSReady = true; } return _CHESS_SYMBOLSContent; } } + private static Java.Lang.Character.UnicodeBlock _CHESS_SYMBOLSContent = default; + private static bool _CHESS_SYMBOLSReady = false; // this is used because in case of generics + /// + /// + /// + public static Java.Lang.Character.UnicodeBlock CHORASMIAN { get { if (!_CHORASMIANReady) { _CHORASMIANContent = SGetField(LocalBridgeClazz, "CHORASMIAN"); _CHORASMIANReady = true; } return _CHORASMIANContent; } } + private static Java.Lang.Character.UnicodeBlock _CHORASMIANContent = default; + private static bool _CHORASMIANReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeBlock CJK_COMPATIBILITY { get { if (!_CJK_COMPATIBILITYReady) { _CJK_COMPATIBILITYContent = SGetField(LocalBridgeClazz, "CJK_COMPATIBILITY"); _CJK_COMPATIBILITYReady = true; } return _CJK_COMPATIBILITYContent; } } @@ -1662,6 +1674,12 @@ public partial class UnicodeBlock private static Java.Lang.Character.UnicodeBlock _CJK_UNIFIED_IDEOGRAPHS_EXTENSION_FContent = default; private static bool _CJK_UNIFIED_IDEOGRAPHS_EXTENSION_FReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeBlock CJK_UNIFIED_IDEOGRAPHS_EXTENSION_G { get { if (!_CJK_UNIFIED_IDEOGRAPHS_EXTENSION_GReady) { _CJK_UNIFIED_IDEOGRAPHS_EXTENSION_GContent = SGetField(LocalBridgeClazz, "CJK_UNIFIED_IDEOGRAPHS_EXTENSION_G"); _CJK_UNIFIED_IDEOGRAPHS_EXTENSION_GReady = true; } return _CJK_UNIFIED_IDEOGRAPHS_EXTENSION_GContent; } } + private static Java.Lang.Character.UnicodeBlock _CJK_UNIFIED_IDEOGRAPHS_EXTENSION_GContent = default; + private static bool _CJK_UNIFIED_IDEOGRAPHS_EXTENSION_GReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeBlock COMBINING_DIACRITICAL_MARKS { get { if (!_COMBINING_DIACRITICAL_MARKSReady) { _COMBINING_DIACRITICAL_MARKSContent = SGetField(LocalBridgeClazz, "COMBINING_DIACRITICAL_MARKS"); _COMBINING_DIACRITICAL_MARKSReady = true; } return _COMBINING_DIACRITICAL_MARKSContent; } } @@ -1800,6 +1818,18 @@ public partial class UnicodeBlock private static Java.Lang.Character.UnicodeBlock _DINGBATSContent = default; private static bool _DINGBATSReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeBlock DIVES_AKURU { get { if (!_DIVES_AKURUReady) { _DIVES_AKURUContent = SGetField(LocalBridgeClazz, "DIVES_AKURU"); _DIVES_AKURUReady = true; } return _DIVES_AKURUContent; } } + private static Java.Lang.Character.UnicodeBlock _DIVES_AKURUContent = default; + private static bool _DIVES_AKURUReady = false; // this is used because in case of generics + /// + /// + /// + public static Java.Lang.Character.UnicodeBlock DOGRA { get { if (!_DOGRAReady) { _DOGRAContent = SGetField(LocalBridgeClazz, "DOGRA"); _DOGRAReady = true; } return _DOGRAContent; } } + private static Java.Lang.Character.UnicodeBlock _DOGRAContent = default; + private static bool _DOGRAReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeBlock DOMINO_TILES { get { if (!_DOMINO_TILESReady) { _DOMINO_TILESContent = SGetField(LocalBridgeClazz, "DOMINO_TILES"); _DOMINO_TILESReady = true; } return _DOMINO_TILESContent; } } @@ -1818,6 +1848,12 @@ public partial class UnicodeBlock private static Java.Lang.Character.UnicodeBlock _EARLY_DYNASTIC_CUNEIFORMContent = default; private static bool _EARLY_DYNASTIC_CUNEIFORMReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeBlock EGYPTIAN_HIEROGLYPH_FORMAT_CONTROLS { get { if (!_EGYPTIAN_HIEROGLYPH_FORMAT_CONTROLSReady) { _EGYPTIAN_HIEROGLYPH_FORMAT_CONTROLSContent = SGetField(LocalBridgeClazz, "EGYPTIAN_HIEROGLYPH_FORMAT_CONTROLS"); _EGYPTIAN_HIEROGLYPH_FORMAT_CONTROLSReady = true; } return _EGYPTIAN_HIEROGLYPH_FORMAT_CONTROLSContent; } } + private static Java.Lang.Character.UnicodeBlock _EGYPTIAN_HIEROGLYPH_FORMAT_CONTROLSContent = default; + private static bool _EGYPTIAN_HIEROGLYPH_FORMAT_CONTROLSReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeBlock EGYPTIAN_HIEROGLYPHS { get { if (!_EGYPTIAN_HIEROGLYPHSReady) { _EGYPTIAN_HIEROGLYPHSContent = SGetField(LocalBridgeClazz, "EGYPTIAN_HIEROGLYPHS"); _EGYPTIAN_HIEROGLYPHSReady = true; } return _EGYPTIAN_HIEROGLYPHSContent; } } @@ -1830,6 +1866,12 @@ public partial class UnicodeBlock private static Java.Lang.Character.UnicodeBlock _ELBASANContent = default; private static bool _ELBASANReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeBlock ELYMAIC { get { if (!_ELYMAICReady) { _ELYMAICContent = SGetField(LocalBridgeClazz, "ELYMAIC"); _ELYMAICReady = true; } return _ELYMAICContent; } } + private static Java.Lang.Character.UnicodeBlock _ELYMAICContent = default; + private static bool _ELYMAICReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeBlock EMOTICONS { get { if (!_EMOTICONSReady) { _EMOTICONSContent = SGetField(LocalBridgeClazz, "EMOTICONS"); _EMOTICONSReady = true; } return _EMOTICONSContent; } } @@ -1908,6 +1950,12 @@ public partial class UnicodeBlock private static Java.Lang.Character.UnicodeBlock _GEORGIANContent = default; private static bool _GEORGIANReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeBlock GEORGIAN_EXTENDED { get { if (!_GEORGIAN_EXTENDEDReady) { _GEORGIAN_EXTENDEDContent = SGetField(LocalBridgeClazz, "GEORGIAN_EXTENDED"); _GEORGIAN_EXTENDEDReady = true; } return _GEORGIAN_EXTENDEDContent; } } + private static Java.Lang.Character.UnicodeBlock _GEORGIAN_EXTENDEDContent = default; + private static bool _GEORGIAN_EXTENDEDReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeBlock GEORGIAN_SUPPLEMENT { get { if (!_GEORGIAN_SUPPLEMENTReady) { _GEORGIAN_SUPPLEMENTContent = SGetField(LocalBridgeClazz, "GEORGIAN_SUPPLEMENT"); _GEORGIAN_SUPPLEMENTReady = true; } return _GEORGIAN_SUPPLEMENTContent; } } @@ -1956,6 +2004,12 @@ public partial class UnicodeBlock private static Java.Lang.Character.UnicodeBlock _GUJARATIContent = default; private static bool _GUJARATIReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeBlock GUNJALA_GONDI { get { if (!_GUNJALA_GONDIReady) { _GUNJALA_GONDIContent = SGetField(LocalBridgeClazz, "GUNJALA_GONDI"); _GUNJALA_GONDIReady = true; } return _GUNJALA_GONDIContent; } } + private static Java.Lang.Character.UnicodeBlock _GUNJALA_GONDIContent = default; + private static bool _GUNJALA_GONDIReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeBlock GURMUKHI { get { if (!_GURMUKHIReady) { _GURMUKHIContent = SGetField(LocalBridgeClazz, "GURMUKHI"); _GURMUKHIReady = true; } return _GURMUKHIContent; } } @@ -1998,6 +2052,12 @@ public partial class UnicodeBlock private static Java.Lang.Character.UnicodeBlock _HANGUL_SYLLABLESContent = default; private static bool _HANGUL_SYLLABLESReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeBlock HANIFI_ROHINGYA { get { if (!_HANIFI_ROHINGYAReady) { _HANIFI_ROHINGYAContent = SGetField(LocalBridgeClazz, "HANIFI_ROHINGYA"); _HANIFI_ROHINGYAReady = true; } return _HANIFI_ROHINGYAContent; } } + private static Java.Lang.Character.UnicodeBlock _HANIFI_ROHINGYAContent = default; + private static bool _HANIFI_ROHINGYAReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeBlock HANUNOO { get { if (!_HANUNOOReady) { _HANUNOOContent = SGetField(LocalBridgeClazz, "HANUNOO"); _HANUNOOReady = true; } return _HANUNOOContent; } } @@ -2052,6 +2112,12 @@ public partial class UnicodeBlock private static Java.Lang.Character.UnicodeBlock _IMPERIAL_ARAMAICContent = default; private static bool _IMPERIAL_ARAMAICReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeBlock INDIC_SIYAQ_NUMBERS { get { if (!_INDIC_SIYAQ_NUMBERSReady) { _INDIC_SIYAQ_NUMBERSContent = SGetField(LocalBridgeClazz, "INDIC_SIYAQ_NUMBERS"); _INDIC_SIYAQ_NUMBERSReady = true; } return _INDIC_SIYAQ_NUMBERSContent; } } + private static Java.Lang.Character.UnicodeBlock _INDIC_SIYAQ_NUMBERSContent = default; + private static bool _INDIC_SIYAQ_NUMBERSReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeBlock INSCRIPTIONAL_PAHLAVI { get { if (!_INSCRIPTIONAL_PAHLAVIReady) { _INSCRIPTIONAL_PAHLAVIContent = SGetField(LocalBridgeClazz, "INSCRIPTIONAL_PAHLAVI"); _INSCRIPTIONAL_PAHLAVIReady = true; } return _INSCRIPTIONAL_PAHLAVIContent; } } @@ -2136,6 +2202,12 @@ public partial class UnicodeBlock private static Java.Lang.Character.UnicodeBlock _KHAROSHTHIContent = default; private static bool _KHAROSHTHIReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeBlock KHITAN_SMALL_SCRIPT { get { if (!_KHITAN_SMALL_SCRIPTReady) { _KHITAN_SMALL_SCRIPTContent = SGetField(LocalBridgeClazz, "KHITAN_SMALL_SCRIPT"); _KHITAN_SMALL_SCRIPTReady = true; } return _KHITAN_SMALL_SCRIPTContent; } } + private static Java.Lang.Character.UnicodeBlock _KHITAN_SMALL_SCRIPTContent = default; + private static bool _KHITAN_SMALL_SCRIPTReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeBlock KHMER { get { if (!_KHMERReady) { _KHMERContent = SGetField(LocalBridgeClazz, "KHMER"); _KHMERReady = true; } return _KHMERContent; } } @@ -2250,6 +2322,12 @@ public partial class UnicodeBlock private static Java.Lang.Character.UnicodeBlock _LISUContent = default; private static bool _LISUReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeBlock LISU_SUPPLEMENT { get { if (!_LISU_SUPPLEMENTReady) { _LISU_SUPPLEMENTContent = SGetField(LocalBridgeClazz, "LISU_SUPPLEMENT"); _LISU_SUPPLEMENTReady = true; } return _LISU_SUPPLEMENTContent; } } + private static Java.Lang.Character.UnicodeBlock _LISU_SUPPLEMENTContent = default; + private static bool _LISU_SUPPLEMENTReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeBlock LOW_SURROGATES { get { if (!_LOW_SURROGATESReady) { _LOW_SURROGATESContent = SGetField(LocalBridgeClazz, "LOW_SURROGATES"); _LOW_SURROGATESReady = true; } return _LOW_SURROGATESContent; } } @@ -2280,6 +2358,12 @@ public partial class UnicodeBlock private static Java.Lang.Character.UnicodeBlock _MAHJONG_TILESContent = default; private static bool _MAHJONG_TILESReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeBlock MAKASAR { get { if (!_MAKASARReady) { _MAKASARContent = SGetField(LocalBridgeClazz, "MAKASAR"); _MAKASARReady = true; } return _MAKASARContent; } } + private static Java.Lang.Character.UnicodeBlock _MAKASARContent = default; + private static bool _MAKASARReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeBlock MALAYALAM { get { if (!_MALAYALAMReady) { _MALAYALAMContent = SGetField(LocalBridgeClazz, "MALAYALAM"); _MALAYALAMReady = true; } return _MALAYALAMContent; } } @@ -2322,6 +2406,18 @@ public partial class UnicodeBlock private static Java.Lang.Character.UnicodeBlock _MATHEMATICAL_OPERATORSContent = default; private static bool _MATHEMATICAL_OPERATORSReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeBlock MAYAN_NUMERALS { get { if (!_MAYAN_NUMERALSReady) { _MAYAN_NUMERALSContent = SGetField(LocalBridgeClazz, "MAYAN_NUMERALS"); _MAYAN_NUMERALSReady = true; } return _MAYAN_NUMERALSContent; } } + private static Java.Lang.Character.UnicodeBlock _MAYAN_NUMERALSContent = default; + private static bool _MAYAN_NUMERALSReady = false; // this is used because in case of generics + /// + /// + /// + public static Java.Lang.Character.UnicodeBlock MEDEFAIDRIN { get { if (!_MEDEFAIDRINReady) { _MEDEFAIDRINContent = SGetField(LocalBridgeClazz, "MEDEFAIDRIN"); _MEDEFAIDRINReady = true; } return _MEDEFAIDRINContent; } } + private static Java.Lang.Character.UnicodeBlock _MEDEFAIDRINContent = default; + private static bool _MEDEFAIDRINReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeBlock MEETEI_MAYEK { get { if (!_MEETEI_MAYEKReady) { _MEETEI_MAYEKContent = SGetField(LocalBridgeClazz, "MEETEI_MAYEK"); _MEETEI_MAYEKReady = true; } return _MEETEI_MAYEKContent; } } @@ -2460,6 +2556,12 @@ public partial class UnicodeBlock private static Java.Lang.Character.UnicodeBlock _NABATAEANContent = default; private static bool _NABATAEANReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeBlock NANDINAGARI { get { if (!_NANDINAGARIReady) { _NANDINAGARIContent = SGetField(LocalBridgeClazz, "NANDINAGARI"); _NANDINAGARIReady = true; } return _NANDINAGARIContent; } } + private static Java.Lang.Character.UnicodeBlock _NANDINAGARIContent = default; + private static bool _NANDINAGARIReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeBlock NEW_TAI_LUE { get { if (!_NEW_TAI_LUEReady) { _NEW_TAI_LUEContent = SGetField(LocalBridgeClazz, "NEW_TAI_LUE"); _NEW_TAI_LUEReady = true; } return _NEW_TAI_LUEContent; } } @@ -2490,6 +2592,12 @@ public partial class UnicodeBlock private static Java.Lang.Character.UnicodeBlock _NUSHUContent = default; private static bool _NUSHUReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeBlock NYIAKENG_PUACHUE_HMONG { get { if (!_NYIAKENG_PUACHUE_HMONGReady) { _NYIAKENG_PUACHUE_HMONGContent = SGetField(LocalBridgeClazz, "NYIAKENG_PUACHUE_HMONG"); _NYIAKENG_PUACHUE_HMONGReady = true; } return _NYIAKENG_PUACHUE_HMONGContent; } } + private static Java.Lang.Character.UnicodeBlock _NYIAKENG_PUACHUE_HMONGContent = default; + private static bool _NYIAKENG_PUACHUE_HMONGReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeBlock OGHAM { get { if (!_OGHAMReady) { _OGHAMContent = SGetField(LocalBridgeClazz, "OGHAM"); _OGHAMReady = true; } return _OGHAMContent; } } @@ -2532,6 +2640,12 @@ public partial class UnicodeBlock private static Java.Lang.Character.UnicodeBlock _OLD_PERSIANContent = default; private static bool _OLD_PERSIANReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeBlock OLD_SOGDIAN { get { if (!_OLD_SOGDIANReady) { _OLD_SOGDIANContent = SGetField(LocalBridgeClazz, "OLD_SOGDIAN"); _OLD_SOGDIANReady = true; } return _OLD_SOGDIANContent; } } + private static Java.Lang.Character.UnicodeBlock _OLD_SOGDIANContent = default; + private static bool _OLD_SOGDIANReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeBlock OLD_SOUTH_ARABIAN { get { if (!_OLD_SOUTH_ARABIANReady) { _OLD_SOUTH_ARABIANContent = SGetField(LocalBridgeClazz, "OLD_SOUTH_ARABIAN"); _OLD_SOUTH_ARABIANReady = true; } return _OLD_SOUTH_ARABIANContent; } } @@ -2574,6 +2688,12 @@ public partial class UnicodeBlock private static Java.Lang.Character.UnicodeBlock _OSMANYAContent = default; private static bool _OSMANYAReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeBlock OTTOMAN_SIYAQ_NUMBERS { get { if (!_OTTOMAN_SIYAQ_NUMBERSReady) { _OTTOMAN_SIYAQ_NUMBERSContent = SGetField(LocalBridgeClazz, "OTTOMAN_SIYAQ_NUMBERS"); _OTTOMAN_SIYAQ_NUMBERSReady = true; } return _OTTOMAN_SIYAQ_NUMBERSContent; } } + private static Java.Lang.Character.UnicodeBlock _OTTOMAN_SIYAQ_NUMBERSContent = default; + private static bool _OTTOMAN_SIYAQ_NUMBERSReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeBlock PAHAWH_HMONG { get { if (!_PAHAWH_HMONGReady) { _PAHAWH_HMONGContent = SGetField(LocalBridgeClazz, "PAHAWH_HMONG"); _PAHAWH_HMONGReady = true; } return _PAHAWH_HMONGContent; } } @@ -2712,6 +2832,18 @@ public partial class UnicodeBlock private static Java.Lang.Character.UnicodeBlock _SMALL_FORM_VARIANTSContent = default; private static bool _SMALL_FORM_VARIANTSReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeBlock SMALL_KANA_EXTENSION { get { if (!_SMALL_KANA_EXTENSIONReady) { _SMALL_KANA_EXTENSIONContent = SGetField(LocalBridgeClazz, "SMALL_KANA_EXTENSION"); _SMALL_KANA_EXTENSIONReady = true; } return _SMALL_KANA_EXTENSIONContent; } } + private static Java.Lang.Character.UnicodeBlock _SMALL_KANA_EXTENSIONContent = default; + private static bool _SMALL_KANA_EXTENSIONReady = false; // this is used because in case of generics + /// + /// + /// + public static Java.Lang.Character.UnicodeBlock SOGDIAN { get { if (!_SOGDIANReady) { _SOGDIANContent = SGetField(LocalBridgeClazz, "SOGDIAN"); _SOGDIANReady = true; } return _SOGDIANContent; } } + private static Java.Lang.Character.UnicodeBlock _SOGDIANContent = default; + private static bool _SOGDIANReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeBlock SORA_SOMPENG { get { if (!_SORA_SOMPENGReady) { _SORA_SOMPENGContent = SGetField(LocalBridgeClazz, "SORA_SOMPENG"); _SORA_SOMPENGReady = true; } return _SORA_SOMPENGContent; } } @@ -2821,6 +2953,18 @@ public partial class UnicodeBlock private static Java.Lang.Character.UnicodeBlock _SYLOTI_NAGRIContent = default; private static bool _SYLOTI_NAGRIReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeBlock SYMBOLS_AND_PICTOGRAPHS_EXTENDED_A { get { if (!_SYMBOLS_AND_PICTOGRAPHS_EXTENDED_AReady) { _SYMBOLS_AND_PICTOGRAPHS_EXTENDED_AContent = SGetField(LocalBridgeClazz, "SYMBOLS_AND_PICTOGRAPHS_EXTENDED_A"); _SYMBOLS_AND_PICTOGRAPHS_EXTENDED_AReady = true; } return _SYMBOLS_AND_PICTOGRAPHS_EXTENDED_AContent; } } + private static Java.Lang.Character.UnicodeBlock _SYMBOLS_AND_PICTOGRAPHS_EXTENDED_AContent = default; + private static bool _SYMBOLS_AND_PICTOGRAPHS_EXTENDED_AReady = false; // this is used because in case of generics + /// + /// + /// + public static Java.Lang.Character.UnicodeBlock SYMBOLS_FOR_LEGACY_COMPUTING { get { if (!_SYMBOLS_FOR_LEGACY_COMPUTINGReady) { _SYMBOLS_FOR_LEGACY_COMPUTINGContent = SGetField(LocalBridgeClazz, "SYMBOLS_FOR_LEGACY_COMPUTING"); _SYMBOLS_FOR_LEGACY_COMPUTINGReady = true; } return _SYMBOLS_FOR_LEGACY_COMPUTINGContent; } } + private static Java.Lang.Character.UnicodeBlock _SYMBOLS_FOR_LEGACY_COMPUTINGContent = default; + private static bool _SYMBOLS_FOR_LEGACY_COMPUTINGReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeBlock SYRIAC { get { if (!_SYRIACReady) { _SYRIACContent = SGetField(LocalBridgeClazz, "SYRIAC"); _SYRIACReady = true; } return _SYRIACContent; } } @@ -2887,6 +3031,12 @@ public partial class UnicodeBlock private static Java.Lang.Character.UnicodeBlock _TAMILContent = default; private static bool _TAMILReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeBlock TAMIL_SUPPLEMENT { get { if (!_TAMIL_SUPPLEMENTReady) { _TAMIL_SUPPLEMENTContent = SGetField(LocalBridgeClazz, "TAMIL_SUPPLEMENT"); _TAMIL_SUPPLEMENTReady = true; } return _TAMIL_SUPPLEMENTContent; } } + private static Java.Lang.Character.UnicodeBlock _TAMIL_SUPPLEMENTContent = default; + private static bool _TAMIL_SUPPLEMENTReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeBlock TANGUT { get { if (!_TANGUTReady) { _TANGUTContent = SGetField(LocalBridgeClazz, "TANGUT"); _TANGUTReady = true; } return _TANGUTContent; } } @@ -2899,6 +3049,12 @@ public partial class UnicodeBlock private static Java.Lang.Character.UnicodeBlock _TANGUT_COMPONENTSContent = default; private static bool _TANGUT_COMPONENTSReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeBlock TANGUT_SUPPLEMENT { get { if (!_TANGUT_SUPPLEMENTReady) { _TANGUT_SUPPLEMENTContent = SGetField(LocalBridgeClazz, "TANGUT_SUPPLEMENT"); _TANGUT_SUPPLEMENTReady = true; } return _TANGUT_SUPPLEMENTContent; } } + private static Java.Lang.Character.UnicodeBlock _TANGUT_SUPPLEMENTContent = default; + private static bool _TANGUT_SUPPLEMENTReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeBlock TELUGU { get { if (!_TELUGUReady) { _TELUGUContent = SGetField(LocalBridgeClazz, "TELUGU"); _TELUGUReady = true; } return _TELUGUContent; } } @@ -2989,12 +3145,24 @@ public partial class UnicodeBlock private static Java.Lang.Character.UnicodeBlock _VERTICAL_FORMSContent = default; private static bool _VERTICAL_FORMSReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeBlock WANCHO { get { if (!_WANCHOReady) { _WANCHOContent = SGetField(LocalBridgeClazz, "WANCHO"); _WANCHOReady = true; } return _WANCHOContent; } } + private static Java.Lang.Character.UnicodeBlock _WANCHOContent = default; + private static bool _WANCHOReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeBlock WARANG_CITI { get { if (!_WARANG_CITIReady) { _WARANG_CITIContent = SGetField(LocalBridgeClazz, "WARANG_CITI"); _WARANG_CITIReady = true; } return _WARANG_CITIContent; } } private static Java.Lang.Character.UnicodeBlock _WARANG_CITIContent = default; private static bool _WARANG_CITIReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeBlock YEZIDI { get { if (!_YEZIDIReady) { _YEZIDIContent = SGetField(LocalBridgeClazz, "YEZIDI"); _YEZIDIReady = true; } return _YEZIDIContent; } } + private static Java.Lang.Character.UnicodeBlock _YEZIDIContent = default; + private static bool _YEZIDIReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeBlock YI_RADICALS { get { if (!_YI_RADICALSReady) { _YI_RADICALSContent = SGetField(LocalBridgeClazz, "YI_RADICALS"); _YI_RADICALSReady = true; } return _YI_RADICALSContent; } } @@ -3215,6 +3383,12 @@ public partial class UnicodeScript private static Java.Lang.Character.UnicodeScript _CHEROKEEContent = default; private static bool _CHEROKEEReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeScript CHORASMIAN { get { if (!_CHORASMIANReady) { _CHORASMIANContent = SGetField(LocalBridgeClazz, "CHORASMIAN"); _CHORASMIANReady = true; } return _CHORASMIANContent; } } + private static Java.Lang.Character.UnicodeScript _CHORASMIANContent = default; + private static bool _CHORASMIANReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeScript COMMON { get { if (!_COMMONReady) { _COMMONContent = SGetField(LocalBridgeClazz, "COMMON"); _COMMONReady = true; } return _COMMONContent; } } @@ -3257,6 +3431,18 @@ public partial class UnicodeScript private static Java.Lang.Character.UnicodeScript _DEVANAGARIContent = default; private static bool _DEVANAGARIReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeScript DIVES_AKURU { get { if (!_DIVES_AKURUReady) { _DIVES_AKURUContent = SGetField(LocalBridgeClazz, "DIVES_AKURU"); _DIVES_AKURUReady = true; } return _DIVES_AKURUContent; } } + private static Java.Lang.Character.UnicodeScript _DIVES_AKURUContent = default; + private static bool _DIVES_AKURUReady = false; // this is used because in case of generics + /// + /// + /// + public static Java.Lang.Character.UnicodeScript DOGRA { get { if (!_DOGRAReady) { _DOGRAContent = SGetField(LocalBridgeClazz, "DOGRA"); _DOGRAReady = true; } return _DOGRAContent; } } + private static Java.Lang.Character.UnicodeScript _DOGRAContent = default; + private static bool _DOGRAReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeScript DUPLOYAN { get { if (!_DUPLOYANReady) { _DUPLOYANContent = SGetField(LocalBridgeClazz, "DUPLOYAN"); _DUPLOYANReady = true; } return _DUPLOYANContent; } } @@ -3275,6 +3461,12 @@ public partial class UnicodeScript private static Java.Lang.Character.UnicodeScript _ELBASANContent = default; private static bool _ELBASANReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeScript ELYMAIC { get { if (!_ELYMAICReady) { _ELYMAICContent = SGetField(LocalBridgeClazz, "ELYMAIC"); _ELYMAICReady = true; } return _ELYMAICContent; } } + private static Java.Lang.Character.UnicodeScript _ELYMAICContent = default; + private static bool _ELYMAICReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeScript ETHIOPIC { get { if (!_ETHIOPICReady) { _ETHIOPICContent = SGetField(LocalBridgeClazz, "ETHIOPIC"); _ETHIOPICReady = true; } return _ETHIOPICContent; } } @@ -3317,6 +3509,12 @@ public partial class UnicodeScript private static Java.Lang.Character.UnicodeScript _GUJARATIContent = default; private static bool _GUJARATIReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeScript GUNJALA_GONDI { get { if (!_GUNJALA_GONDIReady) { _GUNJALA_GONDIContent = SGetField(LocalBridgeClazz, "GUNJALA_GONDI"); _GUNJALA_GONDIReady = true; } return _GUNJALA_GONDIContent; } } + private static Java.Lang.Character.UnicodeScript _GUNJALA_GONDIContent = default; + private static bool _GUNJALA_GONDIReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeScript GURMUKHI { get { if (!_GURMUKHIReady) { _GURMUKHIContent = SGetField(LocalBridgeClazz, "GURMUKHI"); _GURMUKHIReady = true; } return _GURMUKHIContent; } } @@ -3335,6 +3533,12 @@ public partial class UnicodeScript private static Java.Lang.Character.UnicodeScript _HANGULContent = default; private static bool _HANGULReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeScript HANIFI_ROHINGYA { get { if (!_HANIFI_ROHINGYAReady) { _HANIFI_ROHINGYAContent = SGetField(LocalBridgeClazz, "HANIFI_ROHINGYA"); _HANIFI_ROHINGYAReady = true; } return _HANIFI_ROHINGYAContent; } } + private static Java.Lang.Character.UnicodeScript _HANIFI_ROHINGYAContent = default; + private static bool _HANIFI_ROHINGYAReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeScript HANUNOO { get { if (!_HANUNOOReady) { _HANUNOOContent = SGetField(LocalBridgeClazz, "HANUNOO"); _HANUNOOReady = true; } return _HANUNOOContent; } } @@ -3419,6 +3623,12 @@ public partial class UnicodeScript private static Java.Lang.Character.UnicodeScript _KHAROSHTHIContent = default; private static bool _KHAROSHTHIReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeScript KHITAN_SMALL_SCRIPT { get { if (!_KHITAN_SMALL_SCRIPTReady) { _KHITAN_SMALL_SCRIPTContent = SGetField(LocalBridgeClazz, "KHITAN_SMALL_SCRIPT"); _KHITAN_SMALL_SCRIPTReady = true; } return _KHITAN_SMALL_SCRIPTContent; } } + private static Java.Lang.Character.UnicodeScript _KHITAN_SMALL_SCRIPTContent = default; + private static bool _KHITAN_SMALL_SCRIPTReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeScript KHMER { get { if (!_KHMERReady) { _KHMERContent = SGetField(LocalBridgeClazz, "KHMER"); _KHMERReady = true; } return _KHMERContent; } } @@ -3497,6 +3707,12 @@ public partial class UnicodeScript private static Java.Lang.Character.UnicodeScript _MAHAJANIContent = default; private static bool _MAHAJANIReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeScript MAKASAR { get { if (!_MAKASARReady) { _MAKASARContent = SGetField(LocalBridgeClazz, "MAKASAR"); _MAKASARReady = true; } return _MAKASARContent; } } + private static Java.Lang.Character.UnicodeScript _MAKASARContent = default; + private static bool _MAKASARReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeScript MALAYALAM { get { if (!_MALAYALAMReady) { _MALAYALAMContent = SGetField(LocalBridgeClazz, "MALAYALAM"); _MALAYALAMReady = true; } return _MALAYALAMContent; } } @@ -3527,6 +3743,12 @@ public partial class UnicodeScript private static Java.Lang.Character.UnicodeScript _MASARAM_GONDIContent = default; private static bool _MASARAM_GONDIReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeScript MEDEFAIDRIN { get { if (!_MEDEFAIDRINReady) { _MEDEFAIDRINContent = SGetField(LocalBridgeClazz, "MEDEFAIDRIN"); _MEDEFAIDRINReady = true; } return _MEDEFAIDRINContent; } } + private static Java.Lang.Character.UnicodeScript _MEDEFAIDRINContent = default; + private static bool _MEDEFAIDRINReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeScript MEETEI_MAYEK { get { if (!_MEETEI_MAYEKReady) { _MEETEI_MAYEKContent = SGetField(LocalBridgeClazz, "MEETEI_MAYEK"); _MEETEI_MAYEKReady = true; } return _MEETEI_MAYEKContent; } } @@ -3593,6 +3815,12 @@ public partial class UnicodeScript private static Java.Lang.Character.UnicodeScript _NABATAEANContent = default; private static bool _NABATAEANReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeScript NANDINAGARI { get { if (!_NANDINAGARIReady) { _NANDINAGARIContent = SGetField(LocalBridgeClazz, "NANDINAGARI"); _NANDINAGARIReady = true; } return _NANDINAGARIContent; } } + private static Java.Lang.Character.UnicodeScript _NANDINAGARIContent = default; + private static bool _NANDINAGARIReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeScript NEW_TAI_LUE { get { if (!_NEW_TAI_LUEReady) { _NEW_TAI_LUEContent = SGetField(LocalBridgeClazz, "NEW_TAI_LUE"); _NEW_TAI_LUEReady = true; } return _NEW_TAI_LUEContent; } } @@ -3617,6 +3845,12 @@ public partial class UnicodeScript private static Java.Lang.Character.UnicodeScript _NUSHUContent = default; private static bool _NUSHUReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeScript NYIAKENG_PUACHUE_HMONG { get { if (!_NYIAKENG_PUACHUE_HMONGReady) { _NYIAKENG_PUACHUE_HMONGContent = SGetField(LocalBridgeClazz, "NYIAKENG_PUACHUE_HMONG"); _NYIAKENG_PUACHUE_HMONGReady = true; } return _NYIAKENG_PUACHUE_HMONGContent; } } + private static Java.Lang.Character.UnicodeScript _NYIAKENG_PUACHUE_HMONGContent = default; + private static bool _NYIAKENG_PUACHUE_HMONGReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeScript OGHAM { get { if (!_OGHAMReady) { _OGHAMContent = SGetField(LocalBridgeClazz, "OGHAM"); _OGHAMReady = true; } return _OGHAMContent; } } @@ -3659,6 +3893,12 @@ public partial class UnicodeScript private static Java.Lang.Character.UnicodeScript _OLD_PERSIANContent = default; private static bool _OLD_PERSIANReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeScript OLD_SOGDIAN { get { if (!_OLD_SOGDIANReady) { _OLD_SOGDIANContent = SGetField(LocalBridgeClazz, "OLD_SOGDIAN"); _OLD_SOGDIANReady = true; } return _OLD_SOGDIANContent; } } + private static Java.Lang.Character.UnicodeScript _OLD_SOGDIANContent = default; + private static bool _OLD_SOGDIANReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeScript OLD_SOUTH_ARABIAN { get { if (!_OLD_SOUTH_ARABIANReady) { _OLD_SOUTH_ARABIANContent = SGetField(LocalBridgeClazz, "OLD_SOUTH_ARABIAN"); _OLD_SOUTH_ARABIANReady = true; } return _OLD_SOUTH_ARABIANContent; } } @@ -3779,6 +4019,12 @@ public partial class UnicodeScript private static Java.Lang.Character.UnicodeScript _SINHALAContent = default; private static bool _SINHALAReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeScript SOGDIAN { get { if (!_SOGDIANReady) { _SOGDIANContent = SGetField(LocalBridgeClazz, "SOGDIAN"); _SOGDIANReady = true; } return _SOGDIANContent; } } + private static Java.Lang.Character.UnicodeScript _SOGDIANContent = default; + private static bool _SOGDIANReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeScript SORA_SOMPENG { get { if (!_SORA_SOMPENGReady) { _SORA_SOMPENGContent = SGetField(LocalBridgeClazz, "SORA_SOMPENG"); _SORA_SOMPENGReady = true; } return _SORA_SOMPENGContent; } } @@ -3911,12 +4157,24 @@ public partial class UnicodeScript private static Java.Lang.Character.UnicodeScript _VAIContent = default; private static bool _VAIReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeScript WANCHO { get { if (!_WANCHOReady) { _WANCHOContent = SGetField(LocalBridgeClazz, "WANCHO"); _WANCHOReady = true; } return _WANCHOContent; } } + private static Java.Lang.Character.UnicodeScript _WANCHOContent = default; + private static bool _WANCHOReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeScript WARANG_CITI { get { if (!_WARANG_CITIReady) { _WARANG_CITIContent = SGetField(LocalBridgeClazz, "WARANG_CITI"); _WARANG_CITIReady = true; } return _WARANG_CITIContent; } } private static Java.Lang.Character.UnicodeScript _WARANG_CITIContent = default; private static bool _WARANG_CITIReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Lang.Character.UnicodeScript YEZIDI { get { if (!_YEZIDIReady) { _YEZIDIContent = SGetField(LocalBridgeClazz, "YEZIDI"); _YEZIDIReady = true; } return _YEZIDIContent; } } + private static Java.Lang.Character.UnicodeScript _YEZIDIContent = default; + private static bool _YEZIDIReady = false; // this is used because in case of generics + /// /// /// public static Java.Lang.Character.UnicodeScript YI { get { if (!_YIReady) { _YIContent = SGetField(LocalBridgeClazz, "YI"); _YIReady = true; } return _YIContent; } } diff --git a/src/net/Netdroid/Generated/Java/Lang/Class.cs b/src/net/Netdroid/Generated/Java/Lang/Class.cs index e428e6918..9c812fc6f 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Class.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Class.cs @@ -90,7 +90,7 @@ public static Java.Lang.Class ForName(Java.Lang.String arg0) /// public Java.Lang.Annotation.Annotation GetAnnotation(Java.Lang.Class arg0) { - return IExecute("getAnnotation", arg0); + return IExecuteWithSignature("getAnnotation", "(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;", arg0); } /// /// @@ -99,7 +99,7 @@ public Java.Lang.Annotation.Annotation GetAnnotation(Java.Lang.Class arg0) /// public Java.Lang.Annotation.Annotation GetDeclaredAnnotation(Java.Lang.Class arg0) { - return IExecute("getDeclaredAnnotation", arg0); + return IExecuteWithSignature("getDeclaredAnnotation", "(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;", arg0); } /// /// @@ -108,7 +108,7 @@ public Java.Lang.Annotation.Annotation GetDeclaredAnnotation(Java.Lang.Class arg /// public Java.Lang.Annotation.Annotation[] GetAnnotationsByType(Java.Lang.Class arg0) { - return IExecuteArray("getAnnotationsByType", arg0); + return IExecuteWithSignatureArray("getAnnotationsByType", "(Ljava/lang/Class;)[Ljava/lang/annotation/Annotation;", arg0); } /// /// @@ -117,7 +117,7 @@ public Java.Lang.Annotation.Annotation[] GetAnnotationsByType(Java.Lang.Class ar /// public Java.Lang.Annotation.Annotation[] GetDeclaredAnnotationsByType(Java.Lang.Class arg0) { - return IExecuteArray("getDeclaredAnnotationsByType", arg0); + return IExecuteWithSignatureArray("getDeclaredAnnotationsByType", "(Ljava/lang/Class;)[Ljava/lang/annotation/Annotation;", arg0); } /// /// @@ -195,6 +195,22 @@ public bool IsNestmateOf(Java.Lang.Class arg0) return IExecuteWithSignature("isNestmateOf", "(Ljava/lang/Class;)Z", arg0); } /// + /// + /// + /// + public bool IsRecord() + { + return IExecuteWithSignature("isRecord", "()Z"); + } + /// + /// + /// + /// + public bool IsSealed() + { + return IExecuteWithSignature("isSealed", "()Z"); + } + /// /// /// /// @@ -295,6 +311,14 @@ public Java.Lang.Class[] GetNestMembers() return IExecuteWithSignatureArray("getNestMembers", "()[Ljava/lang/Class;"); } /// + /// + /// + /// + public Java.Lang.Class[] GetPermittedSubclasses() + { + return IExecuteArray("getPermittedSubclasses"); + } + /// /// /// /// @@ -303,6 +327,22 @@ public Java.Lang.ClassLoader GetClassLoader() return IExecuteWithSignature("getClassLoader", "()Ljava/lang/ClassLoader;"); } /// + /// + /// + /// + public Java.Lang.Invoke.TypeDescriptor.OfField ArrayType() + { + return IExecuteWithSignature("arrayType", "()Ljava/lang/invoke/TypeDescriptor$OfField;"); + } + /// + /// + /// + /// + public Java.Lang.Invoke.TypeDescriptor.OfField ComponentType() + { + return IExecuteWithSignature("componentType", "()Ljava/lang/invoke/TypeDescriptor$OfField;"); + } + /// /// /// /// @@ -451,6 +491,14 @@ public Java.Lang.Reflect.Method[] GetMethods() return IExecuteWithSignatureArray("getMethods", "()[Ljava/lang/reflect/Method;"); } /// + /// + /// + /// + public Java.Lang.Reflect.RecordComponent[] GetRecordComponents() + { + return IExecuteWithSignatureArray("getRecordComponents", "()[Ljava/lang/reflect/RecordComponent;"); + } + /// /// /// /// @@ -475,6 +523,14 @@ public Java.Lang.Reflect.TypeVariable[] GetTypeParameters() return IExecuteWithSignatureArray("getTypeParameters", "()[Ljava/lang/reflect/TypeVariable;"); } /// + /// + /// + /// + public Java.Lang.String DescriptorString() + { + return IExecuteWithSignature("descriptorString", "()Ljava/lang/String;"); + } + /// /// /// /// @@ -557,6 +613,14 @@ public bool IsAssignableFrom(Java.Lang.Class arg0) return IExecuteWithSignature("isAssignableFrom", "(Ljava/lang/Class;)Z", arg0); } /// + /// + /// + /// + public bool IsHidden() + { + return IExecuteWithSignature("isHidden", "()Z"); + } + /// /// /// /// @@ -714,7 +778,7 @@ public static Java.Lang.Class ForName(Java.Lang.String arg0) /// public A GetAnnotation(Java.Lang.Class arg0) where A : Java.Lang.Annotation.IAnnotation, new() { - return IExecute("getAnnotation", arg0); + return IExecuteWithSignature("getAnnotation", "(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;", arg0); } /// /// @@ -724,7 +788,7 @@ public static Java.Lang.Class ForName(Java.Lang.String arg0) /// public A GetDeclaredAnnotation(Java.Lang.Class arg0) where A : Java.Lang.Annotation.IAnnotation, new() { - return IExecute("getDeclaredAnnotation", arg0); + return IExecuteWithSignature("getDeclaredAnnotation", "(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;", arg0); } /// /// @@ -734,7 +798,7 @@ public static Java.Lang.Class ForName(Java.Lang.String arg0) /// public A[] GetAnnotationsByType(Java.Lang.Class arg0) where A : Java.Lang.Annotation.IAnnotation, new() { - return IExecuteArray("getAnnotationsByType", arg0); + return IExecuteWithSignatureArray("getAnnotationsByType", "(Ljava/lang/Class;)[Ljava/lang/annotation/Annotation;", arg0); } /// /// @@ -744,7 +808,7 @@ public static Java.Lang.Class ForName(Java.Lang.String arg0) /// public A[] GetDeclaredAnnotationsByType(Java.Lang.Class arg0) where A : Java.Lang.Annotation.IAnnotation, new() { - return IExecuteArray("getDeclaredAnnotationsByType", arg0); + return IExecuteWithSignatureArray("getDeclaredAnnotationsByType", "(Ljava/lang/Class;)[Ljava/lang/annotation/Annotation;", arg0); } /// /// @@ -824,6 +888,22 @@ public bool IsNestmateOf(Java.Lang.Class arg0) return IExecuteWithSignature("isNestmateOf", "(Ljava/lang/Class;)Z", arg0); } /// + /// + /// + /// + public bool IsRecord() + { + return IExecuteWithSignature("isRecord", "()Z"); + } + /// + /// + /// + /// + public bool IsSealed() + { + return IExecuteWithSignature("isSealed", "()Z"); + } + /// /// /// /// @@ -924,6 +1004,14 @@ public Java.Lang.Class[] GetNestMembers() return IExecuteWithSignatureArray("getNestMembers", "()[Ljava/lang/Class;"); } /// + /// + /// + /// + public Java.Lang.Class[] GetPermittedSubclasses() + { + return IExecuteArray("getPermittedSubclasses"); + } + /// /// /// /// @@ -932,6 +1020,22 @@ public Java.Lang.ClassLoader GetClassLoader() return IExecuteWithSignature("getClassLoader", "()Ljava/lang/ClassLoader;"); } /// + /// + /// + /// + public Java.Lang.Invoke.TypeDescriptor.OfField ArrayType() + { + return IExecuteWithSignature("arrayType", "()Ljava/lang/invoke/TypeDescriptor$OfField;"); + } + /// + /// + /// + /// + public Java.Lang.Invoke.TypeDescriptor.OfField ComponentType() + { + return IExecuteWithSignature("componentType", "()Ljava/lang/invoke/TypeDescriptor$OfField;"); + } + /// /// /// /// @@ -1080,6 +1184,14 @@ public Java.Lang.Reflect.Method[] GetMethods() return IExecuteWithSignatureArray("getMethods", "()[Ljava/lang/reflect/Method;"); } /// + /// + /// + /// + public Java.Lang.Reflect.RecordComponent[] GetRecordComponents() + { + return IExecuteWithSignatureArray("getRecordComponents", "()[Ljava/lang/reflect/RecordComponent;"); + } + /// /// /// /// @@ -1104,6 +1216,14 @@ public Java.Lang.Reflect.Type[] GetGenericInterfaces() return IExecuteWithSignatureArray>("getTypeParameters", "()[Ljava/lang/reflect/TypeVariable;"); } /// + /// + /// + /// + public Java.Lang.String DescriptorString() + { + return IExecuteWithSignature("descriptorString", "()Ljava/lang/String;"); + } + /// /// /// /// @@ -1186,6 +1306,14 @@ public bool IsAssignableFrom(Java.Lang.Class arg0) return IExecuteWithSignature("isAssignableFrom", "(Ljava/lang/Class;)Z", arg0); } /// + /// + /// + /// + public bool IsHidden() + { + return IExecuteWithSignature("isHidden", "()Z"); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Lang/Double.cs b/src/net/Netdroid/Generated/Java/Lang/Double.cs index 3a66dc980..c9c903ec5 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Double.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Double.cs @@ -26,7 +26,7 @@ namespace Java.Lang { #region Double - public partial class Double + public partial class Double : Java.Lang.IComparable { #region Constructors /// @@ -318,6 +318,24 @@ public int CompareTo(object arg0) { return IExecuteWithSignature("compareTo", "(Ljava/lang/Object;)I", arg0); } + /// + /// + /// + /// + /// + /// + public object ResolveConstantDesc(Java.Lang.Invoke.MethodHandles.Lookup arg0) + { + return IExecuteWithSignature("resolveConstantDesc", "(Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/Object;", arg0); + } + /// + /// + /// + /// + public Java.Util.Optional DescribeConstable() + { + return IExecuteWithSignature>("describeConstable", "()Ljava/util/Optional;"); + } #endregion diff --git a/src/net/Netdroid/Generated/Java/Lang/Float.cs b/src/net/Netdroid/Generated/Java/Lang/Float.cs index 978931b8d..4197a39b1 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Float.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Float.cs @@ -26,7 +26,7 @@ namespace Java.Lang { #region Float - public partial class Float + public partial class Float : Java.Lang.IComparable { #region Constructors /// @@ -327,6 +327,24 @@ public int CompareTo(object arg0) { return IExecuteWithSignature("compareTo", "(Ljava/lang/Object;)I", arg0); } + /// + /// + /// + /// + /// + /// + public object ResolveConstantDesc(Java.Lang.Invoke.MethodHandles.Lookup arg0) + { + return IExecuteWithSignature("resolveConstantDesc", "(Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/Object;", arg0); + } + /// + /// + /// + /// + public Java.Util.Optional DescribeConstable() + { + return IExecuteWithSignature>("describeConstable", "()Ljava/util/Optional;"); + } #endregion diff --git a/src/net/Netdroid/Generated/Java/Lang/Integer.cs b/src/net/Netdroid/Generated/Java/Lang/Integer.cs index 518c4b9c6..ccea4ff10 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Integer.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Integer.cs @@ -26,7 +26,7 @@ namespace Java.Lang { #region Integer - public partial class Integer + public partial class Integer : Java.Lang.IComparable { #region Constructors /// @@ -498,6 +498,24 @@ public int CompareTo(object arg0) { return IExecuteWithSignature("compareTo", "(Ljava/lang/Object;)I", arg0); } + /// + /// + /// + /// + /// + /// + public object ResolveConstantDesc(Java.Lang.Invoke.MethodHandles.Lookup arg0) + { + return IExecuteWithSignature("resolveConstantDesc", "(Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/Object;", arg0); + } + /// + /// + /// + /// + public Java.Util.Optional DescribeConstable() + { + return IExecuteWithSignature>("describeConstable", "()Ljava/util/Optional;"); + } #endregion diff --git a/src/net/Netdroid/Generated/Java/Lang/Invoke/AllPackageClasses.cs b/src/net/Netdroid/Generated/Java/Lang/Invoke/AllPackageClasses.cs index dc4714a4a..e30c0753a 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Invoke/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Invoke/AllPackageClasses.cs @@ -305,7 +305,51 @@ public Lookup(params object[] args) : base(args) { } public override bool IsBridgeStatic => true; // TODO: complete the class - + #region ClassOption + /// + /// + /// + public partial class ClassOption : Java.Lang.Enum + { + const string _bridgeClassName = "java.lang.invoke.MethodHandles$Lookup$ClassOption"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ClassOption() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ClassOption(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + } #endregion @@ -317,7 +361,7 @@ public Lookup(params object[] args) : base(args) { } /// /// /// - public partial class MethodType : Java.Io.Serializable + public partial class MethodType : MASES.JCOBridge.C2JBridge.JVMBridgeBase { const string _bridgeClassName = "java.lang.invoke.MethodType"; /// @@ -401,6 +445,239 @@ public MutableCallSite(params object[] args) : base(args) { } } #endregion + #region TypeDescriptor + /// + /// + /// + public partial class TypeDescriptor : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "java.lang.invoke.TypeDescriptor"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [global::System.Obsolete("TypeDescriptor class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public TypeDescriptor() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [global::System.Obsolete("TypeDescriptor class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public TypeDescriptor(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + #region OfField + /// + /// + /// + public partial class OfField : Java.Lang.Invoke.TypeDescriptor + { + const string _bridgeClassName = "java.lang.invoke.TypeDescriptor$OfField"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [global::System.Obsolete("OfField class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public OfField() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [global::System.Obsolete("OfField class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public OfField(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region OfField + /// + /// + /// + /// + public partial class OfField : Java.Lang.Invoke.TypeDescriptor where F : Java.Lang.Invoke.TypeDescriptor.OfField + { + const string _bridgeClassName = "java.lang.invoke.TypeDescriptor$OfField"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [global::System.Obsolete("OfField class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public OfField() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [global::System.Obsolete("OfField class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public OfField(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region OfMethod + /// + /// + /// + public partial class OfMethod : Java.Lang.Invoke.TypeDescriptor + { + const string _bridgeClassName = "java.lang.invoke.TypeDescriptor$OfMethod"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [global::System.Obsolete("OfMethod class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public OfMethod() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [global::System.Obsolete("OfMethod class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public OfMethod(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + #region OfMethod + /// + /// + /// + /// + /// + public partial class OfMethod : Java.Lang.Invoke.TypeDescriptor where F : Java.Lang.Invoke.TypeDescriptor.OfField where M : Java.Lang.Invoke.TypeDescriptor.OfMethod + { + const string _bridgeClassName = "java.lang.invoke.TypeDescriptor$OfMethod"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [global::System.Obsolete("OfMethod class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public OfMethod() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [global::System.Obsolete("OfMethod class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public OfMethod(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => true; + + // TODO: complete the class + + } + #endregion + + + } + #endregion + #region VarHandle /// /// diff --git a/src/net/Netdroid/Generated/Java/Lang/Invoke/MethodHandle.cs b/src/net/Netdroid/Generated/Java/Lang/Invoke/MethodHandle.cs index 9fde62607..ad583f3e3 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Invoke/MethodHandle.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Invoke/MethodHandle.cs @@ -130,7 +130,7 @@ public Java.Lang.Invoke.MethodHandle AsSpreader(Java.Lang.Class arg0, int arg1) /// public Java.Lang.Invoke.MethodHandle AsType(Java.Lang.Invoke.MethodType arg0) { - return IExecute("asType", arg0); + return IExecuteWithSignature("asType", "(Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Java/Lang/Invoke/MethodHandles.cs b/src/net/Netdroid/Generated/Java/Lang/Invoke/MethodHandles.cs index 9b5785a8b..5846f0639 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Invoke/MethodHandles.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Invoke/MethodHandles.cs @@ -53,6 +53,33 @@ public partial class MethodHandles return SExecute(LocalBridgeClazz, "reflectAs", arg0, arg1); } /// + /// + /// + /// + /// + /// + /// + /// + /// + public static T ClassData(Java.Lang.Invoke.MethodHandles.Lookup arg0, Java.Lang.String arg1, Java.Lang.Class arg2) + { + return SExecute(LocalBridgeClazz, "classData", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + public static T ClassDataAt(Java.Lang.Invoke.MethodHandles.Lookup arg0, Java.Lang.String arg1, Java.Lang.Class arg2, int arg3) + { + return SExecute(LocalBridgeClazz, "classDataAt", arg0, arg1, arg2, arg3); + } + /// /// /// /// @@ -193,6 +220,15 @@ public static Java.Lang.Invoke.MethodHandle DropArgumentsToMatch(Java.Lang.Invok return SExecute(LocalBridgeClazz, "dropArgumentsToMatch", arg0, arg1, arg2, arg3); } /// + /// + /// + /// + /// + public static Java.Lang.Invoke.MethodHandle DropReturn(Java.Lang.Invoke.MethodHandle arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "dropReturn", "(Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;", arg0); + } + /// /// /// /// @@ -344,6 +380,16 @@ public static Java.Lang.Invoke.MethodHandle SpreadInvoker(Java.Lang.Invoke.Metho return SExecute(LocalBridgeClazz, "spreadInvoker", arg0, arg1); } /// + /// + /// + /// + /// + /// + public static Java.Lang.Invoke.MethodHandle TableSwitch(Java.Lang.Invoke.MethodHandle arg0, params Java.Lang.Invoke.MethodHandle[] arg1) + { + if (arg1.Length == 0) return SExecute(LocalBridgeClazz, "tableSwitch", arg0); else return SExecute(LocalBridgeClazz, "tableSwitch", arg0, arg1); + } + /// /// /// /// @@ -489,6 +535,12 @@ public partial class Lookup private static int _MODULEContent = default; private static bool _MODULEReady = false; // this is used because in case of generics /// + /// + /// + public static int ORIGINAL { get { if (!_ORIGINALReady) { _ORIGINALContent = SGetField(LocalBridgeClazz, "ORIGINAL"); _ORIGINALReady = true; } return _ORIGINALContent; } } + private static int _ORIGINALContent = default; + private static bool _ORIGINALReady = false; // this is used because in case of generics + /// /// /// public static int PACKAGE { get { if (!_PACKAGEReady) { _PACKAGEContent = SGetField(LocalBridgeClazz, "PACKAGE"); _PACKAGEReady = true; } return _PACKAGEContent; } } @@ -527,9 +579,18 @@ public partial class Lookup #region Instance methods /// + /// + /// + /// + public bool HasFullPrivilegeAccess() + { + return IExecuteWithSignature("hasFullPrivilegeAccess", "()Z"); + } + /// /// /// /// + [global::System.Obsolete()] public bool HasPrivateAccess() { return IExecuteWithSignature("hasPrivateAccess", "()Z"); @@ -550,7 +611,7 @@ public int LookupModes() /// public Java.Lang.Class AccessClass(Java.Lang.Class arg0) { - return IExecute("accessClass", arg0); + return IExecuteWithSignature("accessClass", "(Ljava/lang/Class;)Ljava/lang/Class;", arg0); } /// /// @@ -563,6 +624,16 @@ public Java.Lang.Class DefineClass(byte[] arg0) return IExecuteWithSignature("defineClass", "([B)Ljava/lang/Class;", new object[] { arg0 }); } /// + /// + /// + /// + /// + /// + public Java.Lang.Class EnsureInitialized(Java.Lang.Class arg0) + { + return IExecuteWithSignature("ensureInitialized", "(Ljava/lang/Class;)Ljava/lang/Class;", arg0); + } + /// /// /// /// @@ -582,6 +653,14 @@ public Java.Lang.Class LookupClass() return IExecuteWithSignature("lookupClass", "()Ljava/lang/Class;"); } /// + /// + /// + /// + public Java.Lang.Class PreviousLookupClass() + { + return IExecuteWithSignature("previousLookupClass", "()Ljava/lang/Class;"); + } + /// /// /// /// @@ -759,6 +838,31 @@ public Java.Lang.Invoke.MethodHandleInfo RevealDirect(Java.Lang.Invoke.MethodHan return IExecuteWithSignature("revealDirect", "(Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandleInfo;", arg0); } /// + /// + /// + /// + /// + /// + /// + /// + public Java.Lang.Invoke.MethodHandles.Lookup DefineHiddenClass(byte[] arg0, bool arg1, params Java.Lang.Invoke.MethodHandles.Lookup.ClassOption[] arg2) + { + if (arg2.Length == 0) return IExecute("defineHiddenClass", arg0, arg1); else return IExecute("defineHiddenClass", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + /// + /// + public Java.Lang.Invoke.MethodHandles.Lookup DefineHiddenClassWithClassData(byte[] arg0, object arg1, bool arg2, params Java.Lang.Invoke.MethodHandles.Lookup.ClassOption[] arg3) + { + if (arg3.Length == 0) return IExecute("defineHiddenClassWithClassData", arg0, arg1, arg2); else return IExecute("defineHiddenClassWithClassData", arg0, arg1, arg2, arg3); + } + /// /// /// /// @@ -816,7 +920,67 @@ public Java.Lang.Invoke.VarHandle UnreflectVarHandle(Java.Lang.Reflect.Field arg #endregion #region Nested classes + #region ClassOption + public partial class ClassOption + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + /// + /// + /// + public static Java.Lang.Invoke.MethodHandles.Lookup.ClassOption NESTMATE { get { if (!_NESTMATEReady) { _NESTMATEContent = SGetField(LocalBridgeClazz, "NESTMATE"); _NESTMATEReady = true; } return _NESTMATEContent; } } + private static Java.Lang.Invoke.MethodHandles.Lookup.ClassOption _NESTMATEContent = default; + private static bool _NESTMATEReady = false; // this is used because in case of generics + /// + /// + /// + public static Java.Lang.Invoke.MethodHandles.Lookup.ClassOption STRONG { get { if (!_STRONGReady) { _STRONGContent = SGetField(LocalBridgeClazz, "STRONG"); _STRONGReady = true; } return _STRONGContent; } } + private static Java.Lang.Invoke.MethodHandles.Lookup.ClassOption _STRONGContent = default; + private static bool _STRONGReady = false; // this is used because in case of generics + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + public static Java.Lang.Invoke.MethodHandles.Lookup.ClassOption ValueOf(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "valueOf", "(Ljava/lang/String;)Ljava/lang/invoke/MethodHandles$Lookup$ClassOption;", arg0); + } + /// + /// + /// + /// + public static Java.Lang.Invoke.MethodHandles.Lookup.ClassOption[] Values() + { + return SExecuteWithSignatureArray(LocalBridgeClazz, "values", "()[Ljava/lang/invoke/MethodHandles$Lookup$ClassOption;"); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + #endregion // TODO: complete the class diff --git a/src/net/Netdroid/Generated/Java/Lang/Invoke/MethodType.cs b/src/net/Netdroid/Generated/Java/Lang/Invoke/MethodType.cs index 165ddab59..2dabd1414 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Invoke/MethodType.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Invoke/MethodType.cs @@ -26,13 +26,17 @@ namespace Java.Lang.Invoke { #region MethodType - public partial class MethodType + public partial class MethodType : Java.Io.ISerializable { #region Constructors #endregion #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Java.Io.Serializable(Java.Lang.Invoke.MethodType t) => t.Cast(); #endregion @@ -169,31 +173,6 @@ public Java.Lang.Class LastParameterType() return IExecuteWithSignature("lastParameterType", "()Ljava/lang/Class;"); } /// - /// - /// - /// - /// - public Java.Lang.Class ParameterType(int arg0) - { - return IExecuteWithSignature("parameterType", "(I)Ljava/lang/Class;", arg0); - } - /// - /// - /// - /// - public Java.Lang.Class ReturnType() - { - return IExecuteWithSignature("returnType", "()Ljava/lang/Class;"); - } - /// - /// - /// - /// - public Java.Lang.Class[] ParameterArray() - { - return IExecuteWithSignatureArray("parameterArray", "()[Ljava/lang/Class;"); - } - /// /// /// /// @@ -231,16 +210,6 @@ public Java.Lang.Invoke.MethodType ChangeReturnType(Java.Lang.Class arg0) return IExecuteWithSignature("changeReturnType", "(Ljava/lang/Class;)Ljava/lang/invoke/MethodType;", arg0); } /// - /// - /// - /// - /// - /// - public Java.Lang.Invoke.MethodType DropParameterTypes(int arg0, int arg1) - { - return IExecute("dropParameterTypes", arg0, arg1); - } - /// /// /// /// @@ -293,6 +262,78 @@ public Java.Lang.Invoke.MethodType Wrap() return IExecuteWithSignature("wrap", "()Ljava/lang/invoke/MethodType;"); } /// + /// + /// + /// + /// + public Java.Lang.Invoke.TypeDescriptor.OfField ParameterType(int arg0) + { + return IExecuteWithSignature("parameterType", "(I)Ljava/lang/invoke/TypeDescriptor$OfField;", arg0); + } + /// + /// + /// + /// + public Java.Lang.Invoke.TypeDescriptor.OfField ReturnType() + { + return IExecuteWithSignature("returnType", "()Ljava/lang/invoke/TypeDescriptor$OfField;"); + } + /// + /// + /// + /// + public Java.Lang.Invoke.TypeDescriptor.OfField[] ParameterArray() + { + return IExecuteWithSignatureArray("parameterArray", "()[Ljava/lang/invoke/TypeDescriptor$OfField;"); + } + /// + /// + /// + /// + /// + /// + public Java.Lang.Invoke.TypeDescriptor.OfMethod ChangeParameterType(int arg0, Java.Lang.Invoke.TypeDescriptor.OfField arg1) + { + return IExecute("changeParameterType", arg0, arg1); + } + /// + /// + /// + /// + /// + public Java.Lang.Invoke.TypeDescriptor.OfMethod ChangeReturnType(Java.Lang.Invoke.TypeDescriptor.OfField arg0) + { + return IExecuteWithSignature("changeReturnType", "(Ljava/lang/invoke/TypeDescriptor$OfField;)Ljava/lang/invoke/TypeDescriptor$OfMethod;", arg0); + } + /// + /// + /// + /// + /// + /// + public Java.Lang.Invoke.TypeDescriptor.OfMethod DropParameterTypes(int arg0, int arg1) + { + return IExecute("dropParameterTypes", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + public Java.Lang.Invoke.TypeDescriptor.OfMethod InsertParameterTypes(int arg0, Java.Lang.Invoke.TypeDescriptor.OfField[] arg1) + { + return IExecute("insertParameterTypes", arg0, arg1); + } + /// + /// + /// + /// + public Java.Lang.String DescriptorString() + { + return IExecuteWithSignature("descriptorString", "()Ljava/lang/String;"); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Lang/Invoke/TypeDescriptor.cs b/src/net/Netdroid/Generated/Java/Lang/Invoke/TypeDescriptor.cs new file mode 100644 index 000000000..f34ede32d --- /dev/null +++ b/src/net/Netdroid/Generated/Java/Lang/Invoke/TypeDescriptor.cs @@ -0,0 +1,440 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Java.Lang.Invoke +{ + #region ITypeDescriptor + /// + /// .NET interface for TO BE DEFINED FROM USER + /// + public partial interface ITypeDescriptor + { + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region TypeDescriptor + public partial class TypeDescriptor : Java.Lang.Invoke.ITypeDescriptor + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + public Java.Lang.String DescriptorString() + { + return IExecuteWithSignature("descriptorString", "()Ljava/lang/String;"); + } + + #endregion + + #region Nested classes + #region OfField + public partial class OfField + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + public bool IsArray() + { + return IExecuteWithSignature("isArray", "()Z"); + } + /// + /// + /// + /// + public bool IsPrimitive() + { + return IExecuteWithSignature("isPrimitive", "()Z"); + } + /// + /// + /// + /// + public Java.Lang.Invoke.TypeDescriptor.OfField ArrayType() + { + return IExecuteWithSignature("arrayType", "()Ljava/lang/invoke/TypeDescriptor$OfField;"); + } + /// + /// + /// + /// + public Java.Lang.Invoke.TypeDescriptor.OfField ComponentType() + { + return IExecuteWithSignature("componentType", "()Ljava/lang/invoke/TypeDescriptor$OfField;"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OfField + public partial class OfField + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Java.Lang.Invoke.TypeDescriptor.OfField(Java.Lang.Invoke.TypeDescriptor.OfField t) => t.Cast(); + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + public bool IsArray() + { + return IExecuteWithSignature("isArray", "()Z"); + } + /// + /// + /// + /// + public bool IsPrimitive() + { + return IExecuteWithSignature("isPrimitive", "()Z"); + } + /// + /// + /// + /// + public F ArrayType() + { + return IExecuteWithSignature("arrayType", "()Ljava/lang/invoke/TypeDescriptor$OfField;"); + } + /// + /// + /// + /// + public F ComponentType() + { + return IExecuteWithSignature("componentType", "()Ljava/lang/invoke/TypeDescriptor$OfField;"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OfMethod + public partial class OfMethod + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + public Java.Lang.Invoke.TypeDescriptor.OfField ParameterType(int arg0) + { + return IExecuteWithSignature("parameterType", "(I)Ljava/lang/invoke/TypeDescriptor$OfField;", arg0); + } + /// + /// + /// + /// + public Java.Lang.Invoke.TypeDescriptor.OfField ReturnType() + { + return IExecuteWithSignature("returnType", "()Ljava/lang/invoke/TypeDescriptor$OfField;"); + } + /// + /// + /// + /// + public Java.Lang.Invoke.TypeDescriptor.OfField[] ParameterArray() + { + return IExecuteWithSignatureArray("parameterArray", "()[Ljava/lang/invoke/TypeDescriptor$OfField;"); + } + /// + /// + /// + /// + public int ParameterCount() + { + return IExecuteWithSignature("parameterCount", "()I"); + } + /// + /// + /// + /// + public Java.Util.List ParameterList() + { + return IExecuteWithSignature("parameterList", "()Ljava/util/List;"); + } + /// + /// + /// + /// + /// + /// + public Java.Lang.Invoke.TypeDescriptor.OfMethod ChangeParameterType(int arg0, Java.Lang.Invoke.TypeDescriptor.OfField arg1) + { + return IExecute("changeParameterType", arg0, arg1); + } + /// + /// + /// + /// + /// + public Java.Lang.Invoke.TypeDescriptor.OfMethod ChangeReturnType(Java.Lang.Invoke.TypeDescriptor.OfField arg0) + { + return IExecuteWithSignature("changeReturnType", "(Ljava/lang/invoke/TypeDescriptor$OfField;)Ljava/lang/invoke/TypeDescriptor$OfMethod;", arg0); + } + /// + /// + /// + /// + /// + /// + public Java.Lang.Invoke.TypeDescriptor.OfMethod DropParameterTypes(int arg0, int arg1) + { + return IExecute("dropParameterTypes", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + public Java.Lang.Invoke.TypeDescriptor.OfMethod InsertParameterTypes(int arg0, params Java.Lang.Invoke.TypeDescriptor.OfField[] arg1) + { + if (arg1.Length == 0) return IExecute("insertParameterTypes", arg0); else return IExecute("insertParameterTypes", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region OfMethod + public partial class OfMethod + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Java.Lang.Invoke.TypeDescriptor.OfMethod(Java.Lang.Invoke.TypeDescriptor.OfMethod t) => t.Cast(); + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + public F ParameterType(int arg0) + { + return IExecuteWithSignature("parameterType", "(I)Ljava/lang/invoke/TypeDescriptor$OfField;", arg0); + } + /// + /// + /// + /// + public F ReturnType() + { + return IExecuteWithSignature("returnType", "()Ljava/lang/invoke/TypeDescriptor$OfField;"); + } + /// + /// + /// + /// + public F[] ParameterArray() + { + return IExecuteWithSignatureArray("parameterArray", "()[Ljava/lang/invoke/TypeDescriptor$OfField;"); + } + /// + /// + /// + /// + public int ParameterCount() + { + return IExecuteWithSignature("parameterCount", "()I"); + } + /// + /// + /// + /// + public Java.Util.List ParameterList() + { + return IExecuteWithSignature>("parameterList", "()Ljava/util/List;"); + } + /// + /// + /// + /// + /// + /// + public M ChangeParameterType(int arg0, F arg1) + { + return IExecute("changeParameterType", arg0, arg1); + } + /// + /// + /// + /// + /// + public M ChangeReturnType(F arg0) + { + return IExecuteWithSignature("changeReturnType", "(Ljava/lang/invoke/TypeDescriptor$OfField;)Ljava/lang/invoke/TypeDescriptor$OfMethod;", arg0); + } + /// + /// + /// + /// + /// + /// + public M DropParameterTypes(int arg0, int arg1) + { + return IExecute("dropParameterTypes", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + public M InsertParameterTypes(int arg0, params F[] arg1) + { + if (arg1.Length == 0) return IExecute("insertParameterTypes", arg0); else return IExecute("insertParameterTypes", arg0, arg1); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Java/Lang/Invoke/VarHandle.cs b/src/net/Netdroid/Generated/Java/Lang/Invoke/VarHandle.cs index 7c6171d63..9e35433b3 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Invoke/VarHandle.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Invoke/VarHandle.cs @@ -81,30 +81,37 @@ public static void StoreStoreFence() #region Instance methods /// - /// + /// /// - /// - /// - public bool IsAccessModeSupported(Java.Lang.Invoke.VarHandle.AccessMode arg0) + /// + public Java.Lang.Invoke.VarHandle WithInvokeBehavior() { - return IExecute("isAccessModeSupported", arg0); + return IExecuteWithSignature("withInvokeBehavior", "()Ljava/lang/invoke/VarHandle;"); } /// - /// + /// /// - /// - public Java.Lang.Class VarType() + /// + public Java.Lang.Invoke.VarHandle WithInvokeExactBehavior() { - return IExecute("varType"); + return IExecuteWithSignature("withInvokeExactBehavior", "()Ljava/lang/invoke/VarHandle;"); } /// - /// + /// + /// + /// + public bool HasInvokeExactBehavior() + { + return IExecuteWithSignature("hasInvokeExactBehavior", "()Z"); + } + /// + /// /// /// - /// - public Java.Lang.Invoke.MethodHandle ToMethodHandle(Java.Lang.Invoke.VarHandle.AccessMode arg0) + /// + public bool IsAccessModeSupported(Java.Lang.Invoke.VarHandle.AccessMode arg0) { - return IExecute("toMethodHandle", arg0); + return IExecuteWithSignature("isAccessModeSupported", "(Ljava/lang/invoke/VarHandle$AccessMode;)Z", arg0); } /// /// @@ -116,14 +123,6 @@ public Java.Lang.Invoke.MethodType AccessModeType(Java.Lang.Invoke.VarHandle.Acc return IExecuteWithSignature("accessModeType", "(Ljava/lang/invoke/VarHandle$AccessMode;)Ljava/lang/invoke/MethodType;", arg0); } /// - /// - /// - /// - public Java.Util.List CoordinateTypes() - { - return IExecute>("coordinateTypes"); - } - /// /// /// /// @@ -398,6 +397,39 @@ public void SetVolatile(params object[] arg0) { if (arg0.Length == 0) IExecuteWithSignature("setVolatile", "([Ljava/lang/Object;)V"); else IExecuteWithSignature("setVolatile", "([Ljava/lang/Object;)V", arg0); } + /// + /// + /// + /// + public Java.Lang.Class VarType() + { + return IExecuteWithSignature("varType", "()Ljava/lang/Class;"); + } + /// + /// + /// + /// + /// + public Java.Lang.Invoke.MethodHandle ToMethodHandle(Java.Lang.Invoke.VarHandle.AccessMode arg0) + { + return IExecuteWithSignature("toMethodHandle", "(Ljava/lang/invoke/VarHandle$AccessMode;)Ljava/lang/invoke/MethodHandle;", arg0); + } + /// + /// + /// + /// + public Java.Util.List CoordinateTypes() + { + return IExecuteWithSignature>("coordinateTypes", "()Ljava/util/List;"); + } + /// + /// + /// + /// + public Java.Util.Optional DescribeConstable() + { + return IExecuteWithSignature>("describeConstable", "()Ljava/util/Optional;"); + } #endregion diff --git a/src/net/Netdroid/Generated/Java/Lang/Long.cs b/src/net/Netdroid/Generated/Java/Lang/Long.cs index cb71fad37..7a0469a1b 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Long.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Long.cs @@ -26,7 +26,7 @@ namespace Java.Lang { #region Long - public partial class Long + public partial class Long : Java.Lang.IComparable { #region Constructors /// @@ -489,6 +489,24 @@ public int CompareTo(object arg0) { return IExecuteWithSignature("compareTo", "(Ljava/lang/Object;)I", arg0); } + /// + /// + /// + /// + /// + /// + public object ResolveConstantDesc(Java.Lang.Invoke.MethodHandles.Lookup arg0) + { + return IExecuteWithSignature("resolveConstantDesc", "(Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/Object;", arg0); + } + /// + /// + /// + /// + public Java.Util.Optional DescribeConstable() + { + return IExecuteWithSignature>("describeConstable", "()Ljava/util/Optional;"); + } #endregion diff --git a/src/net/Netdroid/Generated/Java/Lang/Math.cs b/src/net/Netdroid/Generated/Java/Lang/Math.cs index 75708cbca..05e2f64bc 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Math.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Math.cs @@ -512,6 +512,15 @@ public static int Abs(int arg0) return SExecuteWithSignature(LocalBridgeClazz, "abs", "(I)I", arg0); } /// + /// + /// + /// + /// + public static int AbsExact(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "absExact", "(I)I", arg0); + } + /// /// /// /// @@ -664,6 +673,15 @@ public static long Abs(long arg0) return SExecuteWithSignature(LocalBridgeClazz, "abs", "(J)J", arg0); } /// + /// + /// + /// + /// + public static long AbsExact(long arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "absExact", "(J)J", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Lang/Package.cs b/src/net/Netdroid/Generated/Java/Lang/Package.cs index e0aa9abfa..51e17fcf8 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Package.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Package.cs @@ -71,7 +71,7 @@ public static Java.Lang.Package[] GetPackages() /// public A GetAnnotation(Java.Lang.Class arg0) where A : Java.Lang.Annotation.IAnnotation, new() { - return IExecute("getAnnotation", arg0); + return IExecuteWithSignature("getAnnotation", "(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;", arg0); } /// /// @@ -81,7 +81,7 @@ public static Java.Lang.Package[] GetPackages() /// public A GetDeclaredAnnotation(Java.Lang.Class arg0) where A : Java.Lang.Annotation.IAnnotation, new() { - return IExecute("getDeclaredAnnotation", arg0); + return IExecuteWithSignature("getDeclaredAnnotation", "(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;", arg0); } /// /// @@ -91,7 +91,7 @@ public static Java.Lang.Package[] GetPackages() /// public A[] GetAnnotationsByType(Java.Lang.Class arg0) where A : Java.Lang.Annotation.IAnnotation, new() { - return IExecuteArray("getAnnotationsByType", arg0); + return IExecuteWithSignatureArray("getAnnotationsByType", "(Ljava/lang/Class;)[Ljava/lang/annotation/Annotation;", arg0); } /// /// @@ -101,7 +101,7 @@ public static Java.Lang.Package[] GetPackages() /// public A[] GetDeclaredAnnotationsByType(Java.Lang.Class arg0) where A : Java.Lang.Annotation.IAnnotation, new() { - return IExecuteArray("getDeclaredAnnotationsByType", arg0); + return IExecuteWithSignatureArray("getDeclaredAnnotationsByType", "(Ljava/lang/Class;)[Ljava/lang/annotation/Annotation;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Java/Lang/Process.cs b/src/net/Netdroid/Generated/Java/Lang/Process.cs index e081ff828..98f3148f1 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Process.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Process.cs @@ -121,6 +121,57 @@ public bool WaitFor(long arg0, Java.Util.Concurrent.TimeUnit arg1) return IExecute("waitFor", arg0, arg1); } /// + /// + /// + /// + public Java.Io.BufferedReader ErrorReader() + { + return IExecuteWithSignature("errorReader", "()Ljava/io/BufferedReader;"); + } + /// + /// + /// + /// + /// + public Java.Io.BufferedReader ErrorReader(Java.Nio.Charset.Charset arg0) + { + return IExecuteWithSignature("errorReader", "(Ljava/nio/charset/Charset;)Ljava/io/BufferedReader;", arg0); + } + /// + /// + /// + /// + public Java.Io.BufferedReader InputReader() + { + return IExecuteWithSignature("inputReader", "()Ljava/io/BufferedReader;"); + } + /// + /// + /// + /// + /// + public Java.Io.BufferedReader InputReader(Java.Nio.Charset.Charset arg0) + { + return IExecuteWithSignature("inputReader", "(Ljava/nio/charset/Charset;)Ljava/io/BufferedReader;", arg0); + } + /// + /// + /// + /// + public Java.Io.BufferedWriter OutputWriter() + { + return IExecuteWithSignature("outputWriter", "()Ljava/io/BufferedWriter;"); + } + /// + /// + /// + /// + /// + public Java.Io.BufferedWriter OutputWriter(Java.Nio.Charset.Charset arg0) + { + return IExecuteWithSignature("outputWriter", "(Ljava/nio/charset/Charset;)Ljava/io/BufferedWriter;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Security/Acl/NotOwnerException.cs b/src/net/Netdroid/Generated/Java/Lang/Record.cs similarity index 92% rename from src/net/Netdroid/Generated/Java/Security/Acl/NotOwnerException.cs rename to src/net/Netdroid/Generated/Java/Lang/Record.cs index e2d51b8c2..9c7941cea 100644 --- a/src/net/Netdroid/Generated/Java/Security/Acl/NotOwnerException.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Record.cs @@ -23,10 +23,10 @@ using MASES.JCOBridge.C2JBridge; -namespace Java.Security.Acl +namespace Java.Lang { - #region NotOwnerException - public partial class NotOwnerException + #region Record + public partial class Record { #region Constructors diff --git a/src/net/Netdroid/Generated/Java/Lang/Ref/Reference.cs b/src/net/Netdroid/Generated/Java/Lang/Ref/Reference.cs index 26c73588c..bc75cca9c 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Ref/Reference.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Ref/Reference.cs @@ -65,11 +65,21 @@ public bool Enqueue() /// /// /// + [global::System.Obsolete()] public bool IsEnqueued() { return IExecuteWithSignature("isEnqueued", "()Z"); } /// + /// + /// + /// + /// + public bool RefersTo(object arg0) + { + return IExecuteWithSignature("refersTo", "(Ljava/lang/Object;)Z", arg0); + } + /// /// /// /// @@ -139,11 +149,21 @@ public bool Enqueue() /// /// /// + [global::System.Obsolete()] public bool IsEnqueued() { return IExecuteWithSignature("isEnqueued", "()Z"); } /// + /// + /// + /// + /// + public bool RefersTo(T arg0) + { + return IExecuteWithSignature("refersTo", "(Ljava/lang/Object;)Z", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Lang/Reflect/AccessibleObject.cs b/src/net/Netdroid/Generated/Java/Lang/Reflect/AccessibleObject.cs index 8ea93114b..639f99513 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Reflect/AccessibleObject.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Reflect/AccessibleObject.cs @@ -62,7 +62,7 @@ public static void SetAccessible(Java.Lang.Reflect.AccessibleObject[] arg0, bool /// public T GetAnnotation(Java.Lang.Class arg0) where T : Java.Lang.Annotation.IAnnotation, new() { - return IExecute("getAnnotation", arg0); + return IExecuteWithSignature("getAnnotation", "(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;", arg0); } /// /// @@ -72,7 +72,7 @@ public static void SetAccessible(Java.Lang.Reflect.AccessibleObject[] arg0, bool /// public T GetDeclaredAnnotation(Java.Lang.Class arg0) where T : Java.Lang.Annotation.IAnnotation, new() { - return IExecute("getDeclaredAnnotation", arg0); + return IExecuteWithSignature("getDeclaredAnnotation", "(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;", arg0); } /// /// @@ -82,7 +82,7 @@ public static void SetAccessible(Java.Lang.Reflect.AccessibleObject[] arg0, bool /// public T[] GetAnnotationsByType(Java.Lang.Class arg0) where T : Java.Lang.Annotation.IAnnotation, new() { - return IExecuteArray("getAnnotationsByType", arg0); + return IExecuteWithSignatureArray("getAnnotationsByType", "(Ljava/lang/Class;)[Ljava/lang/annotation/Annotation;", arg0); } /// /// @@ -92,7 +92,7 @@ public static void SetAccessible(Java.Lang.Reflect.AccessibleObject[] arg0, bool /// public T[] GetDeclaredAnnotationsByType(Java.Lang.Class arg0) where T : Java.Lang.Annotation.IAnnotation, new() { - return IExecuteArray("getDeclaredAnnotationsByType", arg0); + return IExecuteWithSignatureArray("getDeclaredAnnotationsByType", "(Ljava/lang/Class;)[Ljava/lang/annotation/Annotation;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Java/Lang/Reflect/AllPackageClasses.cs b/src/net/Netdroid/Generated/Java/Lang/Reflect/AllPackageClasses.cs index 6e026640b..26c9cf43d 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Reflect/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Reflect/AllPackageClasses.cs @@ -813,6 +813,50 @@ public Proxy(params object[] args) : base(args) { } } #endregion + #region RecordComponent + /// + /// + /// + public partial class RecordComponent : Java.Lang.Reflect.AnnotatedElement + { + const string _bridgeClassName = "java.lang.reflect.RecordComponent"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public RecordComponent() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public RecordComponent(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region ReflectPermission /// /// diff --git a/src/net/Netdroid/Generated/Java/Lang/Reflect/AnnotatedElement.cs b/src/net/Netdroid/Generated/Java/Lang/Reflect/AnnotatedElement.cs index 7eb1b17e8..82254b048 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Reflect/AnnotatedElement.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Reflect/AnnotatedElement.cs @@ -71,7 +71,7 @@ public partial class AnnotatedElement : Java.Lang.Reflect.IAnnotatedElement /// public T GetAnnotation(Java.Lang.Class arg0) where T : Java.Lang.Annotation.IAnnotation, new() { - return IExecute("getAnnotation", arg0); + return IExecuteWithSignature("getAnnotation", "(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;", arg0); } /// /// @@ -97,7 +97,7 @@ public Java.Lang.Annotation.Annotation[] GetDeclaredAnnotations() /// public T GetDeclaredAnnotation(Java.Lang.Class arg0) where T : Java.Lang.Annotation.IAnnotation, new() { - return IExecute("getDeclaredAnnotation", arg0); + return IExecuteWithSignature("getDeclaredAnnotation", "(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;", arg0); } /// /// @@ -107,7 +107,7 @@ public Java.Lang.Annotation.Annotation[] GetDeclaredAnnotations() /// public T[] GetAnnotationsByType(Java.Lang.Class arg0) where T : Java.Lang.Annotation.IAnnotation, new() { - return IExecuteArray("getAnnotationsByType", arg0); + return IExecuteWithSignatureArray("getAnnotationsByType", "(Ljava/lang/Class;)[Ljava/lang/annotation/Annotation;", arg0); } /// /// @@ -117,7 +117,7 @@ public Java.Lang.Annotation.Annotation[] GetDeclaredAnnotations() /// public T[] GetDeclaredAnnotationsByType(Java.Lang.Class arg0) where T : Java.Lang.Annotation.IAnnotation, new() { - return IExecuteArray("getDeclaredAnnotationsByType", arg0); + return IExecuteWithSignatureArray("getDeclaredAnnotationsByType", "(Ljava/lang/Class;)[Ljava/lang/annotation/Annotation;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Java/Lang/Reflect/Executable.cs b/src/net/Netdroid/Generated/Java/Lang/Reflect/Executable.cs index fc0bf355e..6c977945a 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Reflect/Executable.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Reflect/Executable.cs @@ -139,7 +139,7 @@ public bool IsVarArgs() /// public int GetParameterCount() { - return IExecute("getParameterCount"); + return IExecuteWithSignature("getParameterCount", "()I"); } /// /// diff --git a/src/net/Netdroid/Generated/Java/Lang/Reflect/InvocationHandler.cs b/src/net/Netdroid/Generated/Java/Lang/Reflect/InvocationHandler.cs index e73253f1c..a267125a1 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Reflect/InvocationHandler.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Reflect/InvocationHandler.cs @@ -59,6 +59,18 @@ public partial class InvocationHandler : Java.Lang.Reflect.IInvocationHandler #endregion #region Static methods + /// + /// + /// + /// + /// + /// + /// + /// + public static object InvokeDefault(object arg0, Java.Lang.Reflect.Method arg1, params object[] arg2) + { + if (arg2.Length == 0) return SExecute(LocalBridgeClazz, "invokeDefault", arg0, arg1); else return SExecute(LocalBridgeClazz, "invokeDefault", arg0, arg1, arg2); + } #endregion diff --git a/src/net/Netdroid/Generated/Java/Lang/Reflect/Parameter.cs b/src/net/Netdroid/Generated/Java/Lang/Reflect/Parameter.cs index 521dfcb5c..fe970615f 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Reflect/Parameter.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Reflect/Parameter.cs @@ -53,7 +53,7 @@ public partial class Parameter /// public T GetAnnotation(Java.Lang.Class arg0) where T : Java.Lang.Annotation.IAnnotation, new() { - return IExecute("getAnnotation", arg0); + return IExecuteWithSignature("getAnnotation", "(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;", arg0); } /// /// @@ -63,7 +63,7 @@ public partial class Parameter /// public T GetDeclaredAnnotation(Java.Lang.Class arg0) where T : Java.Lang.Annotation.IAnnotation, new() { - return IExecute("getDeclaredAnnotation", arg0); + return IExecuteWithSignature("getDeclaredAnnotation", "(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;", arg0); } /// /// @@ -73,7 +73,7 @@ public partial class Parameter /// public T[] GetAnnotationsByType(Java.Lang.Class arg0) where T : Java.Lang.Annotation.IAnnotation, new() { - return IExecuteArray("getAnnotationsByType", arg0); + return IExecuteWithSignatureArray("getAnnotationsByType", "(Ljava/lang/Class;)[Ljava/lang/annotation/Annotation;", arg0); } /// /// @@ -83,7 +83,7 @@ public partial class Parameter /// public T[] GetDeclaredAnnotationsByType(Java.Lang.Class arg0) where T : Java.Lang.Annotation.IAnnotation, new() { - return IExecuteArray("getDeclaredAnnotationsByType", arg0); + return IExecuteWithSignatureArray("getDeclaredAnnotationsByType", "(Ljava/lang/Class;)[Ljava/lang/annotation/Annotation;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Java/Lang/Reflect/RecordComponent.cs b/src/net/Netdroid/Generated/Java/Lang/Reflect/RecordComponent.cs new file mode 100644 index 000000000..31c87b061 --- /dev/null +++ b/src/net/Netdroid/Generated/Java/Lang/Reflect/RecordComponent.cs @@ -0,0 +1,132 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Java.Lang.Reflect +{ + #region RecordComponent + public partial class RecordComponent + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + /// + public T GetAnnotation(Java.Lang.Class arg0) where T : Java.Lang.Annotation.IAnnotation, new() + { + return IExecuteWithSignature("getAnnotation", "(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;", arg0); + } + /// + /// + /// + /// + public Java.Lang.Annotation.Annotation[] GetAnnotations() + { + return IExecuteWithSignatureArray("getAnnotations", "()[Ljava/lang/annotation/Annotation;"); + } + /// + /// + /// + /// + public Java.Lang.Annotation.Annotation[] GetDeclaredAnnotations() + { + return IExecuteWithSignatureArray("getDeclaredAnnotations", "()[Ljava/lang/annotation/Annotation;"); + } + /// + /// + /// + /// + public Java.Lang.Class GetDeclaringRecord() + { + return IExecuteWithSignature("getDeclaringRecord", "()Ljava/lang/Class;"); + } + /// + /// + /// + /// + public Java.Lang.Class GetType() + { + return IExecuteWithSignature("getType", "()Ljava/lang/Class;"); + } + /// + /// + /// + /// + public Java.Lang.Reflect.Method GetAccessor() + { + return IExecuteWithSignature("getAccessor", "()Ljava/lang/reflect/Method;"); + } + /// + /// + /// + /// + public Java.Lang.Reflect.Type GetGenericType() + { + return IExecuteWithSignature("getGenericType", "()Ljava/lang/reflect/Type;"); + } + /// + /// + /// + /// + public Java.Lang.String GetGenericSignature() + { + return IExecuteWithSignature("getGenericSignature", "()Ljava/lang/String;"); + } + /// + /// + /// + /// + public Java.Lang.String GetName() + { + return IExecuteWithSignature("getName", "()Ljava/lang/String;"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Java/Lang/Runtime.cs b/src/net/Netdroid/Generated/Java/Lang/Runtime.cs index 02ec1e3d0..232f36cda 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Runtime.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Runtime.cs @@ -214,24 +214,6 @@ public void RunFinalization() { IExecuteWithSignature("runFinalization", "()V"); } - /// - /// - /// - /// - [global::System.Obsolete()] - public void TraceInstructions(bool arg0) - { - IExecute("traceInstructions", arg0); - } - /// - /// - /// - /// - [global::System.Obsolete()] - public void TraceMethodCalls(bool arg0) - { - IExecute("traceMethodCalls", arg0); - } #endregion diff --git a/src/net/Netdroid/Generated/Java/Lang/Runtime/AllPackageClasses.cs b/src/net/Netdroid/Generated/Java/Lang/Runtime/AllPackageClasses.cs new file mode 100644 index 000000000..057139c58 --- /dev/null +++ b/src/net/Netdroid/Generated/Java/Lang/Runtime/AllPackageClasses.cs @@ -0,0 +1,75 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge.JVMInterop; +using System; + +namespace Java.Lang.Runtime +{ + #region ObjectMethods + /// + /// + /// + public partial class ObjectMethods : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "java.lang.runtime.ObjectMethods"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public ObjectMethods() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public ObjectMethods(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + + +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Java/Lang/Runtime/ObjectMethods.cs b/src/net/Netdroid/Generated/Java/Lang/Runtime/ObjectMethods.cs new file mode 100644 index 000000000..cee76e56f --- /dev/null +++ b/src/net/Netdroid/Generated/Java/Lang/Runtime/ObjectMethods.cs @@ -0,0 +1,73 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Java.Lang.Runtime +{ + #region ObjectMethods + public partial class ObjectMethods + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + public static object Bootstrap(Java.Lang.Invoke.MethodHandles.Lookup arg0, Java.Lang.String arg1, Java.Lang.Invoke.TypeDescriptor arg2, Java.Lang.Class arg3, Java.Lang.String arg4, params Java.Lang.Invoke.MethodHandle[] arg5) + { + if (arg5.Length == 0) return SExecute(LocalBridgeClazz, "bootstrap", arg0, arg1, arg2, arg3, arg4); else return SExecute(LocalBridgeClazz, "bootstrap", arg0, arg1, arg2, arg3, arg4, arg5); + } + + #endregion + + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Java/Lang/Short.cs b/src/net/Netdroid/Generated/Java/Lang/Short.cs index dfcdb7b8b..ea2b8bc76 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Short.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Short.cs @@ -26,7 +26,7 @@ namespace Java.Lang { #region Short - public partial class Short + public partial class Short : Java.Lang.IComparable { #region Constructors /// diff --git a/src/net/Netdroid/Generated/Java/Lang/StrictMath.cs b/src/net/Netdroid/Generated/Java/Lang/StrictMath.cs index 539b34493..0aba90d53 100644 --- a/src/net/Netdroid/Generated/Java/Lang/StrictMath.cs +++ b/src/net/Netdroid/Generated/Java/Lang/StrictMath.cs @@ -224,6 +224,24 @@ public static double Signum(double arg0) return SExecuteWithSignature(LocalBridgeClazz, "signum", "(D)D", arg0); } /// + /// + /// + /// + /// + public static double ToDegrees(double arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "toDegrees", "(D)D", arg0); + } + /// + /// + /// + /// + /// + public static double ToRadians(double arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "toRadians", "(D)D", arg0); + } + /// /// /// /// @@ -348,6 +366,15 @@ public static int Abs(int arg0) return SExecuteWithSignature(LocalBridgeClazz, "abs", "(I)I", arg0); } /// + /// + /// + /// + /// + public static int AbsExact(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "absExact", "(I)I", arg0); + } + /// /// /// /// @@ -358,6 +385,15 @@ public static int AddExact(int arg0, int arg1) return SExecute(LocalBridgeClazz, "addExact", arg0, arg1); } /// + /// + /// + /// + /// + public static int DecrementExact(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "decrementExact", "(I)I", arg0); + } + /// /// /// /// @@ -406,6 +442,15 @@ public static int GetExponent(float arg0) return SExecuteWithSignature(LocalBridgeClazz, "getExponent", "(F)I", arg0); } /// + /// + /// + /// + /// + public static int IncrementExact(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "incrementExact", "(I)I", arg0); + } + /// /// /// /// @@ -436,6 +481,15 @@ public static int MultiplyExact(int arg0, int arg1) return SExecute(LocalBridgeClazz, "multiplyExact", arg0, arg1); } /// + /// + /// + /// + /// + public static int NegateExact(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "negateExact", "(I)I", arg0); + } + /// /// /// /// @@ -473,6 +527,15 @@ public static long Abs(long arg0) return SExecuteWithSignature(LocalBridgeClazz, "abs", "(J)J", arg0); } /// + /// + /// + /// + /// + public static long AbsExact(long arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "absExact", "(J)J", arg0); + } + /// /// /// /// @@ -483,6 +546,15 @@ public static long AddExact(long arg0, long arg1) return SExecute(LocalBridgeClazz, "addExact", arg0, arg1); } /// + /// + /// + /// + /// + public static long DecrementExact(long arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "decrementExact", "(J)J", arg0); + } + /// /// /// /// @@ -513,6 +585,15 @@ public static long FloorMod(long arg0, long arg1) return SExecute(LocalBridgeClazz, "floorMod", arg0, arg1); } /// + /// + /// + /// + /// + public static long IncrementExact(long arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "incrementExact", "(J)J", arg0); + } + /// /// /// /// @@ -573,6 +654,15 @@ public static long MultiplyHigh(long arg0, long arg1) return SExecute(LocalBridgeClazz, "multiplyHigh", arg0, arg1); } /// + /// + /// + /// + /// + public static long NegateExact(long arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "negateExact", "(J)J", arg0); + } + /// /// /// /// @@ -598,7 +688,7 @@ public static long SubtractExact(long arg0, long arg1) /// public static double Acos(double arg0) { - return SExecute(LocalBridgeClazz, "acos", arg0); + return SExecuteWithSignature(LocalBridgeClazz, "acos", "(D)D", arg0); } /// /// @@ -607,7 +697,7 @@ public static double Acos(double arg0) /// public static double Asin(double arg0) { - return SExecute(LocalBridgeClazz, "asin", arg0); + return SExecuteWithSignature(LocalBridgeClazz, "asin", "(D)D", arg0); } /// /// @@ -616,7 +706,7 @@ public static double Asin(double arg0) /// public static double Atan(double arg0) { - return SExecute(LocalBridgeClazz, "atan", arg0); + return SExecuteWithSignature(LocalBridgeClazz, "atan", "(D)D", arg0); } /// /// @@ -635,7 +725,7 @@ public static double Atan2(double arg0, double arg1) /// public static double Cos(double arg0) { - return SExecute(LocalBridgeClazz, "cos", arg0); + return SExecuteWithSignature(LocalBridgeClazz, "cos", "(D)D", arg0); } /// /// @@ -644,7 +734,7 @@ public static double Cos(double arg0) /// public static double Cosh(double arg0) { - return SExecute(LocalBridgeClazz, "cosh", arg0); + return SExecuteWithSignature(LocalBridgeClazz, "cosh", "(D)D", arg0); } /// /// @@ -653,7 +743,7 @@ public static double Cosh(double arg0) /// public static double Expm1(double arg0) { - return SExecute(LocalBridgeClazz, "expm1", arg0); + return SExecuteWithSignature(LocalBridgeClazz, "expm1", "(D)D", arg0); } /// /// @@ -672,7 +762,7 @@ public static double IEEEremainder(double arg0, double arg1) /// public static double Log(double arg0) { - return SExecute(LocalBridgeClazz, "log", arg0); + return SExecuteWithSignature(LocalBridgeClazz, "log", "(D)D", arg0); } /// /// @@ -681,7 +771,7 @@ public static double Log(double arg0) /// public static double Log10(double arg0) { - return SExecute(LocalBridgeClazz, "log10", arg0); + return SExecuteWithSignature(LocalBridgeClazz, "log10", "(D)D", arg0); } /// /// @@ -690,7 +780,7 @@ public static double Log10(double arg0) /// public static double Log1p(double arg0) { - return SExecute(LocalBridgeClazz, "log1p", arg0); + return SExecuteWithSignature(LocalBridgeClazz, "log1p", "(D)D", arg0); } /// /// @@ -699,7 +789,7 @@ public static double Log1p(double arg0) /// public static double Sin(double arg0) { - return SExecute(LocalBridgeClazz, "sin", arg0); + return SExecuteWithSignature(LocalBridgeClazz, "sin", "(D)D", arg0); } /// /// @@ -708,7 +798,7 @@ public static double Sin(double arg0) /// public static double Sinh(double arg0) { - return SExecute(LocalBridgeClazz, "sinh", arg0); + return SExecuteWithSignature(LocalBridgeClazz, "sinh", "(D)D", arg0); } /// /// @@ -717,7 +807,7 @@ public static double Sinh(double arg0) /// public static double Sqrt(double arg0) { - return SExecute(LocalBridgeClazz, "sqrt", arg0); + return SExecuteWithSignature(LocalBridgeClazz, "sqrt", "(D)D", arg0); } /// /// @@ -726,7 +816,7 @@ public static double Sqrt(double arg0) /// public static double Tan(double arg0) { - return SExecute(LocalBridgeClazz, "tan", arg0); + return SExecuteWithSignature(LocalBridgeClazz, "tan", "(D)D", arg0); } /// /// @@ -735,25 +825,7 @@ public static double Tan(double arg0) /// public static double Tanh(double arg0) { - return SExecute(LocalBridgeClazz, "tanh", arg0); - } - /// - /// - /// - /// - /// - public static double ToDegrees(double arg0) - { - return SExecute(LocalBridgeClazz, "toDegrees", arg0); - } - /// - /// - /// - /// - /// - public static double ToRadians(double arg0) - { - return SExecute(LocalBridgeClazz, "toRadians", arg0); + return SExecuteWithSignature(LocalBridgeClazz, "tanh", "(D)D", arg0); } #endregion diff --git a/src/net/Netdroid/Generated/Java/Lang/String.cs b/src/net/Netdroid/Generated/Java/Lang/String.cs index be1445cc7..00dee33ee 100644 --- a/src/net/Netdroid/Generated/Java/Lang/String.cs +++ b/src/net/Netdroid/Generated/Java/Lang/String.cs @@ -337,6 +337,18 @@ public static Java.Lang.String ValueOf(long arg0) #region Instance methods /// + /// + /// + /// + /// + /// + /// + /// + public R Transform(Java.Util.Function.Function arg0) where Arg0objectSuperJava_Lang_String : Java.Lang.String where Arg0ExtendsR : R + { + return IExecuteWithSignature("transform", "(Ljava/util/function/Function;)Ljava/lang/Object;", arg0); + } + /// /// /// /// @@ -654,6 +666,16 @@ public Java.Lang.CharSequence SubSequence(int arg0, int arg1) return IExecute("subSequence", arg0, arg1); } /// + /// + /// + /// + /// + /// + public object ResolveConstantDesc(Java.Lang.Invoke.MethodHandles.Lookup arg0) + { + return IExecuteWithSignature("resolveConstantDesc", "(Ljava/lang/invoke/MethodHandles$Lookup;)Ljava/lang/Object;", arg0); + } + /// /// /// /// @@ -663,6 +685,24 @@ public Java.Lang.String Concat(Java.Lang.String arg0) return IExecuteWithSignature("concat", "(Ljava/lang/String;)Ljava/lang/String;", arg0); } /// + /// + /// + /// + /// + public Java.Lang.String Formatted(params object[] arg0) + { + if (arg0.Length == 0) return IExecuteWithSignature("formatted", "([Ljava/lang/Object;)Ljava/lang/String;"); else return IExecuteWithSignature("formatted", "([Ljava/lang/Object;)Ljava/lang/String;", arg0); + } + /// + /// + /// + /// + /// + public Java.Lang.String Indent(int arg0) + { + return IExecuteWithSignature("indent", "(I)Ljava/lang/String;", arg0); + } + /// /// /// /// @@ -720,6 +760,14 @@ public Java.Lang.String Strip() return IExecuteWithSignature("strip", "()Ljava/lang/String;"); } /// + /// + /// + /// + public Java.Lang.String StripIndent() + { + return IExecuteWithSignature("stripIndent", "()Ljava/lang/String;"); + } + /// /// /// /// @@ -789,6 +837,14 @@ public Java.Lang.String ToUpperCase(Java.Util.Locale arg0) return IExecuteWithSignature("toUpperCase", "(Ljava/util/Locale;)Ljava/lang/String;", arg0); } /// + /// + /// + /// + public Java.Lang.String TranslateEscapes() + { + return IExecuteWithSignature("translateEscapes", "()Ljava/lang/String;"); + } + /// /// /// /// @@ -816,6 +872,14 @@ public Java.Lang.String[] Split(Java.Lang.String arg0) return IExecuteWithSignatureArray("split", "(Ljava/lang/String;)[Ljava/lang/String;", arg0); } /// + /// + /// + /// + public Java.Util.Optional DescribeConstable() + { + return IExecuteWithSignature>("describeConstable", "()Ljava/util/Optional;"); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Lang/System.cs b/src/net/Netdroid/Generated/Java/Lang/System.cs index 4acc929eb..960edad4d 100644 --- a/src/net/Netdroid/Generated/Java/Lang/System.cs +++ b/src/net/Netdroid/Generated/Java/Lang/System.cs @@ -71,6 +71,7 @@ public static Java.Io.Console Console() /// /// /// + [global::System.Obsolete()] public static Java.Lang.SecurityManager GetSecurityManager() { return SExecuteWithSignature(LocalBridgeClazz, "getSecurityManager", "()Ljava/lang/SecurityManager;"); @@ -275,6 +276,7 @@ public static void SetProperties(Java.Util.Properties arg0) /// /// /// + [global::System.Obsolete()] public static void SetSecurityManager(Java.Lang.SecurityManager arg0) { SExecuteWithSignature(LocalBridgeClazz, "setSecurityManager", "(Ljava/lang/SecurityManager;)V", arg0); diff --git a/src/net/Netdroid/Generated/Java/Lang/Thread.cs b/src/net/Netdroid/Generated/Java/Lang/Thread.cs index 588cc62ab..d973b90dc 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Thread.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Thread.cs @@ -192,14 +192,14 @@ public static Java.Lang.Thread CurrentThread() /// public static void Sleep(long arg0) { - SExecute(LocalBridgeClazz, "sleep", arg0); + SExecuteWithSignature(LocalBridgeClazz, "sleep", "(J)V", arg0); } /// /// /// public static void Yield() { - SExecute(LocalBridgeClazz, "yield"); + SExecuteWithSignature(LocalBridgeClazz, "yield", "()V"); } /// /// @@ -238,6 +238,14 @@ public bool IsInterrupted() return IExecuteWithSignature("isInterrupted", "()Z"); } /// + /// + /// + /// + public bool IsAlive() + { + return IExecuteWithSignature("isAlive", "()Z"); + } + /// /// /// /// @@ -270,14 +278,6 @@ public Java.Lang.ThreadGroup GetThreadGroup() return IExecuteWithSignature("getThreadGroup", "()Ljava/lang/ThreadGroup;"); } /// - /// - /// - /// - public bool IsAlive() - { - return IExecute("isAlive"); - } - /// /// /// /// @@ -294,7 +294,7 @@ public void Join(long arg0, int arg1) /// public void Join(long arg0) { - IExecute("join", arg0); + IExecuteWithSignature("join", "(J)V", arg0); } /// /// @@ -307,6 +307,7 @@ public void SetName(Java.Lang.String arg0) /// /// /// + [global::System.Obsolete()] public void CheckAccess() { IExecuteWithSignature("checkAccess", "()V"); @@ -360,6 +361,15 @@ public void Suspend() IExecuteWithSignature("suspend", "()V"); } /// + /// + /// + /// + [global::System.Obsolete()] + public int CountStackFrames() + { + return IExecuteWithSignature("countStackFrames", "()I"); + } + /// /// /// /// @@ -392,20 +402,11 @@ public long GetId() return IExecuteWithSignature("getId", "()J"); } /// - /// - /// - /// - [global::System.Obsolete()] - public int CountStackFrames() - { - return IExecute("countStackFrames"); - } - /// /// /// public void Start() { - IExecute("start"); + IExecuteWithSignature("start", "()V"); } /// /// diff --git a/src/net/Netdroid/Generated/Java/Lang/ThreadGroup.cs b/src/net/Netdroid/Generated/Java/Lang/ThreadGroup.cs index 22cb40eee..a321c74fe 100644 --- a/src/net/Netdroid/Generated/Java/Lang/ThreadGroup.cs +++ b/src/net/Netdroid/Generated/Java/Lang/ThreadGroup.cs @@ -70,12 +70,13 @@ public ThreadGroup(Java.Lang.ThreadGroup arg0, Java.Lang.String arg1) [global::System.Obsolete()] public bool AllowThreadSuspension(bool arg0) { - return IExecute("allowThreadSuspension", arg0); + return IExecuteWithSignature("allowThreadSuspension", "(Z)Z", arg0); } /// /// /// /// + [global::System.Obsolete()] public bool IsDaemon() { return IExecuteWithSignature("isDaemon", "()Z"); @@ -116,6 +117,7 @@ public Java.Lang.ThreadGroup GetParent() /// /// /// + [global::System.Obsolete()] public void CheckAccess() { IExecuteWithSignature("checkAccess", "()V"); @@ -123,6 +125,7 @@ public void CheckAccess() /// /// /// + [global::System.Obsolete()] public void Destroy() { IExecuteWithSignature("destroy", "()V"); @@ -146,6 +149,7 @@ public void Resume() /// /// /// + [global::System.Obsolete()] public void SetDaemon(bool arg0) { IExecuteWithSignature("setDaemon", "(Z)V", arg0); @@ -232,9 +236,10 @@ public int Enumerate(Java.Lang.ThreadGroup[] arg0) /// /// /// + [global::System.Obsolete()] public bool IsDestroyed() { - return IExecute("isDestroyed"); + return IExecuteWithSignature("isDestroyed", "()Z"); } /// /// diff --git a/src/net/Netdroid/Generated/Java/Net/DatagramSocket.cs b/src/net/Netdroid/Generated/Java/Net/DatagramSocket.cs index b506a8582..d8e804f6a 100644 --- a/src/net/Netdroid/Generated/Java/Net/DatagramSocket.cs +++ b/src/net/Netdroid/Generated/Java/Net/DatagramSocket.cs @@ -74,6 +74,7 @@ public DatagramSocket(Java.Net.SocketAddress arg0) /// /// /// + [global::System.Obsolete()] public static void SetDatagramSocketImplFactory(Java.Net.DatagramSocketImplFactory arg0) { SExecuteWithSignature(LocalBridgeClazz, "setDatagramSocketImplFactory", "(Ljava/net/DatagramSocketImplFactory;)V", arg0); @@ -106,6 +107,24 @@ public T GetOption(Java.Net.SocketOption arg0) return IExecuteWithSignature("getOption", "(Ljava/net/SocketOption;)Ljava/lang/Object;", arg0); } /// + /// + /// + /// + /// + public bool GetBroadcast() + { + return IExecuteWithSignature("getBroadcast", "()Z"); + } + /// + /// + /// + /// + /// + public bool GetReuseAddress() + { + return IExecuteWithSignature("getReuseAddress", "()Z"); + } + /// /// /// /// @@ -146,6 +165,42 @@ public int GetPort() return IExecuteWithSignature("getPort", "()I"); } /// + /// + /// + /// + /// + public int GetReceiveBufferSize() + { + return IExecuteWithSignature("getReceiveBufferSize", "()I"); + } + /// + /// + /// + /// + /// + public int GetSendBufferSize() + { + return IExecuteWithSignature("getSendBufferSize", "()I"); + } + /// + /// + /// + /// + /// + public int GetSoTimeout() + { + return IExecuteWithSignature("getSoTimeout", "()I"); + } + /// + /// + /// + /// + /// + public int GetTrafficClass() + { + return IExecuteWithSignature("getTrafficClass", "()I"); + } + /// /// /// /// @@ -194,67 +249,65 @@ public Java.Nio.Channels.DatagramChannel GetChannel() return IExecuteWithSignature>>("supportedOptions", "()Ljava/util/Set;"); } /// - /// + /// /// - /// + /// /// - public bool GetBroadcast() + public void Bind(Java.Net.SocketAddress arg0) { - return IExecute("getBroadcast"); + IExecuteWithSignature("bind", "(Ljava/net/SocketAddress;)V", arg0); } /// - /// + /// /// - /// - /// - public bool GetReuseAddress() + public void Close() { - return IExecute("getReuseAddress"); + IExecuteWithSignature("close", "()V"); } /// - /// + /// /// - /// - /// - public int GetReceiveBufferSize() + /// + /// + public void Connect(Java.Net.InetAddress arg0, int arg1) { - return IExecute("getReceiveBufferSize"); + IExecute("connect", arg0, arg1); } /// - /// + /// /// - /// + /// /// - public int GetSendBufferSize() + public void Connect(Java.Net.SocketAddress arg0) { - return IExecute("getSendBufferSize"); + IExecuteWithSignature("connect", "(Ljava/net/SocketAddress;)V", arg0); } /// - /// + /// /// - /// - /// - public int GetSoTimeout() + public void Disconnect() { - return IExecute("getSoTimeout"); + IExecuteWithSignature("disconnect", "()V"); } /// - /// + /// /// - /// - /// - public int GetTrafficClass() + /// + /// + /// + public void JoinGroup(Java.Net.SocketAddress arg0, Java.Net.NetworkInterface arg1) { - return IExecute("getTrafficClass"); + IExecute("joinGroup", arg0, arg1); } /// - /// + /// /// /// - /// - public void Bind(Java.Net.SocketAddress arg0) + /// + /// + public void LeaveGroup(Java.Net.SocketAddress arg0, Java.Net.NetworkInterface arg1) { - IExecute("bind", arg0); + IExecute("leaveGroup", arg0, arg1); } /// /// @@ -263,7 +316,16 @@ public void Bind(Java.Net.SocketAddress arg0) /// public void Receive(Java.Net.DatagramPacket arg0) { - IExecute("receive", arg0); + IExecuteWithSignature("receive", "(Ljava/net/DatagramPacket;)V", arg0); + } + /// + /// + /// + /// + /// + public void Send(Java.Net.DatagramPacket arg0) + { + IExecuteWithSignature("send", "(Ljava/net/DatagramPacket;)V", arg0); } /// /// @@ -272,7 +334,7 @@ public void Receive(Java.Net.DatagramPacket arg0) /// public void SetBroadcast(bool arg0) { - IExecute("setBroadcast", arg0); + IExecuteWithSignature("setBroadcast", "(Z)V", arg0); } /// /// @@ -281,7 +343,7 @@ public void SetBroadcast(bool arg0) /// public void SetReceiveBufferSize(int arg0) { - IExecute("setReceiveBufferSize", arg0); + IExecuteWithSignature("setReceiveBufferSize", "(I)V", arg0); } /// /// @@ -290,7 +352,7 @@ public void SetReceiveBufferSize(int arg0) /// public void SetReuseAddress(bool arg0) { - IExecute("setReuseAddress", arg0); + IExecuteWithSignature("setReuseAddress", "(Z)V", arg0); } /// /// @@ -299,7 +361,7 @@ public void SetReuseAddress(bool arg0) /// public void SetSendBufferSize(int arg0) { - IExecute("setSendBufferSize", arg0); + IExecuteWithSignature("setSendBufferSize", "(I)V", arg0); } /// /// @@ -308,7 +370,7 @@ public void SetSendBufferSize(int arg0) /// public void SetSoTimeout(int arg0) { - IExecute("setSoTimeout", arg0); + IExecuteWithSignature("setSoTimeout", "(I)V", arg0); } /// /// @@ -317,48 +379,7 @@ public void SetSoTimeout(int arg0) /// public void SetTrafficClass(int arg0) { - IExecute("setTrafficClass", arg0); - } - /// - /// - /// - public void Close() - { - IExecuteWithSignature("close", "()V"); - } - /// - /// - /// - /// - /// - public void Connect(Java.Net.InetAddress arg0, int arg1) - { - IExecute("connect", arg0, arg1); - } - /// - /// - /// - /// - /// - public void Connect(Java.Net.SocketAddress arg0) - { - IExecuteWithSignature("connect", "(Ljava/net/SocketAddress;)V", arg0); - } - /// - /// - /// - public void Disconnect() - { - IExecuteWithSignature("disconnect", "()V"); - } - /// - /// - /// - /// - /// - public void Send(Java.Net.DatagramPacket arg0) - { - IExecuteWithSignature("send", "(Ljava/net/DatagramPacket;)V", arg0); + IExecuteWithSignature("setTrafficClass", "(I)V", arg0); } #endregion diff --git a/src/net/Netdroid/Generated/Java/Net/MulticastSocket.cs b/src/net/Netdroid/Generated/Java/Net/MulticastSocket.cs index d6b2d591f..6b89522d4 100644 --- a/src/net/Netdroid/Generated/Java/Net/MulticastSocket.cs +++ b/src/net/Netdroid/Generated/Java/Net/MulticastSocket.cs @@ -68,6 +68,7 @@ public MulticastSocket(Java.Net.SocketAddress arg0) /// /// /// + [global::System.Obsolete()] public bool GetLoopbackMode() { return IExecuteWithSignature("getLoopbackMode", "()Z"); @@ -96,6 +97,7 @@ public int GetTimeToLive() /// /// /// + [global::System.Obsolete()] public Java.Net.InetAddress GetInterface() { return IExecuteWithSignature("getInterface", "()Ljava/net/InetAddress;"); @@ -114,40 +116,22 @@ public Java.Net.NetworkInterface GetNetworkInterface() /// /// /// + [global::System.Obsolete()] public void JoinGroup(Java.Net.InetAddress arg0) { IExecuteWithSignature("joinGroup", "(Ljava/net/InetAddress;)V", arg0); } /// - /// - /// - /// - /// - /// - public void JoinGroup(Java.Net.SocketAddress arg0, Java.Net.NetworkInterface arg1) - { - IExecute("joinGroup", arg0, arg1); - } - /// /// /// /// /// + [global::System.Obsolete()] public void LeaveGroup(Java.Net.InetAddress arg0) { IExecuteWithSignature("leaveGroup", "(Ljava/net/InetAddress;)V", arg0); } /// - /// - /// - /// - /// - /// - public void LeaveGroup(Java.Net.SocketAddress arg0, Java.Net.NetworkInterface arg1) - { - IExecute("leaveGroup", arg0, arg1); - } - /// /// /// /// @@ -163,6 +147,7 @@ public void Send(Java.Net.DatagramPacket arg0, byte arg1) /// /// /// + [global::System.Obsolete()] public void SetInterface(Java.Net.InetAddress arg0) { IExecuteWithSignature("setInterface", "(Ljava/net/InetAddress;)V", arg0); @@ -172,6 +157,7 @@ public void SetInterface(Java.Net.InetAddress arg0) /// /// /// + [global::System.Obsolete()] public void SetLoopbackMode(bool arg0) { IExecuteWithSignature("setLoopbackMode", "(Z)V", arg0); diff --git a/src/net/Netdroid/Generated/Java/Net/SecureCacheResponse.cs b/src/net/Netdroid/Generated/Java/Net/SecureCacheResponse.cs index 4da9075d3..29a7b17b6 100644 --- a/src/net/Netdroid/Generated/Java/Net/SecureCacheResponse.cs +++ b/src/net/Netdroid/Generated/Java/Net/SecureCacheResponse.cs @@ -87,6 +87,14 @@ public Java.Security.Principal GetPeerPrincipal() { return IExecuteWithSignature>("getServerCertificateChain", "()Ljava/util/List;"); } + /// + /// + /// + /// + public Java.Util.Optional GetSSLSession() + { + return IExecuteWithSignature>("getSSLSession", "()Ljava/util/Optional;"); + } #endregion diff --git a/src/net/Netdroid/Generated/Java/Net/ServerSocket.cs b/src/net/Netdroid/Generated/Java/Net/ServerSocket.cs index 7f833c05e..a1f1318c7 100644 --- a/src/net/Netdroid/Generated/Java/Net/ServerSocket.cs +++ b/src/net/Netdroid/Generated/Java/Net/ServerSocket.cs @@ -76,6 +76,7 @@ public ServerSocket(int arg0) /// /// /// + [global::System.Obsolete()] public static void SetSocketFactory(Java.Net.SocketImplFactory arg0) { SExecuteWithSignature(LocalBridgeClazz, "setSocketFactory", "(Ljava/net/SocketImplFactory;)V", arg0); @@ -188,7 +189,7 @@ public Java.Nio.Channels.ServerSocketChannel GetChannel() /// public int GetReceiveBufferSize() { - return IExecute("getReceiveBufferSize"); + return IExecuteWithSignature("getReceiveBufferSize", "()I"); } /// /// @@ -197,7 +198,7 @@ public int GetReceiveBufferSize() /// public int GetSoTimeout() { - return IExecute("getSoTimeout"); + return IExecuteWithSignature("getSoTimeout", "()I"); } /// /// @@ -206,7 +207,7 @@ public int GetSoTimeout() /// public void SetReceiveBufferSize(int arg0) { - IExecute("setReceiveBufferSize", arg0); + IExecuteWithSignature("setReceiveBufferSize", "(I)V", arg0); } /// /// @@ -215,7 +216,7 @@ public void SetReceiveBufferSize(int arg0) /// public void SetSoTimeout(int arg0) { - IExecute("setSoTimeout", arg0); + IExecuteWithSignature("setSoTimeout", "(I)V", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Java/Net/Socket.cs b/src/net/Netdroid/Generated/Java/Net/Socket.cs index 18d2d0b40..ed1ecf604 100644 --- a/src/net/Netdroid/Generated/Java/Net/Socket.cs +++ b/src/net/Netdroid/Generated/Java/Net/Socket.cs @@ -123,6 +123,7 @@ public Socket(Java.Net.Proxy arg0) /// /// /// + [global::System.Obsolete()] public static void SetSocketImplFactory(Java.Net.SocketImplFactory arg0) { SExecuteWithSignature(LocalBridgeClazz, "setSocketImplFactory", "(Ljava/net/SocketImplFactory;)V", arg0); @@ -337,7 +338,7 @@ public Java.Nio.Channels.SocketChannel GetChannel() /// public int GetReceiveBufferSize() { - return IExecute("getReceiveBufferSize"); + return IExecuteWithSignature("getReceiveBufferSize", "()I"); } /// /// @@ -346,7 +347,7 @@ public int GetReceiveBufferSize() /// public int GetSendBufferSize() { - return IExecute("getSendBufferSize"); + return IExecuteWithSignature("getSendBufferSize", "()I"); } /// /// @@ -355,7 +356,7 @@ public int GetSendBufferSize() /// public int GetSoTimeout() { - return IExecute("getSoTimeout"); + return IExecuteWithSignature("getSoTimeout", "()I"); } /// /// @@ -363,7 +364,7 @@ public int GetSoTimeout() /// public void Close() { - IExecute("close"); + IExecuteWithSignature("close", "()V"); } /// /// @@ -372,7 +373,7 @@ public void Close() /// public void SetReceiveBufferSize(int arg0) { - IExecute("setReceiveBufferSize", arg0); + IExecuteWithSignature("setReceiveBufferSize", "(I)V", arg0); } /// /// @@ -381,7 +382,7 @@ public void SetReceiveBufferSize(int arg0) /// public void SetSendBufferSize(int arg0) { - IExecute("setSendBufferSize", arg0); + IExecuteWithSignature("setSendBufferSize", "(I)V", arg0); } /// /// @@ -390,7 +391,7 @@ public void SetSendBufferSize(int arg0) /// public void SetSoTimeout(int arg0) { - IExecute("setSoTimeout", arg0); + IExecuteWithSignature("setSoTimeout", "(I)V", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Java/Net/StandardProtocolFamily.cs b/src/net/Netdroid/Generated/Java/Net/StandardProtocolFamily.cs index 8a1de2678..495b3566b 100644 --- a/src/net/Netdroid/Generated/Java/Net/StandardProtocolFamily.cs +++ b/src/net/Netdroid/Generated/Java/Net/StandardProtocolFamily.cs @@ -53,6 +53,12 @@ public partial class StandardProtocolFamily public static Java.Net.StandardProtocolFamily INET6 { get { if (!_INET6Ready) { _INET6Content = SGetField(LocalBridgeClazz, "INET6"); _INET6Ready = true; } return _INET6Content; } } private static Java.Net.StandardProtocolFamily _INET6Content = default; private static bool _INET6Ready = false; // this is used because in case of generics + /// + /// + /// + public static Java.Net.StandardProtocolFamily UNIX { get { if (!_UNIXReady) { _UNIXContent = SGetField(LocalBridgeClazz, "UNIX"); _UNIXReady = true; } return _UNIXContent; } } + private static Java.Net.StandardProtocolFamily _UNIXContent = default; + private static bool _UNIXReady = false; // this is used because in case of generics #endregion diff --git a/src/net/Netdroid/Generated/Java/Nio/Buffer.cs b/src/net/Netdroid/Generated/Java/Nio/Buffer.cs index 3b596ee85..6aa77f84d 100644 --- a/src/net/Netdroid/Generated/Java/Nio/Buffer.cs +++ b/src/net/Netdroid/Generated/Java/Nio/Buffer.cs @@ -102,6 +102,16 @@ public Java.Nio.Buffer Slice() return IExecuteWithSignature("slice", "()Ljava/nio/Buffer;"); } /// + /// + /// + /// + /// + /// + public Java.Nio.Buffer Slice(int arg0, int arg1) + { + return IExecute("slice", arg0, arg1); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Nio/ByteBuffer.cs b/src/net/Netdroid/Generated/Java/Nio/ByteBuffer.cs index 11aee3dbc..57bbd4845 100644 --- a/src/net/Netdroid/Generated/Java/Nio/ByteBuffer.cs +++ b/src/net/Netdroid/Generated/Java/Nio/ByteBuffer.cs @@ -496,6 +496,28 @@ public Java.Nio.ByteBuffer Get(byte[] arg0) return IExecuteWithSignature("get", "([B)Ljava/nio/ByteBuffer;", new object[] { arg0 }); } /// + /// + /// + /// + /// + /// + /// + /// + public Java.Nio.ByteBuffer Get(int arg0, byte[] arg1, int arg2, int arg3) + { + return IExecute("get", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + public Java.Nio.ByteBuffer Get(int arg0, byte[] arg1) + { + return IExecute("get", arg0, arg1); + } + /// /// /// /// @@ -507,6 +529,40 @@ public Java.Nio.ByteBuffer Put(byte[] arg0, int arg1, int arg2) return IExecute("put", arg0, arg1, arg2); } /// + /// + /// + /// + /// + /// + /// + /// + public Java.Nio.ByteBuffer Put(int arg0, byte[] arg1, int arg2, int arg3) + { + return IExecute("put", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + public Java.Nio.ByteBuffer Put(int arg0, byte[] arg1) + { + return IExecute("put", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + /// + public Java.Nio.ByteBuffer Put(int arg0, Java.Nio.ByteBuffer arg1, int arg2, int arg3) + { + return IExecute("put", arg0, arg1, arg2, arg3); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Nio/Channels/ServerSocketChannel.cs b/src/net/Netdroid/Generated/Java/Nio/Channels/ServerSocketChannel.cs index c8d76b8ef..d47dc9751 100644 --- a/src/net/Netdroid/Generated/Java/Nio/Channels/ServerSocketChannel.cs +++ b/src/net/Netdroid/Generated/Java/Nio/Channels/ServerSocketChannel.cs @@ -54,6 +54,16 @@ public static Java.Nio.Channels.ServerSocketChannel Open() { return SExecuteWithSignature(LocalBridgeClazz, "open", "()Ljava/nio/channels/ServerSocketChannel;"); } + /// + /// + /// + /// + /// + /// + public static Java.Nio.Channels.ServerSocketChannel Open(Java.Net.ProtocolFamily arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "open", "(Ljava/net/ProtocolFamily;)Ljava/nio/channels/ServerSocketChannel;", arg0); + } #endregion diff --git a/src/net/Netdroid/Generated/Java/Nio/Channels/SocketChannel.cs b/src/net/Netdroid/Generated/Java/Nio/Channels/SocketChannel.cs index a8719399a..21d23ff4f 100644 --- a/src/net/Netdroid/Generated/Java/Nio/Channels/SocketChannel.cs +++ b/src/net/Netdroid/Generated/Java/Nio/Channels/SocketChannel.cs @@ -67,6 +67,16 @@ public static Java.Nio.Channels.SocketChannel Open() return SExecuteWithSignature(LocalBridgeClazz, "open", "()Ljava/nio/channels/SocketChannel;"); } /// + /// + /// + /// + /// + /// + public static Java.Nio.Channels.SocketChannel Open(Java.Net.ProtocolFamily arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "open", "(Ljava/net/ProtocolFamily;)Ljava/nio/channels/SocketChannel;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Nio/Channels/Spi/SelectorProvider.cs b/src/net/Netdroid/Generated/Java/Nio/Channels/Spi/SelectorProvider.cs index b65fda6df..18cc2ad6c 100644 --- a/src/net/Netdroid/Generated/Java/Nio/Channels/Spi/SelectorProvider.cs +++ b/src/net/Netdroid/Generated/Java/Nio/Channels/Spi/SelectorProvider.cs @@ -117,6 +117,26 @@ public Java.Nio.Channels.Channel InheritedChannel() { return IExecuteWithSignature("inheritedChannel", "()Ljava/nio/channels/Channel;"); } + /// + /// + /// + /// + /// + /// + public Java.Nio.Channels.ServerSocketChannel OpenServerSocketChannel(Java.Net.ProtocolFamily arg0) + { + return IExecuteWithSignature("openServerSocketChannel", "(Ljava/net/ProtocolFamily;)Ljava/nio/channels/ServerSocketChannel;", arg0); + } + /// + /// + /// + /// + /// + /// + public Java.Nio.Channels.SocketChannel OpenSocketChannel(Java.Net.ProtocolFamily arg0) + { + return IExecuteWithSignature("openSocketChannel", "(Ljava/net/ProtocolFamily;)Ljava/nio/channels/SocketChannel;", arg0); + } #endregion diff --git a/src/net/Netdroid/Generated/Java/Nio/CharBuffer.cs b/src/net/Netdroid/Generated/Java/Nio/CharBuffer.cs index 33d89cb6f..2699db709 100644 --- a/src/net/Netdroid/Generated/Java/Nio/CharBuffer.cs +++ b/src/net/Netdroid/Generated/Java/Nio/CharBuffer.cs @@ -171,6 +171,14 @@ public Java.Nio.CharBuffer Put(int arg0, char arg1) return IExecute("put", arg0, arg1); } /// + /// + /// + /// + public bool IsEmpty() + { + return IExecuteWithSignature("isEmpty", "()Z"); + } + /// /// /// /// @@ -305,6 +313,28 @@ public Java.Nio.CharBuffer Get(char[] arg0) return IExecuteWithSignature("get", "([C)Ljava/nio/CharBuffer;", new object[] { arg0 }); } /// + /// + /// + /// + /// + /// + /// + /// + public Java.Nio.CharBuffer Get(int arg0, char[] arg1, int arg2, int arg3) + { + return IExecute("get", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + public Java.Nio.CharBuffer Get(int arg0, char[] arg1) + { + return IExecute("get", arg0, arg1); + } + /// /// /// /// @@ -316,6 +346,40 @@ public Java.Nio.CharBuffer Put(char[] arg0, int arg1, int arg2) return IExecute("put", arg0, arg1, arg2); } /// + /// + /// + /// + /// + /// + /// + /// + public Java.Nio.CharBuffer Put(int arg0, char[] arg1, int arg2, int arg3) + { + return IExecute("put", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + public Java.Nio.CharBuffer Put(int arg0, char[] arg1) + { + return IExecute("put", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + /// + public Java.Nio.CharBuffer Put(int arg0, Java.Nio.CharBuffer arg1, int arg2, int arg3) + { + return IExecute("put", arg0, arg1, arg2, arg3); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Nio/DoubleBuffer.cs b/src/net/Netdroid/Generated/Java/Nio/DoubleBuffer.cs index 84e2909c3..4fd7142ff 100644 --- a/src/net/Netdroid/Generated/Java/Nio/DoubleBuffer.cs +++ b/src/net/Netdroid/Generated/Java/Nio/DoubleBuffer.cs @@ -195,6 +195,28 @@ public Java.Nio.DoubleBuffer Get(double[] arg0) return IExecuteWithSignature("get", "([D)Ljava/nio/DoubleBuffer;", new object[] { arg0 }); } /// + /// + /// + /// + /// + /// + /// + /// + public Java.Nio.DoubleBuffer Get(int arg0, double[] arg1, int arg2, int arg3) + { + return IExecute("get", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + public Java.Nio.DoubleBuffer Get(int arg0, double[] arg1) + { + return IExecute("get", arg0, arg1); + } + /// /// /// /// @@ -206,6 +228,40 @@ public Java.Nio.DoubleBuffer Put(double[] arg0, int arg1, int arg2) return IExecute("put", arg0, arg1, arg2); } /// + /// + /// + /// + /// + /// + /// + /// + public Java.Nio.DoubleBuffer Put(int arg0, double[] arg1, int arg2, int arg3) + { + return IExecute("put", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + public Java.Nio.DoubleBuffer Put(int arg0, double[] arg1) + { + return IExecute("put", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + /// + public Java.Nio.DoubleBuffer Put(int arg0, Java.Nio.DoubleBuffer arg1, int arg2, int arg3) + { + return IExecute("put", arg0, arg1, arg2, arg3); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Nio/File/FileStore.cs b/src/net/Netdroid/Generated/Java/Nio/File/FileStore.cs index b3e03f46a..d29c51605 100644 --- a/src/net/Netdroid/Generated/Java/Nio/File/FileStore.cs +++ b/src/net/Netdroid/Generated/Java/Nio/File/FileStore.cs @@ -53,7 +53,7 @@ public partial class FileStore /// public V GetFileStoreAttributeView(Java.Lang.Class arg0) where V : Java.Nio.File.Attribute.IFileStoreAttributeView, new() { - return IExecute("getFileStoreAttributeView", arg0); + return IExecuteWithSignature("getFileStoreAttributeView", "(Ljava/lang/Class;)Ljava/nio/file/attribute/FileStoreAttributeView;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Java/Nio/File/FileSystems.cs b/src/net/Netdroid/Generated/Java/Nio/File/FileSystems.cs index 646300ac9..0178adc6f 100644 --- a/src/net/Netdroid/Generated/Java/Nio/File/FileSystems.cs +++ b/src/net/Netdroid/Generated/Java/Nio/File/FileSystems.cs @@ -92,6 +92,39 @@ public static Java.Nio.File.FileSystem NewFileSystem(Java.Nio.File.Path arg0, Ja { return SExecute(LocalBridgeClazz, "newFileSystem", arg0, arg1); } + /// + /// + /// + /// + /// + /// + /// + /// + public static Java.Nio.File.FileSystem NewFileSystem(Java.Nio.File.Path arg0, Java.Util.Map arg1, Java.Lang.ClassLoader arg2) + { + return SExecute(LocalBridgeClazz, "newFileSystem", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + public static Java.Nio.File.FileSystem NewFileSystem(Java.Nio.File.Path arg0, Java.Util.Map arg1) + { + return SExecute(LocalBridgeClazz, "newFileSystem", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + public static Java.Nio.File.FileSystem NewFileSystem(Java.Nio.File.Path arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "newFileSystem", "(Ljava/nio/file/Path;)Ljava/nio/file/FileSystem;", arg0); + } #endregion diff --git a/src/net/Netdroid/Generated/Java/Nio/File/Files.cs b/src/net/Netdroid/Generated/Java/Nio/File/Files.cs index 6d7508a0e..303abc4e4 100644 --- a/src/net/Netdroid/Generated/Java/Nio/File/Files.cs +++ b/src/net/Netdroid/Generated/Java/Nio/File/Files.cs @@ -790,6 +790,17 @@ public static long Copy(Java.Nio.File.Path arg0, Java.Io.OutputStream arg1) return SExecute(LocalBridgeClazz, "copy", arg0, arg1); } /// + /// + /// + /// + /// + /// + /// + public static long Mismatch(Java.Nio.File.Path arg0, Java.Nio.File.Path arg1) + { + return SExecute(LocalBridgeClazz, "mismatch", arg0, arg1); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Nio/File/SecureDirectoryStream.cs b/src/net/Netdroid/Generated/Java/Nio/File/SecureDirectoryStream.cs index 504a2c287..c89d97e9b 100644 --- a/src/net/Netdroid/Generated/Java/Nio/File/SecureDirectoryStream.cs +++ b/src/net/Netdroid/Generated/Java/Nio/File/SecureDirectoryStream.cs @@ -52,7 +52,7 @@ public partial class SecureDirectoryStream /// public Java.Nio.File.Attribute.FileAttributeView GetFileAttributeView(Java.Lang.Class arg0) { - return IExecute("getFileAttributeView", arg0); + return IExecuteWithSignature("getFileAttributeView", "(Ljava/lang/Class;)Ljava/nio/file/attribute/FileAttributeView;", arg0); } /// /// @@ -178,7 +178,7 @@ public partial class SecureDirectoryStream : Java.Nio.File.ISecureDirectorySt /// public V GetFileAttributeView(Java.Lang.Class arg0) where V : Java.Nio.File.Attribute.IFileAttributeView, new() { - return IExecute("getFileAttributeView", arg0); + return IExecuteWithSignature("getFileAttributeView", "(Ljava/lang/Class;)Ljava/nio/file/attribute/FileAttributeView;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Java/Nio/FloatBuffer.cs b/src/net/Netdroid/Generated/Java/Nio/FloatBuffer.cs index 38da008d7..4006c14f4 100644 --- a/src/net/Netdroid/Generated/Java/Nio/FloatBuffer.cs +++ b/src/net/Netdroid/Generated/Java/Nio/FloatBuffer.cs @@ -195,6 +195,28 @@ public Java.Nio.FloatBuffer Get(float[] arg0) return IExecuteWithSignature("get", "([F)Ljava/nio/FloatBuffer;", new object[] { arg0 }); } /// + /// + /// + /// + /// + /// + /// + /// + public Java.Nio.FloatBuffer Get(int arg0, float[] arg1, int arg2, int arg3) + { + return IExecute("get", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + public Java.Nio.FloatBuffer Get(int arg0, float[] arg1) + { + return IExecute("get", arg0, arg1); + } + /// /// /// /// @@ -206,6 +228,40 @@ public Java.Nio.FloatBuffer Put(float[] arg0, int arg1, int arg2) return IExecute("put", arg0, arg1, arg2); } /// + /// + /// + /// + /// + /// + /// + /// + public Java.Nio.FloatBuffer Put(int arg0, float[] arg1, int arg2, int arg3) + { + return IExecute("put", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + public Java.Nio.FloatBuffer Put(int arg0, float[] arg1) + { + return IExecute("put", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + /// + public Java.Nio.FloatBuffer Put(int arg0, Java.Nio.FloatBuffer arg1, int arg2, int arg3) + { + return IExecute("put", arg0, arg1, arg2, arg3); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Nio/IntBuffer.cs b/src/net/Netdroid/Generated/Java/Nio/IntBuffer.cs index 11100d7f8..f82aba1a5 100644 --- a/src/net/Netdroid/Generated/Java/Nio/IntBuffer.cs +++ b/src/net/Netdroid/Generated/Java/Nio/IntBuffer.cs @@ -175,6 +175,28 @@ public int Mismatch(Java.Nio.IntBuffer arg0) return IExecuteWithSignature("mismatch", "(Ljava/nio/IntBuffer;)I", arg0); } /// + /// + /// + /// + /// + /// + /// + /// + public Java.Nio.IntBuffer Get(int arg0, int[] arg1, int arg2, int arg3) + { + return IExecute("get", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + public Java.Nio.IntBuffer Get(int arg0, int[] arg1) + { + return IExecute("get", arg0, arg1); + } + /// /// /// /// @@ -195,6 +217,40 @@ public Java.Nio.IntBuffer Get(int[] arg0) return IExecuteWithSignature("get", "([I)Ljava/nio/IntBuffer;", new object[] { arg0 }); } /// + /// + /// + /// + /// + /// + /// + /// + public Java.Nio.IntBuffer Put(int arg0, int[] arg1, int arg2, int arg3) + { + return IExecute("put", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + public Java.Nio.IntBuffer Put(int arg0, int[] arg1) + { + return IExecute("put", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + /// + public Java.Nio.IntBuffer Put(int arg0, Java.Nio.IntBuffer arg1, int arg2, int arg3) + { + return IExecute("put", arg0, arg1, arg2, arg3); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Nio/LongBuffer.cs b/src/net/Netdroid/Generated/Java/Nio/LongBuffer.cs index a31c90b4f..f4e5b20c3 100644 --- a/src/net/Netdroid/Generated/Java/Nio/LongBuffer.cs +++ b/src/net/Netdroid/Generated/Java/Nio/LongBuffer.cs @@ -175,6 +175,28 @@ public int Mismatch(Java.Nio.LongBuffer arg0) return IExecuteWithSignature("mismatch", "(Ljava/nio/LongBuffer;)I", arg0); } /// + /// + /// + /// + /// + /// + /// + /// + public Java.Nio.LongBuffer Get(int arg0, long[] arg1, int arg2, int arg3) + { + return IExecute("get", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + public Java.Nio.LongBuffer Get(int arg0, long[] arg1) + { + return IExecute("get", arg0, arg1); + } + /// /// /// /// @@ -195,6 +217,40 @@ public Java.Nio.LongBuffer Get(long[] arg0) return IExecuteWithSignature("get", "([J)Ljava/nio/LongBuffer;", new object[] { arg0 }); } /// + /// + /// + /// + /// + /// + /// + /// + public Java.Nio.LongBuffer Put(int arg0, Java.Nio.LongBuffer arg1, int arg2, int arg3) + { + return IExecute("put", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + /// + /// + public Java.Nio.LongBuffer Put(int arg0, long[] arg1, int arg2, int arg3) + { + return IExecute("put", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + public Java.Nio.LongBuffer Put(int arg0, long[] arg1) + { + return IExecute("put", arg0, arg1); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Nio/MappedByteBuffer.cs b/src/net/Netdroid/Generated/Java/Nio/MappedByteBuffer.cs index 22f0208dc..f74704734 100644 --- a/src/net/Netdroid/Generated/Java/Nio/MappedByteBuffer.cs +++ b/src/net/Netdroid/Generated/Java/Nio/MappedByteBuffer.cs @@ -62,6 +62,16 @@ public Java.Nio.MappedByteBuffer Force() return IExecuteWithSignature("force", "()Ljava/nio/MappedByteBuffer;"); } /// + /// + /// + /// + /// + /// + public Java.Nio.MappedByteBuffer Force(int arg0, int arg1) + { + return IExecute("force", arg0, arg1); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Nio/ShortBuffer.cs b/src/net/Netdroid/Generated/Java/Nio/ShortBuffer.cs index 774ab44f5..4ecb73a05 100644 --- a/src/net/Netdroid/Generated/Java/Nio/ShortBuffer.cs +++ b/src/net/Netdroid/Generated/Java/Nio/ShortBuffer.cs @@ -175,6 +175,28 @@ public int Mismatch(Java.Nio.ShortBuffer arg0) return IExecuteWithSignature("mismatch", "(Ljava/nio/ShortBuffer;)I", arg0); } /// + /// + /// + /// + /// + /// + /// + /// + public Java.Nio.ShortBuffer Get(int arg0, short[] arg1, int arg2, int arg3) + { + return IExecute("get", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + public Java.Nio.ShortBuffer Get(int arg0, short[] arg1) + { + return IExecute("get", arg0, arg1); + } + /// /// /// /// @@ -195,6 +217,40 @@ public Java.Nio.ShortBuffer Get(short[] arg0) return IExecuteWithSignature("get", "([S)Ljava/nio/ShortBuffer;", new object[] { arg0 }); } /// + /// + /// + /// + /// + /// + /// + /// + public Java.Nio.ShortBuffer Put(int arg0, Java.Nio.ShortBuffer arg1, int arg2, int arg3) + { + return IExecute("put", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + /// + /// + public Java.Nio.ShortBuffer Put(int arg0, short[] arg1, int arg2, int arg3) + { + return IExecute("put", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + public Java.Nio.ShortBuffer Put(int arg0, short[] arg1) + { + return IExecute("put", arg0, arg1); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Security/AccessController.cs b/src/net/Netdroid/Generated/Java/Security/AccessController.cs index d8af83398..14350e406 100644 --- a/src/net/Netdroid/Generated/Java/Security/AccessController.cs +++ b/src/net/Netdroid/Generated/Java/Security/AccessController.cs @@ -54,42 +54,28 @@ public static T DoPrivileged(Java.Security.PrivilegedAction arg0, Java.Sec if (arg2.Length == 0) return SExecute(LocalBridgeClazz, "doPrivileged", arg0, arg1); else return SExecute(LocalBridgeClazz, "doPrivileged", arg0, arg1, arg2); } /// - /// - /// - /// - /// - /// - /// - /// - /// - public static T DoPrivileged(Java.Security.PrivilegedExceptionAction arg0, Java.Security.AccessControlContext arg1, params Java.Security.Permission[] arg2) - { - if (arg2.Length == 0) return SExecute(LocalBridgeClazz, "doPrivileged", arg0, arg1); else return SExecute(LocalBridgeClazz, "doPrivileged", arg0, arg1, arg2); - } - /// - /// + /// /// /// /// - /// /// /// - public static T DoPrivilegedWithCombiner(Java.Security.PrivilegedAction arg0, Java.Security.AccessControlContext arg1, params Java.Security.Permission[] arg2) + public static T DoPrivileged(Java.Security.PrivilegedAction arg0, Java.Security.AccessControlContext arg1) { - if (arg2.Length == 0) return SExecute(LocalBridgeClazz, "doPrivilegedWithCombiner", arg0, arg1); else return SExecute(LocalBridgeClazz, "doPrivilegedWithCombiner", arg0, arg1, arg2); + return SExecute(LocalBridgeClazz, "doPrivileged", arg0, arg1); } /// - /// + /// /// /// /// /// - public static T DoPrivilegedWithCombiner(Java.Security.PrivilegedAction arg0) + public static T DoPrivileged(Java.Security.PrivilegedAction arg0) { - return SExecuteWithSignature(LocalBridgeClazz, "doPrivilegedWithCombiner", "(Ljava/security/PrivilegedAction;)Ljava/lang/Object;", arg0); + return SExecuteWithSignature(LocalBridgeClazz, "doPrivileged", "(Ljava/security/PrivilegedAction;)Ljava/lang/Object;", arg0); } /// - /// + /// /// /// /// @@ -97,72 +83,86 @@ public static T DoPrivilegedWithCombiner(Java.Security.PrivilegedAction ar /// /// /// - public static T DoPrivilegedWithCombiner(Java.Security.PrivilegedExceptionAction arg0, Java.Security.AccessControlContext arg1, params Java.Security.Permission[] arg2) + public static T DoPrivileged(Java.Security.PrivilegedExceptionAction arg0, Java.Security.AccessControlContext arg1, params Java.Security.Permission[] arg2) { - if (arg2.Length == 0) return SExecute(LocalBridgeClazz, "doPrivilegedWithCombiner", arg0, arg1); else return SExecute(LocalBridgeClazz, "doPrivilegedWithCombiner", arg0, arg1, arg2); + if (arg2.Length == 0) return SExecute(LocalBridgeClazz, "doPrivileged", arg0, arg1); else return SExecute(LocalBridgeClazz, "doPrivileged", arg0, arg1, arg2); } /// - /// + /// /// /// + /// /// /// /// - public static T DoPrivilegedWithCombiner(Java.Security.PrivilegedExceptionAction arg0) + public static T DoPrivileged(Java.Security.PrivilegedExceptionAction arg0, Java.Security.AccessControlContext arg1) { - return SExecuteWithSignature(LocalBridgeClazz, "doPrivilegedWithCombiner", "(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;", arg0); + return SExecute(LocalBridgeClazz, "doPrivileged", arg0, arg1); } /// - /// + /// /// - /// - public static Java.Security.AccessControlContext GetContext() + /// + /// + /// + /// + public static T DoPrivileged(Java.Security.PrivilegedExceptionAction arg0) { - return SExecuteWithSignature(LocalBridgeClazz, "getContext", "()Ljava/security/AccessControlContext;"); + return SExecuteWithSignature(LocalBridgeClazz, "doPrivileged", "(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;", arg0); } /// - /// + /// /// /// /// + /// /// /// - public static T DoPrivileged(Java.Security.PrivilegedAction arg0, Java.Security.AccessControlContext arg1) + public static T DoPrivilegedWithCombiner(Java.Security.PrivilegedAction arg0, Java.Security.AccessControlContext arg1, params Java.Security.Permission[] arg2) { - return SExecute(LocalBridgeClazz, "doPrivileged", arg0, arg1); + if (arg2.Length == 0) return SExecute(LocalBridgeClazz, "doPrivilegedWithCombiner", arg0, arg1); else return SExecute(LocalBridgeClazz, "doPrivilegedWithCombiner", arg0, arg1, arg2); } /// - /// + /// /// /// /// /// - public static T DoPrivileged(Java.Security.PrivilegedAction arg0) + public static T DoPrivilegedWithCombiner(Java.Security.PrivilegedAction arg0) { - return SExecute(LocalBridgeClazz, "doPrivileged", arg0); + return SExecuteWithSignature(LocalBridgeClazz, "doPrivilegedWithCombiner", "(Ljava/security/PrivilegedAction;)Ljava/lang/Object;", arg0); } /// - /// + /// /// /// /// + /// /// /// /// - public static T DoPrivileged(Java.Security.PrivilegedExceptionAction arg0, Java.Security.AccessControlContext arg1) + public static T DoPrivilegedWithCombiner(Java.Security.PrivilegedExceptionAction arg0, Java.Security.AccessControlContext arg1, params Java.Security.Permission[] arg2) { - return SExecute(LocalBridgeClazz, "doPrivileged", arg0, arg1); + if (arg2.Length == 0) return SExecute(LocalBridgeClazz, "doPrivilegedWithCombiner", arg0, arg1); else return SExecute(LocalBridgeClazz, "doPrivilegedWithCombiner", arg0, arg1, arg2); } /// - /// + /// /// /// /// /// /// - public static T DoPrivileged(Java.Security.PrivilegedExceptionAction arg0) + public static T DoPrivilegedWithCombiner(Java.Security.PrivilegedExceptionAction arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "doPrivilegedWithCombiner", "(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;", arg0); + } + /// + /// + /// + /// + public static Java.Security.AccessControlContext GetContext() { - return SExecute(LocalBridgeClazz, "doPrivileged", arg0); + return SExecuteWithSignature(LocalBridgeClazz, "getContext", "()Ljava/security/AccessControlContext;"); } /// /// diff --git a/src/net/Netdroid/Generated/Java/Security/Acl/Acl.cs b/src/net/Netdroid/Generated/Java/Security/Acl/Acl.cs deleted file mode 100644 index 7133099a5..000000000 --- a/src/net/Netdroid/Generated/Java/Security/Acl/Acl.cs +++ /dev/null @@ -1,143 +0,0 @@ -/* -* Copyright 2024 MASES s.r.l. -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -* Refer to LICENSE for more information. -*/ - -/* -* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) -* using android.jar as reference -*/ - -using MASES.JCOBridge.C2JBridge; - -namespace Java.Security.Acl -{ - #region IAcl - /// - /// .NET interface for TO BE DEFINED FROM USER - /// - public partial interface IAcl : Java.Security.Acl.IOwner - { - #region Instance methods - - #endregion - - #region Nested classes - - #endregion - - // TODO: complete the class - } - #endregion - - #region Acl - public partial class Acl : Java.Security.Acl.IAcl - { - #region Constructors - - #endregion - - #region Class/Interface conversion operators - - #endregion - - #region Fields - - #endregion - - #region Static methods - - #endregion - - #region Instance methods - /// - /// - /// - /// - /// - /// - /// - public bool AddEntry(Java.Security.Principal arg0, Java.Security.Acl.AclEntry arg1) - { - return IExecute("addEntry", arg0, arg1); - } - /// - /// - /// - /// - /// - /// - public bool CheckPermission(Java.Security.Principal arg0, Java.Security.Acl.Permission arg1) - { - return IExecute("checkPermission", arg0, arg1); - } - /// - /// - /// - /// - /// - /// - /// - public bool RemoveEntry(Java.Security.Principal arg0, Java.Security.Acl.AclEntry arg1) - { - return IExecute("removeEntry", arg0, arg1); - } - /// - /// - /// - /// - public Java.Lang.String GetName() - { - return IExecuteWithSignature("getName", "()Ljava/lang/String;"); - } - /// - /// - /// - /// - public Java.Util.Enumeration Entries() - { - return IExecuteWithSignature>("entries", "()Ljava/util/Enumeration;"); - } - /// - /// - /// - /// - /// - public Java.Util.Enumeration GetPermissions(Java.Security.Principal arg0) - { - return IExecuteWithSignature>("getPermissions", "(Ljava/security/Principal;)Ljava/util/Enumeration;", arg0); - } - /// - /// - /// - /// - /// - /// - public void SetName(Java.Security.Principal arg0, Java.Lang.String arg1) - { - IExecute("setName", arg0, arg1); - } - - #endregion - - #region Nested classes - - #endregion - - // TODO: complete the class - } - #endregion -} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Java/Security/Acl/AclEntry.cs b/src/net/Netdroid/Generated/Java/Security/Acl/AclEntry.cs deleted file mode 100644 index e9e903d78..000000000 --- a/src/net/Netdroid/Generated/Java/Security/Acl/AclEntry.cs +++ /dev/null @@ -1,143 +0,0 @@ -/* -* Copyright 2024 MASES s.r.l. -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -* Refer to LICENSE for more information. -*/ - -/* -* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) -* using android.jar as reference -*/ - -using MASES.JCOBridge.C2JBridge; - -namespace Java.Security.Acl -{ - #region IAclEntry - /// - /// .NET interface for TO BE DEFINED FROM USER - /// - public partial interface IAclEntry : Java.Lang.ICloneable - { - #region Instance methods - - #endregion - - #region Nested classes - - #endregion - - // TODO: complete the class - } - #endregion - - #region AclEntry - public partial class AclEntry : Java.Security.Acl.IAclEntry - { - #region Constructors - - #endregion - - #region Class/Interface conversion operators - - #endregion - - #region Fields - - #endregion - - #region Static methods - - #endregion - - #region Instance methods - /// - /// - /// - /// - /// - public bool AddPermission(Java.Security.Acl.Permission arg0) - { - return IExecuteWithSignature("addPermission", "(Ljava/security/acl/Permission;)Z", arg0); - } - /// - /// - /// - /// - /// - public bool CheckPermission(Java.Security.Acl.Permission arg0) - { - return IExecuteWithSignature("checkPermission", "(Ljava/security/acl/Permission;)Z", arg0); - } - /// - /// - /// - /// - public bool IsNegative() - { - return IExecuteWithSignature("isNegative", "()Z"); - } - /// - /// - /// - /// - /// - public bool RemovePermission(Java.Security.Acl.Permission arg0) - { - return IExecuteWithSignature("removePermission", "(Ljava/security/acl/Permission;)Z", arg0); - } - /// - /// - /// - /// - /// - public bool SetPrincipal(Java.Security.Principal arg0) - { - return IExecuteWithSignature("setPrincipal", "(Ljava/security/Principal;)Z", arg0); - } - /// - /// - /// - /// - public Java.Security.Principal GetPrincipal() - { - return IExecuteWithSignature("getPrincipal", "()Ljava/security/Principal;"); - } - /// - /// - /// - /// - public Java.Util.Enumeration Permissions() - { - return IExecuteWithSignature>("permissions", "()Ljava/util/Enumeration;"); - } - /// - /// - /// - public void SetNegativePermissions() - { - IExecuteWithSignature("setNegativePermissions", "()V"); - } - - #endregion - - #region Nested classes - - #endregion - - // TODO: complete the class - } - #endregion -} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Java/Security/Acl/AclNotFoundException.cs b/src/net/Netdroid/Generated/Java/Security/Acl/AclNotFoundException.cs deleted file mode 100644 index 062c07d5d..000000000 --- a/src/net/Netdroid/Generated/Java/Security/Acl/AclNotFoundException.cs +++ /dev/null @@ -1,58 +0,0 @@ -/* -* Copyright 2024 MASES s.r.l. -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -* Refer to LICENSE for more information. -*/ - -/* -* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) -* using android.jar as reference -*/ - -using MASES.JCOBridge.C2JBridge; - -namespace Java.Security.Acl -{ - #region AclNotFoundException - public partial class AclNotFoundException - { - #region Constructors - - #endregion - - #region Class/Interface conversion operators - - #endregion - - #region Fields - - #endregion - - #region Static methods - - #endregion - - #region Instance methods - - #endregion - - #region Nested classes - - #endregion - - // TODO: complete the class - } - #endregion -} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Java/Security/Acl/AllPackageClasses.cs b/src/net/Netdroid/Generated/Java/Security/Acl/AllPackageClasses.cs deleted file mode 100644 index ca738b909..000000000 --- a/src/net/Netdroid/Generated/Java/Security/Acl/AllPackageClasses.cs +++ /dev/null @@ -1,320 +0,0 @@ -/* -* Copyright 2024 MASES s.r.l. -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -* Refer to LICENSE for more information. -*/ - -/* -* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) -* using android.jar as reference -*/ - -using MASES.JCOBridge.C2JBridge.JVMInterop; -using System; - -namespace Java.Security.Acl -{ - #region Acl - /// - /// - /// - [global::System.Obsolete()] - public partial class Acl : Java.Security.Acl.Owner - { - const string _bridgeClassName = "java.security.acl.Acl"; - /// - /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge - /// - [global::System.Obsolete("Acl class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public Acl() { } - /// - /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class - /// - [global::System.Obsolete("Acl class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public Acl(params object[] args) : base(args) { } - - private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); - - /// - /// - /// - public override string BridgeClassName => _bridgeClassName; - /// - /// - /// - public override bool IsBridgeAbstract => true; - /// - /// - /// - public override bool IsBridgeCloseable => false; - /// - /// - /// - public override bool IsBridgeInterface => true; - /// - /// - /// - public override bool IsBridgeStatic => false; - - // TODO: complete the class - - } - #endregion - - #region AclEntry - /// - /// - /// - [global::System.Obsolete()] - public partial class AclEntry : Java.Lang.Cloneable - { - const string _bridgeClassName = "java.security.acl.AclEntry"; - /// - /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge - /// - [global::System.Obsolete("AclEntry class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public AclEntry() { } - /// - /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class - /// - [global::System.Obsolete("AclEntry class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public AclEntry(params object[] args) : base(args) { } - - private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); - - /// - /// - /// - public override string BridgeClassName => _bridgeClassName; - /// - /// - /// - public override bool IsBridgeAbstract => true; - /// - /// - /// - public override bool IsBridgeCloseable => false; - /// - /// - /// - public override bool IsBridgeInterface => true; - /// - /// - /// - public override bool IsBridgeStatic => false; - - // TODO: complete the class - - } - #endregion - - #region AclNotFoundException - /// - /// - /// - [global::System.Obsolete()] - public partial class AclNotFoundException : Java.Lang.Exception - { - const string _bridgeClassName = "java.security.acl.AclNotFoundException"; - /// - /// - /// - public override string BridgeClassName => _bridgeClassName; - - // TODO: complete the class - - } - #endregion - - #region Group - /// - /// - /// - [global::System.Obsolete()] - public partial class Group : Java.Security.Principal - { - const string _bridgeClassName = "java.security.acl.Group"; - /// - /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge - /// - [global::System.Obsolete("Group class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public Group() { } - /// - /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class - /// - [global::System.Obsolete("Group class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public Group(params object[] args) : base(args) { } - - private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); - - /// - /// - /// - public override string BridgeClassName => _bridgeClassName; - /// - /// - /// - public override bool IsBridgeAbstract => true; - /// - /// - /// - public override bool IsBridgeCloseable => false; - /// - /// - /// - public override bool IsBridgeInterface => true; - /// - /// - /// - public override bool IsBridgeStatic => false; - - // TODO: complete the class - - } - #endregion - - #region LastOwnerException - /// - /// - /// - [global::System.Obsolete()] - public partial class LastOwnerException : Java.Lang.Exception - { - const string _bridgeClassName = "java.security.acl.LastOwnerException"; - /// - /// - /// - public override string BridgeClassName => _bridgeClassName; - - // TODO: complete the class - - } - #endregion - - #region NotOwnerException - /// - /// - /// - [global::System.Obsolete()] - public partial class NotOwnerException : Java.Lang.Exception - { - const string _bridgeClassName = "java.security.acl.NotOwnerException"; - /// - /// - /// - public override string BridgeClassName => _bridgeClassName; - - // TODO: complete the class - - } - #endregion - - #region Owner - /// - /// - /// - [global::System.Obsolete()] - public partial class Owner : MASES.JCOBridge.C2JBridge.JVMBridgeBase - { - const string _bridgeClassName = "java.security.acl.Owner"; - /// - /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge - /// - [global::System.Obsolete("Owner class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public Owner() { } - /// - /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class - /// - [global::System.Obsolete("Owner class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public Owner(params object[] args) : base(args) { } - - private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); - - /// - /// - /// - public override string BridgeClassName => _bridgeClassName; - /// - /// - /// - public override bool IsBridgeAbstract => true; - /// - /// - /// - public override bool IsBridgeCloseable => false; - /// - /// - /// - public override bool IsBridgeInterface => true; - /// - /// - /// - public override bool IsBridgeStatic => false; - - // TODO: complete the class - - } - #endregion - - #region Permission - /// - /// - /// - [global::System.Obsolete()] - public partial class Permission : MASES.JCOBridge.C2JBridge.JVMBridgeBase - { - const string _bridgeClassName = "java.security.acl.Permission"; - /// - /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge - /// - [global::System.Obsolete("Permission class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public Permission() { } - /// - /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class - /// - [global::System.Obsolete("Permission class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public Permission(params object[] args) : base(args) { } - - private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); - - /// - /// - /// - public override string BridgeClassName => _bridgeClassName; - /// - /// - /// - public override bool IsBridgeAbstract => true; - /// - /// - /// - public override bool IsBridgeCloseable => false; - /// - /// - /// - public override bool IsBridgeInterface => true; - /// - /// - /// - public override bool IsBridgeStatic => false; - - // TODO: complete the class - - } - #endregion - - - -} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Java/Security/Acl/Group.cs b/src/net/Netdroid/Generated/Java/Security/Acl/Group.cs deleted file mode 100644 index aa71eb9f9..000000000 --- a/src/net/Netdroid/Generated/Java/Security/Acl/Group.cs +++ /dev/null @@ -1,112 +0,0 @@ -/* -* Copyright 2024 MASES s.r.l. -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -* Refer to LICENSE for more information. -*/ - -/* -* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) -* using android.jar as reference -*/ - -using MASES.JCOBridge.C2JBridge; - -namespace Java.Security.Acl -{ - #region IGroup - /// - /// .NET interface for TO BE DEFINED FROM USER - /// - public partial interface IGroup : Java.Security.IPrincipal - { - #region Instance methods - - #endregion - - #region Nested classes - - #endregion - - // TODO: complete the class - } - #endregion - - #region Group - public partial class Group : Java.Security.Acl.IGroup - { - #region Constructors - - #endregion - - #region Class/Interface conversion operators - - #endregion - - #region Fields - - #endregion - - #region Static methods - - #endregion - - #region Instance methods - /// - /// - /// - /// - /// - public bool AddMember(Java.Security.Principal arg0) - { - return IExecuteWithSignature("addMember", "(Ljava/security/Principal;)Z", arg0); - } - /// - /// - /// - /// - /// - public bool IsMember(Java.Security.Principal arg0) - { - return IExecuteWithSignature("isMember", "(Ljava/security/Principal;)Z", arg0); - } - /// - /// - /// - /// - /// - public bool RemoveMember(Java.Security.Principal arg0) - { - return IExecuteWithSignature("removeMember", "(Ljava/security/Principal;)Z", arg0); - } - /// - /// - /// - /// - /// - public Java.Util.Enumeration Members() where ReturnExtendsJava_Security_Principal : Java.Security.Principal - { - return IExecuteWithSignature>("members", "()Ljava/util/Enumeration;"); - } - - #endregion - - #region Nested classes - - #endregion - - // TODO: complete the class - } - #endregion -} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Java/Security/Acl/Owner.cs b/src/net/Netdroid/Generated/Java/Security/Acl/Owner.cs deleted file mode 100644 index 99f2c87bc..000000000 --- a/src/net/Netdroid/Generated/Java/Security/Acl/Owner.cs +++ /dev/null @@ -1,108 +0,0 @@ -/* -* Copyright 2024 MASES s.r.l. -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -* Refer to LICENSE for more information. -*/ - -/* -* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) -* using android.jar as reference -*/ - -using MASES.JCOBridge.C2JBridge; - -namespace Java.Security.Acl -{ - #region IOwner - /// - /// .NET interface for TO BE DEFINED FROM USER - /// - public partial interface IOwner - { - #region Instance methods - - #endregion - - #region Nested classes - - #endregion - - // TODO: complete the class - } - #endregion - - #region Owner - public partial class Owner : Java.Security.Acl.IOwner - { - #region Constructors - - #endregion - - #region Class/Interface conversion operators - - #endregion - - #region Fields - - #endregion - - #region Static methods - - #endregion - - #region Instance methods - /// - /// - /// - /// - /// - /// - /// - public bool AddOwner(Java.Security.Principal arg0, Java.Security.Principal arg1) - { - return IExecute("addOwner", arg0, arg1); - } - /// - /// - /// - /// - /// - /// - /// - /// - public bool DeleteOwner(Java.Security.Principal arg0, Java.Security.Principal arg1) - { - return IExecute("deleteOwner", arg0, arg1); - } - /// - /// - /// - /// - /// - public bool IsOwner(Java.Security.Principal arg0) - { - return IExecuteWithSignature("isOwner", "(Ljava/security/Principal;)Z", arg0); - } - - #endregion - - #region Nested classes - - #endregion - - // TODO: complete the class - } - #endregion -} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Java/Security/AlgorithmParameters.cs b/src/net/Netdroid/Generated/Java/Security/AlgorithmParameters.cs index 0d2be2ec0..c92793b57 100644 --- a/src/net/Netdroid/Generated/Java/Security/AlgorithmParameters.cs +++ b/src/net/Netdroid/Generated/Java/Security/AlgorithmParameters.cs @@ -87,7 +87,7 @@ public static Java.Security.AlgorithmParameters GetInstance(Java.Lang.String arg /// public T GetParameterSpec(Java.Lang.Class arg0) where T : Java.Security.Spec.IAlgorithmParameterSpec, new() { - return IExecute("getParameterSpec", arg0); + return IExecuteWithSignature("getParameterSpec", "(Ljava/lang/Class;)Ljava/security/spec/AlgorithmParameterSpec;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Java/Security/AllPackageClasses.cs b/src/net/Netdroid/Generated/Java/Security/AllPackageClasses.cs index 838556211..b3b3b3211 100644 --- a/src/net/Netdroid/Generated/Java/Security/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Java/Security/AllPackageClasses.cs @@ -30,6 +30,7 @@ namespace Java.Security /// /// /// + [global::System.Obsolete()] public partial class AccessControlContext : MASES.JCOBridge.C2JBridge.JVMBridgeBase { const string _bridgeClassName = "java.security.AccessControlContext"; @@ -74,6 +75,7 @@ public AccessControlContext(params object[] args) : base(args) { } /// /// /// + [global::System.Obsolete()] public partial class AccessControlException : Java.Lang.SecurityException { const string _bridgeClassName = "java.security.AccessControlException"; @@ -91,6 +93,7 @@ public partial class AccessControlException : Java.Lang.SecurityException /// /// /// + [global::System.Obsolete()] public partial class AccessController : MASES.JCOBridge.C2JBridge.JVMBridgeBase { const string _bridgeClassName = "java.security.AccessController"; @@ -781,6 +784,7 @@ public DigestOutputStream(params object[] args) : base(args) { } /// /// /// + [global::System.Obsolete()] public partial class DomainCombiner : MASES.JCOBridge.C2JBridge.JVMBridgeBase { const string _bridgeClassName = "java.security.DomainCombiner"; @@ -2380,6 +2384,7 @@ public PKCS12Attribute(params object[] args) : base(args) { } /// /// /// + [global::System.Obsolete()] public partial class Policy : MASES.JCOBridge.C2JBridge.JVMBridgeBase { const string _bridgeClassName = "java.security.Policy"; @@ -2422,6 +2427,7 @@ public Policy(params object[] args) : base(args) { } /// /// /// + [global::System.Obsolete()] public partial class Parameters : MASES.JCOBridge.C2JBridge.JVMBridgeBase { const string _bridgeClassName = "java.security.Policy$Parameters"; @@ -2472,6 +2478,7 @@ public Parameters(params object[] args) : base(args) { } /// /// /// + [global::System.Obsolete()] public partial class PolicySpi : MASES.JCOBridge.C2JBridge.JVMBridgeBase { const string _bridgeClassName = "java.security.PolicySpi"; diff --git a/src/net/Netdroid/Generated/Java/Security/Cert/X509CRL.cs b/src/net/Netdroid/Generated/Java/Security/Cert/X509CRL.cs index 0894f09f2..dfc327d25 100644 --- a/src/net/Netdroid/Generated/Java/Security/Cert/X509CRL.cs +++ b/src/net/Netdroid/Generated/Java/Security/Cert/X509CRL.cs @@ -120,6 +120,7 @@ public Java.Security.Cert.X509CRLEntry GetRevokedCertificate(Java.Math.BigIntege /// /// /// + [global::System.Obsolete()] public Java.Security.Principal GetIssuerDN() { return IExecuteWithSignature("getIssuerDN", "()Ljava/security/Principal;"); diff --git a/src/net/Netdroid/Generated/Java/Security/Cert/X509CRLSelector.cs b/src/net/Netdroid/Generated/Java/Security/Cert/X509CRLSelector.cs index c538a49cd..82e55ffae 100644 --- a/src/net/Netdroid/Generated/Java/Security/Cert/X509CRLSelector.cs +++ b/src/net/Netdroid/Generated/Java/Security/Cert/X509CRLSelector.cs @@ -124,6 +124,7 @@ public void AddIssuerName(byte[] arg0) /// /// /// + [global::System.Obsolete()] public void AddIssuerName(Java.Lang.String arg0) { IExecuteWithSignature("addIssuerName", "(Ljava/lang/String;)V", arg0); diff --git a/src/net/Netdroid/Generated/Java/Security/Cert/X509CertSelector.cs b/src/net/Netdroid/Generated/Java/Security/Cert/X509CertSelector.cs index 95404acd7..964c1929b 100644 --- a/src/net/Netdroid/Generated/Java/Security/Cert/X509CertSelector.cs +++ b/src/net/Netdroid/Generated/Java/Security/Cert/X509CertSelector.cs @@ -124,6 +124,7 @@ public int GetBasicConstraints() /// /// /// + [global::System.Obsolete()] public Java.Lang.String GetIssuerAsString() { return IExecuteWithSignature("getIssuerAsString", "()Ljava/lang/String;"); @@ -132,6 +133,7 @@ public Java.Lang.String GetIssuerAsString() /// /// /// + [global::System.Obsolete()] public Java.Lang.String GetSubjectAsString() { return IExecuteWithSignature("getSubjectAsString", "()Ljava/lang/String;"); @@ -327,6 +329,7 @@ public void SetIssuer(byte[] arg0) /// /// /// + [global::System.Obsolete()] public void SetIssuer(Java.Lang.String arg0) { IExecuteWithSignature("setIssuer", "(Ljava/lang/String;)V", arg0); @@ -412,6 +415,7 @@ public void SetSubject(byte[] arg0) /// /// /// + [global::System.Obsolete()] public void SetSubject(Java.Lang.String arg0) { IExecuteWithSignature("setSubject", "(Ljava/lang/String;)V", arg0); diff --git a/src/net/Netdroid/Generated/Java/Security/Cert/X509Certificate.cs b/src/net/Netdroid/Generated/Java/Security/Cert/X509Certificate.cs index fd24a2a62..86f03c1f5 100644 --- a/src/net/Netdroid/Generated/Java/Security/Cert/X509Certificate.cs +++ b/src/net/Netdroid/Generated/Java/Security/Cert/X509Certificate.cs @@ -142,6 +142,7 @@ public Java.Math.BigInteger GetSerialNumber() /// /// /// + [global::System.Obsolete()] public Java.Security.Principal GetIssuerDN() { return IExecuteWithSignature("getIssuerDN", "()Ljava/security/Principal;"); @@ -150,6 +151,7 @@ public Java.Security.Principal GetIssuerDN() /// /// /// + [global::System.Obsolete()] public Java.Security.Principal GetSubjectDN() { return IExecuteWithSignature("getSubjectDN", "()Ljava/security/Principal;"); diff --git a/src/net/Netdroid/Generated/Java/Security/Interfaces/AllPackageClasses.cs b/src/net/Netdroid/Generated/Java/Security/Interfaces/AllPackageClasses.cs index a85e973ac..9529f2083 100644 --- a/src/net/Netdroid/Generated/Java/Security/Interfaces/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Java/Security/Interfaces/AllPackageClasses.cs @@ -394,6 +394,144 @@ public ECPublicKey(params object[] args) : base(args) { } } #endregion + #region EdECKey + /// + /// + /// + public partial class EdECKey : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "java.security.interfaces.EdECKey"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [global::System.Obsolete("EdECKey class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public EdECKey() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [global::System.Obsolete("EdECKey class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public EdECKey(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region EdECPrivateKey + /// + /// + /// + public partial class EdECPrivateKey : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "java.security.interfaces.EdECPrivateKey"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [global::System.Obsolete("EdECPrivateKey class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public EdECPrivateKey() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [global::System.Obsolete("EdECPrivateKey class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public EdECPrivateKey(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region EdECPublicKey + /// + /// + /// + public partial class EdECPublicKey : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "java.security.interfaces.EdECPublicKey"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [global::System.Obsolete("EdECPublicKey class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public EdECPublicKey() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [global::System.Obsolete("EdECPublicKey class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public EdECPublicKey(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region RSAKey /// /// diff --git a/src/net/Netdroid/Generated/Java/Security/Interfaces/DSAPrivateKey.cs b/src/net/Netdroid/Generated/Java/Security/Interfaces/DSAPrivateKey.cs index 1da4bb070..f18552786 100644 --- a/src/net/Netdroid/Generated/Java/Security/Interfaces/DSAPrivateKey.cs +++ b/src/net/Netdroid/Generated/Java/Security/Interfaces/DSAPrivateKey.cs @@ -66,6 +66,7 @@ public partial class DSAPrivateKey : Java.Security.Interfaces.IDSAPrivateKey, Ja /// /// /// + [global::System.Obsolete()] public static long serialVersionUID { get { if (!_serialVersionUIDReady) { _serialVersionUIDContent = SGetField(LocalBridgeClazz, "serialVersionUID"); _serialVersionUIDReady = true; } return _serialVersionUIDContent; } } private static long _serialVersionUIDContent = default; private static bool _serialVersionUIDReady = false; // this is used because in case of generics diff --git a/src/net/Netdroid/Generated/Java/Security/Interfaces/DSAPublicKey.cs b/src/net/Netdroid/Generated/Java/Security/Interfaces/DSAPublicKey.cs index 4c5aa704a..13a8a1bc1 100644 --- a/src/net/Netdroid/Generated/Java/Security/Interfaces/DSAPublicKey.cs +++ b/src/net/Netdroid/Generated/Java/Security/Interfaces/DSAPublicKey.cs @@ -66,6 +66,7 @@ public partial class DSAPublicKey : Java.Security.Interfaces.IDSAPublicKey, Java /// /// /// + [global::System.Obsolete()] public static long serialVersionUID { get { if (!_serialVersionUIDReady) { _serialVersionUIDContent = SGetField(LocalBridgeClazz, "serialVersionUID"); _serialVersionUIDReady = true; } return _serialVersionUIDContent; } } private static long _serialVersionUIDContent = default; private static bool _serialVersionUIDReady = false; // this is used because in case of generics diff --git a/src/net/Netdroid/Generated/Java/Security/Interfaces/ECPrivateKey.cs b/src/net/Netdroid/Generated/Java/Security/Interfaces/ECPrivateKey.cs index 59e8f4ba1..c47751c06 100644 --- a/src/net/Netdroid/Generated/Java/Security/Interfaces/ECPrivateKey.cs +++ b/src/net/Netdroid/Generated/Java/Security/Interfaces/ECPrivateKey.cs @@ -66,6 +66,7 @@ public partial class ECPrivateKey : Java.Security.Interfaces.IECPrivateKey, Java /// /// /// + [global::System.Obsolete()] public static long serialVersionUID { get { if (!_serialVersionUIDReady) { _serialVersionUIDContent = SGetField(LocalBridgeClazz, "serialVersionUID"); _serialVersionUIDReady = true; } return _serialVersionUIDContent; } } private static long _serialVersionUIDContent = default; private static bool _serialVersionUIDReady = false; // this is used because in case of generics diff --git a/src/net/Netdroid/Generated/Java/Security/Interfaces/ECPublicKey.cs b/src/net/Netdroid/Generated/Java/Security/Interfaces/ECPublicKey.cs index ba864ac19..9566628c5 100644 --- a/src/net/Netdroid/Generated/Java/Security/Interfaces/ECPublicKey.cs +++ b/src/net/Netdroid/Generated/Java/Security/Interfaces/ECPublicKey.cs @@ -66,6 +66,7 @@ public partial class ECPublicKey : Java.Security.Interfaces.IECPublicKey, Java.S /// /// /// + [global::System.Obsolete()] public static long serialVersionUID { get { if (!_serialVersionUIDReady) { _serialVersionUIDContent = SGetField(LocalBridgeClazz, "serialVersionUID"); _serialVersionUIDReady = true; } return _serialVersionUIDContent; } } private static long _serialVersionUIDContent = default; private static bool _serialVersionUIDReady = false; // this is used because in case of generics diff --git a/src/net/Netdroid/Generated/Java/Security/Acl/LastOwnerException.cs b/src/net/Netdroid/Generated/Java/Security/Interfaces/EdECKey.cs similarity index 56% rename from src/net/Netdroid/Generated/Java/Security/Acl/LastOwnerException.cs rename to src/net/Netdroid/Generated/Java/Security/Interfaces/EdECKey.cs index 09924741a..cac68d743 100644 --- a/src/net/Netdroid/Generated/Java/Security/Acl/LastOwnerException.cs +++ b/src/net/Netdroid/Generated/Java/Security/Interfaces/EdECKey.cs @@ -23,10 +23,28 @@ using MASES.JCOBridge.C2JBridge; -namespace Java.Security.Acl +namespace Java.Security.Interfaces { - #region LastOwnerException - public partial class LastOwnerException + #region IEdECKey + /// + /// .NET interface for TO BE DEFINED FROM USER + /// + public partial interface IEdECKey + { + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region EdECKey + public partial class EdECKey : Java.Security.Interfaces.IEdECKey { #region Constructors @@ -45,6 +63,14 @@ public partial class LastOwnerException #endregion #region Instance methods + /// + /// + /// + /// + public Java.Security.Spec.NamedParameterSpec GetParams() + { + return IExecuteWithSignature("getParams", "()Ljava/security/spec/NamedParameterSpec;"); + } #endregion diff --git a/src/net/Netdroid/Generated/Java/Security/Interfaces/EdECPrivateKey.cs b/src/net/Netdroid/Generated/Java/Security/Interfaces/EdECPrivateKey.cs new file mode 100644 index 000000000..1ab0ba272 --- /dev/null +++ b/src/net/Netdroid/Generated/Java/Security/Interfaces/EdECPrivateKey.cs @@ -0,0 +1,92 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Java.Security.Interfaces +{ + #region IEdECPrivateKey + /// + /// .NET interface for TO BE DEFINED FROM USER + /// + public partial interface IEdECPrivateKey + { + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region EdECPrivateKey + public partial class EdECPrivateKey : Java.Security.Interfaces.IEdECPrivateKey, Java.Security.Interfaces.IEdECKey, Java.Security.IPrivateKey + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Java.Security.Interfaces.EdECKey(Java.Security.Interfaces.EdECPrivateKey t) => t.Cast(); + /// + /// Converter from to + /// + public static implicit operator Java.Security.PrivateKey(Java.Security.Interfaces.EdECPrivateKey t) => t.Cast(); + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + public Java.Util.Optional GetBytes() + { + return IExecuteWithSignature>("getBytes", "()Ljava/util/Optional;"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Java/Security/Interfaces/EdECPublicKey.cs b/src/net/Netdroid/Generated/Java/Security/Interfaces/EdECPublicKey.cs new file mode 100644 index 000000000..2cd2063f4 --- /dev/null +++ b/src/net/Netdroid/Generated/Java/Security/Interfaces/EdECPublicKey.cs @@ -0,0 +1,92 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Java.Security.Interfaces +{ + #region IEdECPublicKey + /// + /// .NET interface for TO BE DEFINED FROM USER + /// + public partial interface IEdECPublicKey + { + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region EdECPublicKey + public partial class EdECPublicKey : Java.Security.Interfaces.IEdECPublicKey, Java.Security.Interfaces.IEdECKey, Java.Security.IPublicKey + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Java.Security.Interfaces.EdECKey(Java.Security.Interfaces.EdECPublicKey t) => t.Cast(); + /// + /// Converter from to + /// + public static implicit operator Java.Security.PublicKey(Java.Security.Interfaces.EdECPublicKey t) => t.Cast(); + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + public Java.Security.Spec.EdECPoint GetPoint() + { + return IExecuteWithSignature("getPoint", "()Ljava/security/spec/EdECPoint;"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Java/Security/Interfaces/RSAMultiPrimePrivateCrtKey.cs b/src/net/Netdroid/Generated/Java/Security/Interfaces/RSAMultiPrimePrivateCrtKey.cs index 399fb3071..5c629273b 100644 --- a/src/net/Netdroid/Generated/Java/Security/Interfaces/RSAMultiPrimePrivateCrtKey.cs +++ b/src/net/Netdroid/Generated/Java/Security/Interfaces/RSAMultiPrimePrivateCrtKey.cs @@ -58,6 +58,7 @@ public partial class RSAMultiPrimePrivateCrtKey : Java.Security.Interfaces.IRSAM /// /// /// + [global::System.Obsolete()] public static long serialVersionUID { get { if (!_serialVersionUIDReady) { _serialVersionUIDContent = SGetField(LocalBridgeClazz, "serialVersionUID"); _serialVersionUIDReady = true; } return _serialVersionUIDContent; } } private static long _serialVersionUIDContent = default; private static bool _serialVersionUIDReady = false; // this is used because in case of generics diff --git a/src/net/Netdroid/Generated/Java/Security/Interfaces/RSAPrivateCrtKey.cs b/src/net/Netdroid/Generated/Java/Security/Interfaces/RSAPrivateCrtKey.cs index 4c8b600f5..3b7f41b03 100644 --- a/src/net/Netdroid/Generated/Java/Security/Interfaces/RSAPrivateCrtKey.cs +++ b/src/net/Netdroid/Generated/Java/Security/Interfaces/RSAPrivateCrtKey.cs @@ -58,6 +58,7 @@ public partial class RSAPrivateCrtKey : Java.Security.Interfaces.IRSAPrivateCrtK /// /// /// + [global::System.Obsolete()] public static long serialVersionUID { get { if (!_serialVersionUIDReady) { _serialVersionUIDContent = SGetField(LocalBridgeClazz, "serialVersionUID"); _serialVersionUIDReady = true; } return _serialVersionUIDContent; } } private static long _serialVersionUIDContent = default; private static bool _serialVersionUIDReady = false; // this is used because in case of generics diff --git a/src/net/Netdroid/Generated/Java/Security/Interfaces/RSAPrivateKey.cs b/src/net/Netdroid/Generated/Java/Security/Interfaces/RSAPrivateKey.cs index 743aeb9fc..52fbdb4e7 100644 --- a/src/net/Netdroid/Generated/Java/Security/Interfaces/RSAPrivateKey.cs +++ b/src/net/Netdroid/Generated/Java/Security/Interfaces/RSAPrivateKey.cs @@ -66,6 +66,7 @@ public partial class RSAPrivateKey : Java.Security.Interfaces.IRSAPrivateKey, Ja /// /// /// + [global::System.Obsolete()] public static long serialVersionUID { get { if (!_serialVersionUIDReady) { _serialVersionUIDContent = SGetField(LocalBridgeClazz, "serialVersionUID"); _serialVersionUIDReady = true; } return _serialVersionUIDContent; } } private static long _serialVersionUIDContent = default; private static bool _serialVersionUIDReady = false; // this is used because in case of generics diff --git a/src/net/Netdroid/Generated/Java/Security/Interfaces/RSAPublicKey.cs b/src/net/Netdroid/Generated/Java/Security/Interfaces/RSAPublicKey.cs index b5b5c811d..802b428f1 100644 --- a/src/net/Netdroid/Generated/Java/Security/Interfaces/RSAPublicKey.cs +++ b/src/net/Netdroid/Generated/Java/Security/Interfaces/RSAPublicKey.cs @@ -66,6 +66,7 @@ public partial class RSAPublicKey : Java.Security.Interfaces.IRSAPublicKey, Java /// /// /// + [global::System.Obsolete()] public static long serialVersionUID { get { if (!_serialVersionUIDReady) { _serialVersionUIDContent = SGetField(LocalBridgeClazz, "serialVersionUID"); _serialVersionUIDReady = true; } return _serialVersionUIDContent; } } private static long _serialVersionUIDContent = default; private static bool _serialVersionUIDReady = false; // this is used because in case of generics diff --git a/src/net/Netdroid/Generated/Java/Security/Key.cs b/src/net/Netdroid/Generated/Java/Security/Key.cs index dd2dc1c8e..585d62a46 100644 --- a/src/net/Netdroid/Generated/Java/Security/Key.cs +++ b/src/net/Netdroid/Generated/Java/Security/Key.cs @@ -58,6 +58,7 @@ public partial class Key : Java.Security.IKey /// /// /// + [global::System.Obsolete()] public static long serialVersionUID { get { if (!_serialVersionUIDReady) { _serialVersionUIDContent = SGetField(LocalBridgeClazz, "serialVersionUID"); _serialVersionUIDReady = true; } return _serialVersionUIDContent; } } private static long _serialVersionUIDContent = default; private static bool _serialVersionUIDReady = false; // this is used because in case of generics diff --git a/src/net/Netdroid/Generated/Java/Security/PrivateKey.cs b/src/net/Netdroid/Generated/Java/Security/PrivateKey.cs index c37e5c31d..bd97ff674 100644 --- a/src/net/Netdroid/Generated/Java/Security/PrivateKey.cs +++ b/src/net/Netdroid/Generated/Java/Security/PrivateKey.cs @@ -66,6 +66,7 @@ public partial class PrivateKey : Java.Security.IPrivateKey, Java.Security.IKey, /// /// /// + [global::System.Obsolete()] public static long serialVersionUID { get { if (!_serialVersionUIDReady) { _serialVersionUIDContent = SGetField(LocalBridgeClazz, "serialVersionUID"); _serialVersionUIDReady = true; } return _serialVersionUIDContent; } } private static long _serialVersionUIDContent = default; private static bool _serialVersionUIDReady = false; // this is used because in case of generics diff --git a/src/net/Netdroid/Generated/Java/Security/Provider.cs b/src/net/Netdroid/Generated/Java/Security/Provider.cs index 841117f5b..d99032aaa 100644 --- a/src/net/Netdroid/Generated/Java/Security/Provider.cs +++ b/src/net/Netdroid/Generated/Java/Security/Provider.cs @@ -111,7 +111,7 @@ public Java.Security.Provider.Service GetService(Java.Lang.String arg0, Java.Lan /// public Java.Util.Set GetServices() { - return IExecute>("getServices"); + return IExecuteWithSignature>("getServices", "()Ljava/util/Set;"); } #endregion diff --git a/src/net/Netdroid/Generated/Java/Security/PublicKey.cs b/src/net/Netdroid/Generated/Java/Security/PublicKey.cs index afa78a665..de8ef2277 100644 --- a/src/net/Netdroid/Generated/Java/Security/PublicKey.cs +++ b/src/net/Netdroid/Generated/Java/Security/PublicKey.cs @@ -58,6 +58,7 @@ public partial class PublicKey : Java.Security.IPublicKey /// /// /// + [global::System.Obsolete()] public static long serialVersionUID { get { if (!_serialVersionUIDReady) { _serialVersionUIDContent = SGetField(LocalBridgeClazz, "serialVersionUID"); _serialVersionUIDReady = true; } return _serialVersionUIDContent; } } private static long _serialVersionUIDContent = default; private static bool _serialVersionUIDReady = false; // this is used because in case of generics diff --git a/src/net/Netdroid/Generated/Java/Security/Spec/AllPackageClasses.cs b/src/net/Netdroid/Generated/Java/Security/Spec/AllPackageClasses.cs index 8d52d5527..1b3af16d1 100644 --- a/src/net/Netdroid/Generated/Java/Security/Spec/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Java/Security/Spec/AllPackageClasses.cs @@ -558,6 +558,138 @@ public ECPublicKeySpec(params object[] args) : base(args) { } } #endregion + #region EdECPoint + /// + /// + /// + public partial class EdECPoint : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "java.security.spec.EdECPoint"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public EdECPoint() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public EdECPoint(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region EdECPrivateKeySpec + /// + /// + /// + public partial class EdECPrivateKeySpec : Java.Security.Spec.KeySpec + { + const string _bridgeClassName = "java.security.spec.EdECPrivateKeySpec"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public EdECPrivateKeySpec() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public EdECPrivateKeySpec(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + + #region EdECPublicKeySpec + /// + /// + /// + public partial class EdECPublicKeySpec : Java.Security.Spec.KeySpec + { + const string _bridgeClassName = "java.security.spec.EdECPublicKeySpec"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public EdECPublicKeySpec() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public EdECPublicKeySpec(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region EllipticCurve /// /// diff --git a/src/net/Netdroid/Generated/Java/Security/Spec/EdECPoint.cs b/src/net/Netdroid/Generated/Java/Security/Spec/EdECPoint.cs new file mode 100644 index 000000000..52d3875bb --- /dev/null +++ b/src/net/Netdroid/Generated/Java/Security/Spec/EdECPoint.cs @@ -0,0 +1,83 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Java.Security.Spec +{ + #region EdECPoint + public partial class EdECPoint + { + #region Constructors + /// + /// + /// + /// + /// + public EdECPoint(bool arg0, Java.Math.BigInteger arg1) + : base(arg0, arg1) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + public bool IsXOdd() + { + return IExecuteWithSignature("isXOdd", "()Z"); + } + /// + /// + /// + /// + public Java.Math.BigInteger GetY() + { + return IExecuteWithSignature("getY", "()Ljava/math/BigInteger;"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Java/Security/Spec/EdECPrivateKeySpec.cs b/src/net/Netdroid/Generated/Java/Security/Spec/EdECPrivateKeySpec.cs new file mode 100644 index 000000000..485b5b14b --- /dev/null +++ b/src/net/Netdroid/Generated/Java/Security/Spec/EdECPrivateKeySpec.cs @@ -0,0 +1,83 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Java.Security.Spec +{ + #region EdECPrivateKeySpec + public partial class EdECPrivateKeySpec + { + #region Constructors + /// + /// + /// + /// + /// + public EdECPrivateKeySpec(Java.Security.Spec.NamedParameterSpec arg0, byte[] arg1) + : base(arg0, arg1) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + public byte[] GetBytes() + { + return IExecuteWithSignatureArray("getBytes", "()[B"); + } + /// + /// + /// + /// + public Java.Security.Spec.NamedParameterSpec GetParams() + { + return IExecuteWithSignature("getParams", "()Ljava/security/spec/NamedParameterSpec;"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Java/Security/Spec/EdECPublicKeySpec.cs b/src/net/Netdroid/Generated/Java/Security/Spec/EdECPublicKeySpec.cs new file mode 100644 index 000000000..774269cc3 --- /dev/null +++ b/src/net/Netdroid/Generated/Java/Security/Spec/EdECPublicKeySpec.cs @@ -0,0 +1,83 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Java.Security.Spec +{ + #region EdECPublicKeySpec + public partial class EdECPublicKeySpec + { + #region Constructors + /// + /// + /// + /// + /// + public EdECPublicKeySpec(Java.Security.Spec.NamedParameterSpec arg0, Java.Security.Spec.EdECPoint arg1) + : base(arg0, arg1) + { + } + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + + #endregion + + #region Instance methods + /// + /// + /// + /// + public Java.Security.Spec.EdECPoint GetPoint() + { + return IExecuteWithSignature("getPoint", "()Ljava/security/spec/EdECPoint;"); + } + /// + /// + /// + /// + public Java.Security.Spec.NamedParameterSpec GetParams() + { + return IExecuteWithSignature("getParams", "()Ljava/security/spec/NamedParameterSpec;"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Java/Security/Spec/MGF1ParameterSpec.cs b/src/net/Netdroid/Generated/Java/Security/Spec/MGF1ParameterSpec.cs index b8f002258..44aa49949 100644 --- a/src/net/Netdroid/Generated/Java/Security/Spec/MGF1ParameterSpec.cs +++ b/src/net/Netdroid/Generated/Java/Security/Spec/MGF1ParameterSpec.cs @@ -64,6 +64,30 @@ public MGF1ParameterSpec(Java.Lang.String arg0) private static Java.Security.Spec.MGF1ParameterSpec _SHA256Content = default; private static bool _SHA256Ready = false; // this is used because in case of generics /// + /// + /// + public static Java.Security.Spec.MGF1ParameterSpec SHA3_224 { get { if (!_SHA3_224Ready) { _SHA3_224Content = SGetField(LocalBridgeClazz, "SHA3_224"); _SHA3_224Ready = true; } return _SHA3_224Content; } } + private static Java.Security.Spec.MGF1ParameterSpec _SHA3_224Content = default; + private static bool _SHA3_224Ready = false; // this is used because in case of generics + /// + /// + /// + public static Java.Security.Spec.MGF1ParameterSpec SHA3_256 { get { if (!_SHA3_256Ready) { _SHA3_256Content = SGetField(LocalBridgeClazz, "SHA3_256"); _SHA3_256Ready = true; } return _SHA3_256Content; } } + private static Java.Security.Spec.MGF1ParameterSpec _SHA3_256Content = default; + private static bool _SHA3_256Ready = false; // this is used because in case of generics + /// + /// + /// + public static Java.Security.Spec.MGF1ParameterSpec SHA3_384 { get { if (!_SHA3_384Ready) { _SHA3_384Content = SGetField(LocalBridgeClazz, "SHA3_384"); _SHA3_384Ready = true; } return _SHA3_384Content; } } + private static Java.Security.Spec.MGF1ParameterSpec _SHA3_384Content = default; + private static bool _SHA3_384Ready = false; // this is used because in case of generics + /// + /// + /// + public static Java.Security.Spec.MGF1ParameterSpec SHA3_512 { get { if (!_SHA3_512Ready) { _SHA3_512Content = SGetField(LocalBridgeClazz, "SHA3_512"); _SHA3_512Ready = true; } return _SHA3_512Content; } } + private static Java.Security.Spec.MGF1ParameterSpec _SHA3_512Content = default; + private static bool _SHA3_512Ready = false; // this is used because in case of generics + /// /// /// public static Java.Security.Spec.MGF1ParameterSpec SHA384 { get { if (!_SHA384Ready) { _SHA384Content = SGetField(LocalBridgeClazz, "SHA384"); _SHA384Ready = true; } return _SHA384Content; } } diff --git a/src/net/Netdroid/Generated/Java/Security/Spec/NamedParameterSpec.cs b/src/net/Netdroid/Generated/Java/Security/Spec/NamedParameterSpec.cs index 93cf0dbc9..96568fc48 100644 --- a/src/net/Netdroid/Generated/Java/Security/Spec/NamedParameterSpec.cs +++ b/src/net/Netdroid/Generated/Java/Security/Spec/NamedParameterSpec.cs @@ -46,6 +46,18 @@ public NamedParameterSpec(Java.Lang.String arg0) #region Fields /// + /// + /// + public static Java.Security.Spec.NamedParameterSpec ED25519 { get { if (!_ED25519Ready) { _ED25519Content = SGetField(LocalBridgeClazz, "ED25519"); _ED25519Ready = true; } return _ED25519Content; } } + private static Java.Security.Spec.NamedParameterSpec _ED25519Content = default; + private static bool _ED25519Ready = false; // this is used because in case of generics + /// + /// + /// + public static Java.Security.Spec.NamedParameterSpec ED448 { get { if (!_ED448Ready) { _ED448Content = SGetField(LocalBridgeClazz, "ED448"); _ED448Ready = true; } return _ED448Content; } } + private static Java.Security.Spec.NamedParameterSpec _ED448Content = default; + private static bool _ED448Ready = false; // this is used because in case of generics + /// /// /// public static Java.Security.Spec.NamedParameterSpec X25519 { get { if (!_X25519Ready) { _X25519Content = SGetField(LocalBridgeClazz, "X25519"); _X25519Ready = true; } return _X25519Content; } } diff --git a/src/net/Netdroid/Generated/Java/Sql/SQLXML.cs b/src/net/Netdroid/Generated/Java/Sql/SQLXML.cs index 76664e372..8e549d234 100644 --- a/src/net/Netdroid/Generated/Java/Sql/SQLXML.cs +++ b/src/net/Netdroid/Generated/Java/Sql/SQLXML.cs @@ -64,26 +64,26 @@ public partial class SQLXML : Java.Sql.ISQLXML #region Instance methods /// - /// + /// /// /// - /// + /// /// /// - public T GetSource(Java.Lang.Class arg0) where T : Javax.Xml.Transform.ISource, new() + public T SetResult(Java.Lang.Class arg0) where T : Javax.Xml.Transform.IResult, new() { - return IExecute("getSource", arg0); + return IExecuteWithSignature("setResult", "(Ljava/lang/Class;)Ljavax/xml/transform/Result;", arg0); } /// - /// + /// /// /// - /// + /// /// /// - public T SetResult(Java.Lang.Class arg0) where T : Javax.Xml.Transform.IResult, new() + public T GetSource(Java.Lang.Class arg0) where T : Javax.Xml.Transform.ISource, new() { - return IExecute("setResult", arg0); + return IExecuteWithSignature("getSource", "(Ljava/lang/Class;)Ljavax/xml/transform/Source;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Java/Text/DecimalFormatSymbols.cs b/src/net/Netdroid/Generated/Java/Text/DecimalFormatSymbols.cs index 55def3a17..4bdd7fe1b 100644 --- a/src/net/Netdroid/Generated/Java/Text/DecimalFormatSymbols.cs +++ b/src/net/Netdroid/Generated/Java/Text/DecimalFormatSymbols.cs @@ -127,6 +127,14 @@ public char GetMonetaryDecimalSeparator() return IExecuteWithSignature("getMonetaryDecimalSeparator", "()C"); } /// + /// + /// + /// + public char GetMonetaryGroupingSeparator() + { + return IExecuteWithSignature("getMonetaryGroupingSeparator", "()C"); + } + /// /// /// /// @@ -287,6 +295,14 @@ public void SetMonetaryDecimalSeparator(char arg0) IExecuteWithSignature("setMonetaryDecimalSeparator", "(C)V", arg0); } /// + /// + /// + /// + public void SetMonetaryGroupingSeparator(char arg0) + { + IExecuteWithSignature("setMonetaryGroupingSeparator", "(C)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Text/NumberFormat.cs b/src/net/Netdroid/Generated/Java/Text/NumberFormat.cs index b65ea5bf5..37305c45a 100644 --- a/src/net/Netdroid/Generated/Java/Text/NumberFormat.cs +++ b/src/net/Netdroid/Generated/Java/Text/NumberFormat.cs @@ -94,6 +94,24 @@ public static Java.Text.NumberFormat GetPercentInstance() return SExecuteWithSignature(LocalBridgeClazz, "getPercentInstance", "()Ljava/text/NumberFormat;"); } /// + /// + /// + /// + public static Java.Text.NumberFormat GetCompactNumberInstance() + { + return SExecuteWithSignature(LocalBridgeClazz, "getCompactNumberInstance", "()Ljava/text/NumberFormat;"); + } + /// + /// + /// + /// + /// + /// + public static Java.Text.NumberFormat GetCompactNumberInstance(Java.Util.Locale arg0, Java.Text.NumberFormat.Style arg1) + { + return SExecute(LocalBridgeClazz, "getCompactNumberInstance", arg0, arg1); + } + /// /// /// /// @@ -415,11 +433,23 @@ public partial class Field private static Java.Text.NumberFormat.Field _PERMILLEContent = default; private static bool _PERMILLEReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Text.NumberFormat.Field PREFIX { get { if (!_PREFIXReady) { _PREFIXContent = SGetField(LocalBridgeClazz, "PREFIX"); _PREFIXReady = true; } return _PREFIXContent; } } + private static Java.Text.NumberFormat.Field _PREFIXContent = default; + private static bool _PREFIXReady = false; // this is used because in case of generics + /// /// /// public static Java.Text.NumberFormat.Field SIGN { get { if (!_SIGNReady) { _SIGNContent = SGetField(LocalBridgeClazz, "SIGN"); _SIGNReady = true; } return _SIGNContent; } } private static Java.Text.NumberFormat.Field _SIGNContent = default; private static bool _SIGNReady = false; // this is used because in case of generics + /// + /// + /// + public static Java.Text.NumberFormat.Field SUFFIX { get { if (!_SUFFIXReady) { _SUFFIXContent = SGetField(LocalBridgeClazz, "SUFFIX"); _SUFFIXReady = true; } return _SUFFIXContent; } } + private static Java.Text.NumberFormat.Field _SUFFIXContent = default; + private static bool _SUFFIXReady = false; // this is used because in case of generics #endregion diff --git a/src/net/Netdroid/Generated/Java/Time/AllPackageClasses.cs b/src/net/Netdroid/Generated/Java/Time/AllPackageClasses.cs index 2f493a364..3e51b3261 100644 --- a/src/net/Netdroid/Generated/Java/Time/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Java/Time/AllPackageClasses.cs @@ -30,7 +30,7 @@ namespace Java.Time /// /// /// - public partial class Clock : MASES.JCOBridge.C2JBridge.JVMBridgeBase + public partial class Clock : Java.Time.InstantSource { const string _bridgeClassName = "java.time.Clock"; /// @@ -221,6 +221,52 @@ public Instant(params object[] args) : base(args) { } } #endregion + #region InstantSource + /// + /// + /// + public partial class InstantSource : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "java.time.InstantSource"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + [global::System.Obsolete("InstantSource class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public InstantSource() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + [global::System.Obsolete("InstantSource class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] + public InstantSource(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => true; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => true; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region LocalDate /// /// diff --git a/src/net/Netdroid/Generated/Java/Time/Chrono/Chronology.cs b/src/net/Netdroid/Generated/Java/Time/Chrono/Chronology.cs index a99d30993..108c792dd 100644 --- a/src/net/Netdroid/Generated/Java/Time/Chrono/Chronology.cs +++ b/src/net/Netdroid/Generated/Java/Time/Chrono/Chronology.cs @@ -291,7 +291,7 @@ public Java.Time.Chrono.ChronoLocalDate DateYearDay(Java.Time.Chrono.Era arg0, i /// /// /// - public Java.Time.Chrono.ChronoLocalDateTime LocalDateTime(Java.Time.Temporal.TemporalAccessor arg0) where ReturnExtendsJava_Time_Chrono_ChronoLocalDate : Java.Time.Chrono.ChronoLocalDate, new() + public Java.Time.Chrono.ChronoLocalDateTime LocalDateTime(Java.Time.Temporal.TemporalAccessor arg0) where ReturnExtendsJava_Time_Chrono_ChronoLocalDate : Java.Time.Chrono.ChronoLocalDate { return IExecuteWithSignature>("localDateTime", "(Ljava/time/temporal/TemporalAccessor;)Ljava/time/chrono/ChronoLocalDateTime;", arg0); } @@ -313,7 +313,7 @@ public Java.Time.Chrono.ChronoPeriod Period(int arg0, int arg1, int arg2) /// /// /// - public Java.Time.Chrono.ChronoZonedDateTime ZonedDateTime(Java.Time.Instant arg0, Java.Time.ZoneId arg1) where ReturnExtendsJava_Time_Chrono_ChronoLocalDate : Java.Time.Chrono.ChronoLocalDate, new() + public Java.Time.Chrono.ChronoZonedDateTime ZonedDateTime(Java.Time.Instant arg0, Java.Time.ZoneId arg1) where ReturnExtendsJava_Time_Chrono_ChronoLocalDate : Java.Time.Chrono.ChronoLocalDate { return IExecute>("zonedDateTime", arg0, arg1); } @@ -323,7 +323,7 @@ public Java.Time.Chrono.ChronoPeriod Period(int arg0, int arg1, int arg2) /// /// /// - public Java.Time.Chrono.ChronoZonedDateTime ZonedDateTime(Java.Time.Temporal.TemporalAccessor arg0) where ReturnExtendsJava_Time_Chrono_ChronoLocalDate : Java.Time.Chrono.ChronoLocalDate, new() + public Java.Time.Chrono.ChronoZonedDateTime ZonedDateTime(Java.Time.Temporal.TemporalAccessor arg0) where ReturnExtendsJava_Time_Chrono_ChronoLocalDate : Java.Time.Chrono.ChronoLocalDate { return IExecuteWithSignature>("zonedDateTime", "(Ljava/time/temporal/TemporalAccessor;)Ljava/time/chrono/ChronoZonedDateTime;", arg0); } diff --git a/src/net/Netdroid/Generated/Java/Time/Chrono/JapaneseEra.cs b/src/net/Netdroid/Generated/Java/Time/Chrono/JapaneseEra.cs index b5d44b48d..c28cb6d3d 100644 --- a/src/net/Netdroid/Generated/Java/Time/Chrono/JapaneseEra.cs +++ b/src/net/Netdroid/Generated/Java/Time/Chrono/JapaneseEra.cs @@ -58,6 +58,12 @@ public partial class JapaneseEra : Java.Time.Chrono.IEra, Java.Io.ISerializable private static Java.Time.Chrono.JapaneseEra _MEIJIContent = default; private static bool _MEIJIReady = false; // this is used because in case of generics /// + /// + /// + public static Java.Time.Chrono.JapaneseEra REIWA { get { if (!_REIWAReady) { _REIWAContent = SGetField(LocalBridgeClazz, "REIWA"); _REIWAReady = true; } return _REIWAContent; } } + private static Java.Time.Chrono.JapaneseEra _REIWAContent = default; + private static bool _REIWAReady = false; // this is used because in case of generics + /// /// /// public static Java.Time.Chrono.JapaneseEra SHOWA { get { if (!_SHOWAReady) { _SHOWAContent = SGetField(LocalBridgeClazz, "SHOWA"); _SHOWAReady = true; } return _SHOWAContent; } } diff --git a/src/net/Netdroid/Generated/Java/Time/Format/DateTimeFormatterBuilder.cs b/src/net/Netdroid/Generated/Java/Time/Format/DateTimeFormatterBuilder.cs index 041eb0497..175c9fb70 100644 --- a/src/net/Netdroid/Generated/Java/Time/Format/DateTimeFormatterBuilder.cs +++ b/src/net/Netdroid/Generated/Java/Time/Format/DateTimeFormatterBuilder.cs @@ -101,6 +101,15 @@ public Java.Time.Format.DateTimeFormatterBuilder AppendChronologyText(Java.Time. return IExecuteWithSignature("appendChronologyText", "(Ljava/time/format/TextStyle;)Ljava/time/format/DateTimeFormatterBuilder;", arg0); } /// + /// + /// + /// + /// + public Java.Time.Format.DateTimeFormatterBuilder AppendDayPeriodText(Java.Time.Format.TextStyle arg0) + { + return IExecuteWithSignature("appendDayPeriodText", "(Ljava/time/format/TextStyle;)Ljava/time/format/DateTimeFormatterBuilder;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Time/InstantSource.cs b/src/net/Netdroid/Generated/Java/Time/InstantSource.cs new file mode 100644 index 000000000..0a68ea7e8 --- /dev/null +++ b/src/net/Netdroid/Generated/Java/Time/InstantSource.cs @@ -0,0 +1,138 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Java.Time +{ + #region IInstantSource + /// + /// .NET interface for TO BE DEFINED FROM USER + /// + public partial interface IInstantSource + { + #region Instance methods + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion + + #region InstantSource + public partial class InstantSource : Java.Time.IInstantSource + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + public static Java.Time.InstantSource Fixed(Java.Time.Instant arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "fixed", "(Ljava/time/Instant;)Ljava/time/InstantSource;", arg0); + } + /// + /// + /// + /// + /// + /// + public static Java.Time.InstantSource Offset(Java.Time.InstantSource arg0, Java.Time.Duration arg1) + { + return SExecute(LocalBridgeClazz, "offset", arg0, arg1); + } + /// + /// + /// + /// + public static Java.Time.InstantSource System() + { + return SExecuteWithSignature(LocalBridgeClazz, "system", "()Ljava/time/InstantSource;"); + } + /// + /// + /// + /// + /// + /// + public static Java.Time.InstantSource Tick(Java.Time.InstantSource arg0, Java.Time.Duration arg1) + { + return SExecute(LocalBridgeClazz, "tick", arg0, arg1); + } + + #endregion + + #region Instance methods + /// + /// + /// + /// + public Java.Time.Instant Instant() + { + return IExecuteWithSignature("instant", "()Ljava/time/Instant;"); + } + /// + /// + /// + /// + /// + public Java.Time.Clock WithZone(Java.Time.ZoneId arg0) + { + return IExecuteWithSignature("withZone", "(Ljava/time/ZoneId;)Ljava/time/Clock;", arg0); + } + /// + /// + /// + /// + public long Millis() + { + return IExecuteWithSignature("millis", "()J"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Java/Util/AllPackageClasses.cs b/src/net/Netdroid/Generated/Java/Util/AllPackageClasses.cs index 6dbb4adfa..08db43376 100644 --- a/src/net/Netdroid/Generated/Java/Util/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Java/Util/AllPackageClasses.cs @@ -2698,6 +2698,50 @@ public Hashtable(params object[] args) : base(args) { } } #endregion + #region HexFormat + /// + /// + /// + public partial class HexFormat : MASES.JCOBridge.C2JBridge.JVMBridgeBase + { + const string _bridgeClassName = "java.util.HexFormat"; + /// + /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge + /// + public HexFormat() { } + /// + /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class + /// + public HexFormat(params object[] args) : base(args) { } + + private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); + + /// + /// + /// + public override string BridgeClassName => _bridgeClassName; + /// + /// + /// + public override bool IsBridgeAbstract => false; + /// + /// + /// + public override bool IsBridgeCloseable => false; + /// + /// + /// + public override bool IsBridgeInterface => false; + /// + /// + /// + public override bool IsBridgeStatic => false; + + // TODO: complete the class + + } + #endregion + #region IdentityHashMap /// /// @@ -5149,7 +5193,7 @@ public Queue(params object[] args) : base(args) { } /// /// /// - public partial class Random : Java.Io.Serializable + public partial class Random : MASES.JCOBridge.C2JBridge.JVMBridgeBase { const string _bridgeClassName = "java.util.Random"; /// diff --git a/src/net/Netdroid/Generated/Java/Util/Arrays.cs b/src/net/Netdroid/Generated/Java/Util/Arrays.cs index 278f64d15..58e87d048 100644 --- a/src/net/Netdroid/Generated/Java/Util/Arrays.cs +++ b/src/net/Netdroid/Generated/Java/Util/Arrays.cs @@ -42,6 +42,52 @@ public partial class Arrays #region Static methods /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + public static int Compare(T[] arg0, int arg1, int arg2, T[] arg3, int arg4, int arg5) + { + return SExecute(LocalBridgeClazz, "compare", arg0, arg1, arg2, arg3, arg4, arg5); + } + /// + /// + /// + /// + /// + /// + /// + public static int Compare(T[] arg0, T[] arg1) + { + return SExecute(LocalBridgeClazz, "compare", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + public static void ParallelSort(T[] arg0, int arg1, int arg2) + { + SExecute(LocalBridgeClazz, "parallelSort", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + public static void ParallelSort(T[] arg0) + { + SExecuteWithSignature(LocalBridgeClazz, "parallelSort", "([Ljava/lang/Comparable;)V", new object[] { arg0 }); + } + /// /// /// /// @@ -69,32 +115,6 @@ public static T[] CopyOfRange(U[] arg0, int arg1, int arg2, Java.Lang.Clas return SExecuteArray(LocalBridgeClazz, "copyOfRange", arg0, arg1, arg2, arg3); } /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - /// - public static int Compare(T[] arg0, int arg1, int arg2, T[] arg3, int arg4, int arg5) - { - return SExecute(LocalBridgeClazz, "compare", arg0, arg1, arg2, arg3, arg4, arg5); - } - /// - /// - /// - /// - /// - /// - /// - public static int Compare(T[] arg0, T[] arg1) - { - return SExecute(LocalBridgeClazz, "compare", arg0, arg1); - } - /// /// /// /// @@ -205,26 +225,6 @@ public static void ParallelSetAll(T[] arg0, Java.Util.Function. SExecute(LocalBridgeClazz, "parallelSetAll", arg0, arg1); } /// - /// - /// - /// - /// - /// - /// - public static void ParallelSort(T[] arg0, int arg1, int arg2) - { - SExecute(LocalBridgeClazz, "parallelSort", arg0, arg1, arg2); - } - /// - /// - /// - /// - /// - public static void ParallelSort(T[] arg0) - { - SExecute(LocalBridgeClazz, "parallelSort", new object[] { arg0 }); - } - /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Util/Collections.cs b/src/net/Netdroid/Generated/Java/Util/Collections.cs index a50f41db9..494771a76 100644 --- a/src/net/Netdroid/Generated/Java/Util/Collections.cs +++ b/src/net/Netdroid/Generated/Java/Util/Collections.cs @@ -275,6 +275,37 @@ public static Java.Util.SortedMap UnmodifiableSortedMap>(LocalBridgeClazz, "unmodifiableSortedMap", arg0); } /// + /// + /// + /// + /// + public static void Sort(Java.Util.List arg0) + { + SExecuteWithSignature(LocalBridgeClazz, "sort", "(Ljava/util/List;)V", arg0); + } + /// + /// + /// + /// + /// + /// + /// + public static T Max(Java.Util.Collection arg0) where Arg0ExtendsT : T + { + return SExecute(LocalBridgeClazz, "max", arg0); + } + /// + /// + /// + /// + /// + /// + /// + public static T Min(Java.Util.Collection arg0) where Arg0ExtendsT : T + { + return SExecute(LocalBridgeClazz, "min", arg0); + } + /// /// /// /// @@ -503,28 +534,6 @@ public static Java.Util.SortedSet UnmodifiableSortedSet(Java.Util.SortedSe return SExecuteWithSignature>(LocalBridgeClazz, "unmodifiableSortedSet", "(Ljava/util/SortedSet;)Ljava/util/SortedSet;", arg0); } /// - /// - /// - /// - /// - /// - /// - public static T Max(Java.Util.Collection arg0) where Arg0ExtendsT : T - { - return SExecute(LocalBridgeClazz, "max", arg0); - } - /// - /// - /// - /// - /// - /// - /// - public static T Min(Java.Util.Collection arg0) where Arg0ExtendsT : T - { - return SExecute(LocalBridgeClazz, "min", arg0); - } - /// /// /// /// @@ -548,15 +557,6 @@ public static void Fill(Java.Util.List ar SExecute(LocalBridgeClazz, "fill", arg0, arg1); } /// - /// - /// - /// - /// - public static void Sort(Java.Util.List arg0) - { - SExecute(LocalBridgeClazz, "sort", arg0); - } - /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Util/Concurrent/CompletableFuture.cs b/src/net/Netdroid/Generated/Java/Util/Concurrent/CompletableFuture.cs index adaa85c4a..356637f2a 100644 --- a/src/net/Netdroid/Generated/Java/Util/Concurrent/CompletableFuture.cs +++ b/src/net/Netdroid/Generated/Java/Util/Concurrent/CompletableFuture.cs @@ -361,6 +361,53 @@ public Java.Util.Concurrent.CompletionStage Exceptionally(Java.Util.Function.Fun return IExecuteWithSignature("exceptionally", "(Ljava/util/function/Function;)Ljava/util/concurrent/CompletionStage;", arg0); } /// + /// + /// + /// + /// + /// + public Java.Util.Concurrent.CompletionStage ExceptionallyAsync(Java.Util.Function.Function arg0, Java.Util.Concurrent.Executor arg1) + { + return IExecute("exceptionallyAsync", arg0, arg1); + } + /// + /// + /// + /// + /// + public Java.Util.Concurrent.CompletionStage ExceptionallyAsync(Java.Util.Function.Function arg0) + { + return IExecuteWithSignature("exceptionallyAsync", "(Ljava/util/function/Function;)Ljava/util/concurrent/CompletionStage;", arg0); + } + /// + /// + /// + /// + /// + public Java.Util.Concurrent.CompletionStage ExceptionallyCompose(Java.Util.Function.Function arg0) + { + return IExecuteWithSignature("exceptionallyCompose", "(Ljava/util/function/Function;)Ljava/util/concurrent/CompletionStage;", arg0); + } + /// + /// + /// + /// + /// + /// + public Java.Util.Concurrent.CompletionStage ExceptionallyComposeAsync(Java.Util.Function.Function arg0, Java.Util.Concurrent.Executor arg1) + { + return IExecute("exceptionallyComposeAsync", arg0, arg1); + } + /// + /// + /// + /// + /// + public Java.Util.Concurrent.CompletionStage ExceptionallyComposeAsync(Java.Util.Function.Function arg0) + { + return IExecuteWithSignature("exceptionallyComposeAsync", "(Ljava/util/function/Function;)Ljava/util/concurrent/CompletionStage;", arg0); + } + /// /// /// /// @@ -1115,6 +1162,53 @@ public Java.Util.Concurrent.CompletionStage Exceptionally(Java.Util.Function.Fun return IExecuteWithSignature("exceptionally", "(Ljava/util/function/Function;)Ljava/util/concurrent/CompletionStage;", arg0); } /// + /// + /// + /// + /// + /// + public Java.Util.Concurrent.CompletionStage ExceptionallyAsync(Java.Util.Function.Function arg0, Java.Util.Concurrent.Executor arg1) + { + return IExecute("exceptionallyAsync", arg0, arg1); + } + /// + /// + /// + /// + /// + public Java.Util.Concurrent.CompletionStage ExceptionallyAsync(Java.Util.Function.Function arg0) + { + return IExecuteWithSignature("exceptionallyAsync", "(Ljava/util/function/Function;)Ljava/util/concurrent/CompletionStage;", arg0); + } + /// + /// + /// + /// + /// + public Java.Util.Concurrent.CompletionStage ExceptionallyCompose(Java.Util.Function.Function arg0) + { + return IExecuteWithSignature("exceptionallyCompose", "(Ljava/util/function/Function;)Ljava/util/concurrent/CompletionStage;", arg0); + } + /// + /// + /// + /// + /// + /// + public Java.Util.Concurrent.CompletionStage ExceptionallyComposeAsync(Java.Util.Function.Function arg0, Java.Util.Concurrent.Executor arg1) + { + return IExecute("exceptionallyComposeAsync", arg0, arg1); + } + /// + /// + /// + /// + /// + public Java.Util.Concurrent.CompletionStage ExceptionallyComposeAsync(Java.Util.Function.Function arg0) + { + return IExecuteWithSignature("exceptionallyComposeAsync", "(Ljava/util/function/Function;)Ljava/util/concurrent/CompletionStage;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Util/Concurrent/CompletionStage.cs b/src/net/Netdroid/Generated/Java/Util/Concurrent/CompletionStage.cs index e47938b9c..1d8b4c3cb 100644 --- a/src/net/Netdroid/Generated/Java/Util/Concurrent/CompletionStage.cs +++ b/src/net/Netdroid/Generated/Java/Util/Concurrent/CompletionStage.cs @@ -416,6 +416,53 @@ public Java.Util.Concurrent.CompletionStage WhenCompleteAsync(Java.Util.Function { return IExecuteWithSignature("whenCompleteAsync", "(Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletionStage;", arg0); } + /// + /// + /// + /// + /// + /// + public Java.Util.Concurrent.CompletionStage ExceptionallyAsync(Java.Util.Function.Function arg0, Java.Util.Concurrent.Executor arg1) + { + return IExecute("exceptionallyAsync", arg0, arg1); + } + /// + /// + /// + /// + /// + public Java.Util.Concurrent.CompletionStage ExceptionallyAsync(Java.Util.Function.Function arg0) + { + return IExecuteWithSignature("exceptionallyAsync", "(Ljava/util/function/Function;)Ljava/util/concurrent/CompletionStage;", arg0); + } + /// + /// + /// + /// + /// + public Java.Util.Concurrent.CompletionStage ExceptionallyCompose(Java.Util.Function.Function arg0) + { + return IExecuteWithSignature("exceptionallyCompose", "(Ljava/util/function/Function;)Ljava/util/concurrent/CompletionStage;", arg0); + } + /// + /// + /// + /// + /// + /// + public Java.Util.Concurrent.CompletionStage ExceptionallyComposeAsync(Java.Util.Function.Function arg0, Java.Util.Concurrent.Executor arg1) + { + return IExecute("exceptionallyComposeAsync", arg0, arg1); + } + /// + /// + /// + /// + /// + public Java.Util.Concurrent.CompletionStage ExceptionallyComposeAsync(Java.Util.Function.Function arg0) + { + return IExecuteWithSignature("exceptionallyComposeAsync", "(Ljava/util/function/Function;)Ljava/util/concurrent/CompletionStage;", arg0); + } #endregion @@ -922,6 +969,58 @@ public Java.Util.Concurrent.CompletionStage WhenCompleteAsync>("whenCompleteAsync", "(Ljava/util/function/BiConsumer;)Ljava/util/concurrent/CompletionStage;", arg0); } + /// + /// + /// + /// + /// + /// + /// + public Java.Util.Concurrent.CompletionStage ExceptionallyAsync(Java.Util.Function.Function arg0, Java.Util.Concurrent.Executor arg1) where Arg0ExtendsT : T + { + return IExecute>("exceptionallyAsync", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + public Java.Util.Concurrent.CompletionStage ExceptionallyAsync(Java.Util.Function.Function arg0) where Arg0ExtendsT : T + { + return IExecuteWithSignature>("exceptionallyAsync", "(Ljava/util/function/Function;)Ljava/util/concurrent/CompletionStage;", arg0); + } + /// + /// + /// + /// + /// + /// + public Java.Util.Concurrent.CompletionStage ExceptionallyCompose(Java.Util.Function.Function arg0) where Arg0ExtendsJava_Util_Concurrent_CompletionStage_T_ : Java.Util.Concurrent.CompletionStage + { + return IExecuteWithSignature>("exceptionallyCompose", "(Ljava/util/function/Function;)Ljava/util/concurrent/CompletionStage;", arg0); + } + /// + /// + /// + /// + /// + /// + /// + public Java.Util.Concurrent.CompletionStage ExceptionallyComposeAsync(Java.Util.Function.Function arg0, Java.Util.Concurrent.Executor arg1) where Arg0ExtendsJava_Util_Concurrent_CompletionStage_T_ : Java.Util.Concurrent.CompletionStage + { + return IExecute>("exceptionallyComposeAsync", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + public Java.Util.Concurrent.CompletionStage ExceptionallyComposeAsync(Java.Util.Function.Function arg0) where Arg0ExtendsJava_Util_Concurrent_CompletionStage_T_ : Java.Util.Concurrent.CompletionStage + { + return IExecuteWithSignature>("exceptionallyComposeAsync", "(Ljava/util/function/Function;)Ljava/util/concurrent/CompletionStage;", arg0); + } #endregion diff --git a/src/net/Netdroid/Generated/Java/Util/Concurrent/Executors.cs b/src/net/Netdroid/Generated/Java/Util/Concurrent/Executors.cs index b6c47fce7..9b97d8c59 100644 --- a/src/net/Netdroid/Generated/Java/Util/Concurrent/Executors.cs +++ b/src/net/Netdroid/Generated/Java/Util/Concurrent/Executors.cs @@ -58,6 +58,7 @@ public static Java.Util.Concurrent.Callable Callable(Java.Lang.Runnable ar /// /// /// + [global::System.Obsolete()] public static Java.Util.Concurrent.Callable PrivilegedCallable(Java.Util.Concurrent.Callable arg0) { return SExecuteWithSignature>(LocalBridgeClazz, "privilegedCallable", "(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Callable;", arg0); @@ -68,6 +69,7 @@ public static Java.Util.Concurrent.Callable PrivilegedCallable(Java.Util.C /// /// /// + [global::System.Obsolete()] public static Java.Util.Concurrent.Callable PrivilegedCallableUsingCurrentClassLoader(Java.Util.Concurrent.Callable arg0) { return SExecuteWithSignature>(LocalBridgeClazz, "privilegedCallableUsingCurrentClassLoader", "(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Callable;", arg0); @@ -235,6 +237,7 @@ public static Java.Util.Concurrent.ThreadFactory DefaultThreadFactory() /// /// /// + [global::System.Obsolete()] public static Java.Util.Concurrent.ThreadFactory PrivilegedThreadFactory() { return SExecuteWithSignature(LocalBridgeClazz, "privilegedThreadFactory", "()Ljava/util/concurrent/ThreadFactory;"); diff --git a/src/net/Netdroid/Generated/Java/Util/Concurrent/ForkJoinTask.cs b/src/net/Netdroid/Generated/Java/Util/Concurrent/ForkJoinTask.cs index 30ee7f2e9..6892b1bf3 100644 --- a/src/net/Netdroid/Generated/Java/Util/Concurrent/ForkJoinTask.cs +++ b/src/net/Netdroid/Generated/Java/Util/Concurrent/ForkJoinTask.cs @@ -56,7 +56,7 @@ public partial class ForkJoinTask /// public static Java.Util.Collection InvokeAll(Java.Util.Collection arg0) { - return SExecute(LocalBridgeClazz, "invokeAll", arg0); + return SExecuteWithSignature(LocalBridgeClazz, "invokeAll", "(Ljava/util/Collection;)Ljava/util/Collection;", arg0); } /// /// @@ -376,7 +376,7 @@ public partial class ForkJoinTask : Java.Util.Concurrent.IFuture, Java.Io. /// public static Java.Util.Collection InvokeAll(Java.Util.Collection arg0) { - return SExecute>(LocalBridgeClazz, "invokeAll", arg0); + return SExecuteWithSignature>(LocalBridgeClazz, "invokeAll", "(Ljava/util/Collection;)Ljava/util/Collection;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Java/Util/Concurrent/Locks/LockSupport.cs b/src/net/Netdroid/Generated/Java/Util/Concurrent/Locks/LockSupport.cs index f30d63c4f..2a5338f1a 100644 --- a/src/net/Netdroid/Generated/Java/Util/Concurrent/Locks/LockSupport.cs +++ b/src/net/Netdroid/Generated/Java/Util/Concurrent/Locks/LockSupport.cs @@ -100,6 +100,14 @@ public static void ParkUntil(long arg0) SExecuteWithSignature(LocalBridgeClazz, "parkUntil", "(J)V", arg0); } /// + /// + /// + /// + public static void SetCurrentBlocker(object arg0) + { + SExecuteWithSignature(LocalBridgeClazz, "setCurrentBlocker", "(Ljava/lang/Object;)V", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Util/Concurrent/ThreadLocalRandom.cs b/src/net/Netdroid/Generated/Java/Util/Concurrent/ThreadLocalRandom.cs index 6814f05fe..e3b1840f5 100644 --- a/src/net/Netdroid/Generated/Java/Util/Concurrent/ThreadLocalRandom.cs +++ b/src/net/Netdroid/Generated/Java/Util/Concurrent/ThreadLocalRandom.cs @@ -53,54 +53,6 @@ public static Java.Util.Concurrent.ThreadLocalRandom Current() #endregion #region Instance methods - /// - /// - /// - /// - /// - /// - public double NextDouble(double arg0, double arg1) - { - return IExecute("nextDouble", arg0, arg1); - } - /// - /// - /// - /// - /// - public double NextDouble(double arg0) - { - return IExecuteWithSignature("nextDouble", "(D)D", arg0); - } - /// - /// - /// - /// - /// - /// - public int NextInt(int arg0, int arg1) - { - return IExecute("nextInt", arg0, arg1); - } - /// - /// - /// - /// - /// - /// - public long NextLong(long arg0, long arg1) - { - return IExecute("nextLong", arg0, arg1); - } - /// - /// - /// - /// - /// - public long NextLong(long arg0) - { - return IExecuteWithSignature("nextLong", "(J)J", arg0); - } #endregion diff --git a/src/net/Netdroid/Generated/Java/Util/EnumSet.cs b/src/net/Netdroid/Generated/Java/Util/EnumSet.cs index 87b3519aa..fb46ea9c3 100644 --- a/src/net/Netdroid/Generated/Java/Util/EnumSet.cs +++ b/src/net/Netdroid/Generated/Java/Util/EnumSet.cs @@ -56,7 +56,7 @@ public partial class EnumSet /// public static Java.Util.EnumSet AllOf(Java.Lang.Class arg0) { - return SExecute(LocalBridgeClazz, "allOf", arg0); + return SExecuteWithSignature(LocalBridgeClazz, "allOf", "(Ljava/lang/Class;)Ljava/util/EnumSet;", arg0); } /// /// @@ -65,7 +65,7 @@ public static Java.Util.EnumSet AllOf(Java.Lang.Class arg0) /// public static Java.Util.EnumSet ComplementOf(Java.Util.EnumSet arg0) { - return SExecute(LocalBridgeClazz, "complementOf", arg0); + return SExecuteWithSignature(LocalBridgeClazz, "complementOf", "(Ljava/util/EnumSet;)Ljava/util/EnumSet;", arg0); } /// /// @@ -74,7 +74,7 @@ public static Java.Util.EnumSet ComplementOf(Java.Util.EnumSet arg0) /// public static Java.Util.EnumSet CopyOf(Java.Util.Collection arg0) { - return SExecute(LocalBridgeClazz, "copyOf", arg0); + return SExecuteWithSignature(LocalBridgeClazz, "copyOf", "(Ljava/util/Collection;)Ljava/util/EnumSet;", arg0); } /// /// @@ -83,7 +83,7 @@ public static Java.Util.EnumSet CopyOf(Java.Util.Collection arg0) /// public static Java.Util.EnumSet CopyOf(Java.Util.EnumSet arg0) { - return SExecute(LocalBridgeClazz, "copyOf", arg0); + return SExecuteWithSignature(LocalBridgeClazz, "copyOf", "(Ljava/util/EnumSet;)Ljava/util/EnumSet;", arg0); } /// /// @@ -92,7 +92,7 @@ public static Java.Util.EnumSet CopyOf(Java.Util.EnumSet arg0) /// public static Java.Util.EnumSet NoneOf(Java.Lang.Class arg0) { - return SExecute(LocalBridgeClazz, "noneOf", arg0); + return SExecuteWithSignature(LocalBridgeClazz, "noneOf", "(Ljava/lang/Class;)Ljava/util/EnumSet;", arg0); } /// /// @@ -157,7 +157,7 @@ public static Java.Util.EnumSet Of(Java.Lang.Enum arg0, Java.Lang.Enum arg1) /// public static Java.Util.EnumSet Of(Java.Lang.Enum arg0) { - return SExecute(LocalBridgeClazz, "of", arg0); + return SExecuteWithSignature(LocalBridgeClazz, "of", "(Ljava/lang/Enum;)Ljava/util/EnumSet;", arg0); } /// /// @@ -227,7 +227,7 @@ public partial class EnumSet : Java.Lang.ICloneable, Java.Io.ISerializable /// public static Java.Util.EnumSet AllOf(Java.Lang.Class arg0) { - return SExecute>(LocalBridgeClazz, "allOf", arg0); + return SExecuteWithSignature>(LocalBridgeClazz, "allOf", "(Ljava/lang/Class;)Ljava/util/EnumSet;", arg0); } /// /// @@ -236,7 +236,7 @@ public static Java.Util.EnumSet AllOf(Java.Lang.Class arg0) /// public static Java.Util.EnumSet ComplementOf(Java.Util.EnumSet arg0) { - return SExecute>(LocalBridgeClazz, "complementOf", arg0); + return SExecuteWithSignature>(LocalBridgeClazz, "complementOf", "(Ljava/util/EnumSet;)Ljava/util/EnumSet;", arg0); } /// /// @@ -245,7 +245,7 @@ public static Java.Util.EnumSet ComplementOf(Java.Util.EnumSet arg0) /// public static Java.Util.EnumSet CopyOf(Java.Util.Collection arg0) { - return SExecute>(LocalBridgeClazz, "copyOf", arg0); + return SExecuteWithSignature>(LocalBridgeClazz, "copyOf", "(Ljava/util/Collection;)Ljava/util/EnumSet;", arg0); } /// /// @@ -254,7 +254,7 @@ public static Java.Util.EnumSet CopyOf(Java.Util.Collection arg0) /// public static Java.Util.EnumSet CopyOf(Java.Util.EnumSet arg0) { - return SExecute>(LocalBridgeClazz, "copyOf", arg0); + return SExecuteWithSignature>(LocalBridgeClazz, "copyOf", "(Ljava/util/EnumSet;)Ljava/util/EnumSet;", arg0); } /// /// @@ -263,7 +263,7 @@ public static Java.Util.EnumSet CopyOf(Java.Util.EnumSet arg0) /// public static Java.Util.EnumSet NoneOf(Java.Lang.Class arg0) { - return SExecute>(LocalBridgeClazz, "noneOf", arg0); + return SExecuteWithSignature>(LocalBridgeClazz, "noneOf", "(Ljava/lang/Class;)Ljava/util/EnumSet;", arg0); } /// /// @@ -328,7 +328,7 @@ public static Java.Util.EnumSet Of(E arg0, E arg1) /// public static Java.Util.EnumSet Of(E arg0) { - return SExecute>(LocalBridgeClazz, "of", arg0); + return SExecuteWithSignature>(LocalBridgeClazz, "of", "(Ljava/lang/Enum;)Ljava/util/EnumSet;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Java/Util/HexFormat.cs b/src/net/Netdroid/Generated/Java/Util/HexFormat.cs new file mode 100644 index 000000000..bcf0d9a43 --- /dev/null +++ b/src/net/Netdroid/Generated/Java/Util/HexFormat.cs @@ -0,0 +1,367 @@ +/* +* Copyright 2024 MASES s.r.l. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* Refer to LICENSE for more information. +*/ + +/* +* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) +* using android.jar as reference +*/ + +using MASES.JCOBridge.C2JBridge; + +namespace Java.Util +{ + #region HexFormat + public partial class HexFormat + { + #region Constructors + + #endregion + + #region Class/Interface conversion operators + + #endregion + + #region Fields + + #endregion + + #region Static methods + /// + /// + /// + /// + /// + public static bool IsHexDigit(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "isHexDigit", "(I)Z", arg0); + } + /// + /// + /// + /// + /// + public static int FromHexDigit(int arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "fromHexDigit", "(I)I", arg0); + } + /// + /// + /// + /// + /// + /// + /// + public static int FromHexDigits(Java.Lang.CharSequence arg0, int arg1, int arg2) + { + return SExecute(LocalBridgeClazz, "fromHexDigits", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + public static int FromHexDigits(Java.Lang.CharSequence arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "fromHexDigits", "(Ljava/lang/CharSequence;)I", arg0); + } + /// + /// + /// + /// + public static Java.Util.HexFormat Of() + { + return SExecuteWithSignature(LocalBridgeClazz, "of", "()Ljava/util/HexFormat;"); + } + /// + /// + /// + /// + /// + public static Java.Util.HexFormat OfDelimiter(Java.Lang.String arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "ofDelimiter", "(Ljava/lang/String;)Ljava/util/HexFormat;", arg0); + } + /// + /// + /// + /// + /// + /// + /// + public static long FromHexDigitsToLong(Java.Lang.CharSequence arg0, int arg1, int arg2) + { + return SExecute(LocalBridgeClazz, "fromHexDigitsToLong", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + public static long FromHexDigitsToLong(Java.Lang.CharSequence arg0) + { + return SExecuteWithSignature(LocalBridgeClazz, "fromHexDigitsToLong", "(Ljava/lang/CharSequence;)J", arg0); + } + + #endregion + + #region Instance methods + /// + /// + /// + /// + /// + /// + /// + /// + /// + public A FormatHex(A arg0, byte[] arg1, int arg2, int arg3) where A : Java.Lang.IAppendable, new() + { + return IExecute("formatHex", arg0, arg1, arg2, arg3); + } + /// + /// + /// + /// + /// + /// + /// + public A FormatHex(A arg0, byte[] arg1) where A : Java.Lang.IAppendable, new() + { + return IExecute("formatHex", arg0, arg1); + } + /// + /// + /// + /// + /// + /// + /// + public A ToHexDigits(A arg0, byte arg1) where A : Java.Lang.IAppendable, new() + { + return IExecute("toHexDigits", arg0, arg1); + } + /// + /// + /// + /// + public bool IsUpperCase() + { + return IExecuteWithSignature("isUpperCase", "()Z"); + } + /// + /// + /// + /// + /// + /// + /// + public byte[] ParseHex(char[] arg0, int arg1, int arg2) + { + return IExecuteArray("parseHex", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + public byte[] ParseHex(Java.Lang.CharSequence arg0, int arg1, int arg2) + { + return IExecuteArray("parseHex", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + public byte[] ParseHex(Java.Lang.CharSequence arg0) + { + return IExecuteWithSignatureArray("parseHex", "(Ljava/lang/CharSequence;)[B", arg0); + } + /// + /// + /// + /// + /// + public char ToHighHexDigit(int arg0) + { + return IExecuteWithSignature("toHighHexDigit", "(I)C", arg0); + } + /// + /// + /// + /// + /// + public char ToLowHexDigit(int arg0) + { + return IExecuteWithSignature("toLowHexDigit", "(I)C", arg0); + } + /// + /// + /// + /// + public Java.Lang.String Delimiter() + { + return IExecuteWithSignature("delimiter", "()Ljava/lang/String;"); + } + /// + /// + /// + /// + /// + /// + /// + public Java.Lang.String FormatHex(byte[] arg0, int arg1, int arg2) + { + return IExecute("formatHex", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + public Java.Lang.String FormatHex(byte[] arg0) + { + return IExecuteWithSignature("formatHex", "([B)Ljava/lang/String;", new object[] { arg0 }); + } + /// + /// + /// + /// + public Java.Lang.String Prefix() + { + return IExecuteWithSignature("prefix", "()Ljava/lang/String;"); + } + /// + /// + /// + /// + public Java.Lang.String Suffix() + { + return IExecuteWithSignature("suffix", "()Ljava/lang/String;"); + } + /// + /// + /// + /// + /// + public Java.Lang.String ToHexDigits(byte arg0) + { + return IExecuteWithSignature("toHexDigits", "(B)Ljava/lang/String;", arg0); + } + /// + /// + /// + /// + /// + public Java.Lang.String ToHexDigits(char arg0) + { + return IExecuteWithSignature("toHexDigits", "(C)Ljava/lang/String;", arg0); + } + /// + /// + /// + /// + /// + public Java.Lang.String ToHexDigits(int arg0) + { + return IExecuteWithSignature("toHexDigits", "(I)Ljava/lang/String;", arg0); + } + /// + /// + /// + /// + /// + /// + public Java.Lang.String ToHexDigits(long arg0, int arg1) + { + return IExecute("toHexDigits", arg0, arg1); + } + /// + /// + /// + /// + /// + public Java.Lang.String ToHexDigits(long arg0) + { + return IExecuteWithSignature("toHexDigits", "(J)Ljava/lang/String;", arg0); + } + /// + /// + /// + /// + /// + public Java.Lang.String ToHexDigits(short arg0) + { + return IExecuteWithSignature("toHexDigits", "(S)Ljava/lang/String;", arg0); + } + /// + /// + /// + /// + /// + public Java.Util.HexFormat WithDelimiter(Java.Lang.String arg0) + { + return IExecuteWithSignature("withDelimiter", "(Ljava/lang/String;)Ljava/util/HexFormat;", arg0); + } + /// + /// + /// + /// + public Java.Util.HexFormat WithLowerCase() + { + return IExecuteWithSignature("withLowerCase", "()Ljava/util/HexFormat;"); + } + /// + /// + /// + /// + /// + public Java.Util.HexFormat WithPrefix(Java.Lang.String arg0) + { + return IExecuteWithSignature("withPrefix", "(Ljava/lang/String;)Ljava/util/HexFormat;", arg0); + } + /// + /// + /// + /// + /// + public Java.Util.HexFormat WithSuffix(Java.Lang.String arg0) + { + return IExecuteWithSignature("withSuffix", "(Ljava/lang/String;)Ljava/util/HexFormat;", arg0); + } + /// + /// + /// + /// + public Java.Util.HexFormat WithUpperCase() + { + return IExecuteWithSignature("withUpperCase", "()Ljava/util/HexFormat;"); + } + + #endregion + + #region Nested classes + + #endregion + + // TODO: complete the class + } + #endregion +} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Java/Util/Jar/AllPackageClasses.cs b/src/net/Netdroid/Generated/Java/Util/Jar/AllPackageClasses.cs index 16fcc600c..864edbaf9 100644 --- a/src/net/Netdroid/Generated/Java/Util/Jar/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Java/Util/Jar/AllPackageClasses.cs @@ -351,147 +351,6 @@ public Manifest(params object[] args) : base(args) { } } #endregion - #region Pack200 - /// - /// - /// - [global::System.Obsolete()] - public partial class Pack200 : MASES.JCOBridge.C2JBridge.JVMBridgeBase - { - const string _bridgeClassName = "java.util.jar.Pack200"; - /// - /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge - /// - [global::System.Obsolete("Pack200 class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public Pack200() { } - /// - /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class - /// - [global::System.Obsolete("Pack200 class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public Pack200(params object[] args) : base(args) { } - - private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); - - /// - /// - /// - public override string BridgeClassName => _bridgeClassName; - /// - /// - /// - public override bool IsBridgeAbstract => true; - /// - /// - /// - public override bool IsBridgeCloseable => false; - /// - /// - /// - public override bool IsBridgeInterface => false; - /// - /// - /// - public override bool IsBridgeStatic => false; - - // TODO: complete the class - #region Packer - /// - /// - /// - [global::System.Obsolete()] - public partial class Packer : MASES.JCOBridge.C2JBridge.JVMBridgeBase - { - const string _bridgeClassName = "java.util.jar.Pack200$Packer"; - /// - /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge - /// - [global::System.Obsolete("Packer class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public Packer() { } - /// - /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class - /// - [global::System.Obsolete("Packer class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public Packer(params object[] args) : base(args) { } - - private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); - - /// - /// - /// - public override string BridgeClassName => _bridgeClassName; - /// - /// - /// - public override bool IsBridgeAbstract => true; - /// - /// - /// - public override bool IsBridgeCloseable => false; - /// - /// - /// - public override bool IsBridgeInterface => true; - /// - /// - /// - public override bool IsBridgeStatic => true; - - // TODO: complete the class - - } - #endregion - - #region Unpacker - /// - /// - /// - [global::System.Obsolete()] - public partial class Unpacker : MASES.JCOBridge.C2JBridge.JVMBridgeBase - { - const string _bridgeClassName = "java.util.jar.Pack200$Unpacker"; - /// - /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge - /// - [global::System.Obsolete("Unpacker class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public Unpacker() { } - /// - /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class - /// - [global::System.Obsolete("Unpacker class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")] - public Unpacker(params object[] args) : base(args) { } - - private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName); - - /// - /// - /// - public override string BridgeClassName => _bridgeClassName; - /// - /// - /// - public override bool IsBridgeAbstract => true; - /// - /// - /// - public override bool IsBridgeCloseable => false; - /// - /// - /// - public override bool IsBridgeInterface => true; - /// - /// - /// - public override bool IsBridgeStatic => true; - - // TODO: complete the class - - } - #endregion - - - } - #endregion - } \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Java/Util/Jar/Pack200.cs b/src/net/Netdroid/Generated/Java/Util/Jar/Pack200.cs deleted file mode 100644 index 02858c6e4..000000000 --- a/src/net/Netdroid/Generated/Java/Util/Jar/Pack200.cs +++ /dev/null @@ -1,336 +0,0 @@ -/* -* Copyright 2024 MASES s.r.l. -* -* Licensed under the Apache License, Version 2.0 (the "License"); -* you may not use this file except in compliance with the License. -* You may obtain a copy of the License at -* -* http://www.apache.org/licenses/LICENSE-2.0 -* -* Unless required by applicable law or agreed to in writing, software -* distributed under the License is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -* See the License for the specific language governing permissions and -* limitations under the License. -* -* Refer to LICENSE for more information. -*/ - -/* -* This file is generated by MASES.JNetReflector (ver. 2.5.1.0) -* using android.jar as reference -*/ - -using MASES.JCOBridge.C2JBridge; - -namespace Java.Util.Jar -{ - #region Pack200 - public partial class Pack200 - { - #region Constructors - - #endregion - - #region Class/Interface conversion operators - - #endregion - - #region Fields - - #endregion - - #region Static methods - /// - /// - /// - /// - public static Java.Util.Jar.Pack200.Unpacker NewUnpacker() - { - return SExecuteWithSignature(LocalBridgeClazz, "newUnpacker", "()Ljava/util/jar/Pack200$Unpacker;"); - } - /// - /// - /// - /// - public static Java.Util.Jar.Pack200.Packer NewPacker() - { - return SExecuteWithSignature(LocalBridgeClazz, "newPacker", "()Ljava/util/jar/Pack200$Packer;"); - } - - #endregion - - #region Instance methods - - #endregion - - #region Nested classes - #region Packer - public partial class Packer - { - #region Constructors - - #endregion - - #region Class/Interface conversion operators - - #endregion - - #region Fields - /// - /// - /// - public static Java.Lang.String CLASS_ATTRIBUTE_PFX { get { if (!_CLASS_ATTRIBUTE_PFXReady) { _CLASS_ATTRIBUTE_PFXContent = SGetField(LocalBridgeClazz, "CLASS_ATTRIBUTE_PFX"); _CLASS_ATTRIBUTE_PFXReady = true; } return _CLASS_ATTRIBUTE_PFXContent; } } - private static Java.Lang.String _CLASS_ATTRIBUTE_PFXContent = default; - private static bool _CLASS_ATTRIBUTE_PFXReady = false; // this is used because in case of generics - /// - /// - /// - public static Java.Lang.String CODE_ATTRIBUTE_PFX { get { if (!_CODE_ATTRIBUTE_PFXReady) { _CODE_ATTRIBUTE_PFXContent = SGetField(LocalBridgeClazz, "CODE_ATTRIBUTE_PFX"); _CODE_ATTRIBUTE_PFXReady = true; } return _CODE_ATTRIBUTE_PFXContent; } } - private static Java.Lang.String _CODE_ATTRIBUTE_PFXContent = default; - private static bool _CODE_ATTRIBUTE_PFXReady = false; // this is used because in case of generics - /// - /// - /// - public static Java.Lang.String DEFLATE_HINT { get { if (!_DEFLATE_HINTReady) { _DEFLATE_HINTContent = SGetField(LocalBridgeClazz, "DEFLATE_HINT"); _DEFLATE_HINTReady = true; } return _DEFLATE_HINTContent; } } - private static Java.Lang.String _DEFLATE_HINTContent = default; - private static bool _DEFLATE_HINTReady = false; // this is used because in case of generics - /// - /// - /// - public static Java.Lang.String EFFORT { get { if (!_EFFORTReady) { _EFFORTContent = SGetField(LocalBridgeClazz, "EFFORT"); _EFFORTReady = true; } return _EFFORTContent; } } - private static Java.Lang.String _EFFORTContent = default; - private static bool _EFFORTReady = false; // this is used because in case of generics - /// - /// - /// - public static Java.Lang.String ERROR { get { if (!_ERRORReady) { _ERRORContent = SGetField(LocalBridgeClazz, "ERROR"); _ERRORReady = true; } return _ERRORContent; } } - private static Java.Lang.String _ERRORContent = default; - private static bool _ERRORReady = false; // this is used because in case of generics - /// - /// - /// - public static Java.Lang.String FALSE { get { if (!_FALSEReady) { _FALSEContent = SGetField(LocalBridgeClazz, "FALSE"); _FALSEReady = true; } return _FALSEContent; } } - private static Java.Lang.String _FALSEContent = default; - private static bool _FALSEReady = false; // this is used because in case of generics - /// - /// - /// - public static Java.Lang.String FIELD_ATTRIBUTE_PFX { get { if (!_FIELD_ATTRIBUTE_PFXReady) { _FIELD_ATTRIBUTE_PFXContent = SGetField(LocalBridgeClazz, "FIELD_ATTRIBUTE_PFX"); _FIELD_ATTRIBUTE_PFXReady = true; } return _FIELD_ATTRIBUTE_PFXContent; } } - private static Java.Lang.String _FIELD_ATTRIBUTE_PFXContent = default; - private static bool _FIELD_ATTRIBUTE_PFXReady = false; // this is used because in case of generics - /// - /// - /// - public static Java.Lang.String KEEP { get { if (!_KEEPReady) { _KEEPContent = SGetField(LocalBridgeClazz, "KEEP"); _KEEPReady = true; } return _KEEPContent; } } - private static Java.Lang.String _KEEPContent = default; - private static bool _KEEPReady = false; // this is used because in case of generics - /// - /// - /// - public static Java.Lang.String KEEP_FILE_ORDER { get { if (!_KEEP_FILE_ORDERReady) { _KEEP_FILE_ORDERContent = SGetField(LocalBridgeClazz, "KEEP_FILE_ORDER"); _KEEP_FILE_ORDERReady = true; } return _KEEP_FILE_ORDERContent; } } - private static Java.Lang.String _KEEP_FILE_ORDERContent = default; - private static bool _KEEP_FILE_ORDERReady = false; // this is used because in case of generics - /// - /// - /// - public static Java.Lang.String LATEST { get { if (!_LATESTReady) { _LATESTContent = SGetField(LocalBridgeClazz, "LATEST"); _LATESTReady = true; } return _LATESTContent; } } - private static Java.Lang.String _LATESTContent = default; - private static bool _LATESTReady = false; // this is used because in case of generics - /// - /// - /// - public static Java.Lang.String METHOD_ATTRIBUTE_PFX { get { if (!_METHOD_ATTRIBUTE_PFXReady) { _METHOD_ATTRIBUTE_PFXContent = SGetField(LocalBridgeClazz, "METHOD_ATTRIBUTE_PFX"); _METHOD_ATTRIBUTE_PFXReady = true; } return _METHOD_ATTRIBUTE_PFXContent; } } - private static Java.Lang.String _METHOD_ATTRIBUTE_PFXContent = default; - private static bool _METHOD_ATTRIBUTE_PFXReady = false; // this is used because in case of generics - /// - /// - /// - public static Java.Lang.String MODIFICATION_TIME { get { if (!_MODIFICATION_TIMEReady) { _MODIFICATION_TIMEContent = SGetField(LocalBridgeClazz, "MODIFICATION_TIME"); _MODIFICATION_TIMEReady = true; } return _MODIFICATION_TIMEContent; } } - private static Java.Lang.String _MODIFICATION_TIMEContent = default; - private static bool _MODIFICATION_TIMEReady = false; // this is used because in case of generics - /// - /// - /// - public static Java.Lang.String PASS { get { if (!_PASSReady) { _PASSContent = SGetField(LocalBridgeClazz, "PASS"); _PASSReady = true; } return _PASSContent; } } - private static Java.Lang.String _PASSContent = default; - private static bool _PASSReady = false; // this is used because in case of generics - /// - /// - /// - public static Java.Lang.String PASS_FILE_PFX { get { if (!_PASS_FILE_PFXReady) { _PASS_FILE_PFXContent = SGetField(LocalBridgeClazz, "PASS_FILE_PFX"); _PASS_FILE_PFXReady = true; } return _PASS_FILE_PFXContent; } } - private static Java.Lang.String _PASS_FILE_PFXContent = default; - private static bool _PASS_FILE_PFXReady = false; // this is used because in case of generics - /// - /// - /// - public static Java.Lang.String PROGRESS { get { if (!_PROGRESSReady) { _PROGRESSContent = SGetField(LocalBridgeClazz, "PROGRESS"); _PROGRESSReady = true; } return _PROGRESSContent; } } - private static Java.Lang.String _PROGRESSContent = default; - private static bool _PROGRESSReady = false; // this is used because in case of generics - /// - /// - /// - public static Java.Lang.String SEGMENT_LIMIT { get { if (!_SEGMENT_LIMITReady) { _SEGMENT_LIMITContent = SGetField(LocalBridgeClazz, "SEGMENT_LIMIT"); _SEGMENT_LIMITReady = true; } return _SEGMENT_LIMITContent; } } - private static Java.Lang.String _SEGMENT_LIMITContent = default; - private static bool _SEGMENT_LIMITReady = false; // this is used because in case of generics - /// - /// - /// - public static Java.Lang.String STRIP { get { if (!_STRIPReady) { _STRIPContent = SGetField(LocalBridgeClazz, "STRIP"); _STRIPReady = true; } return _STRIPContent; } } - private static Java.Lang.String _STRIPContent = default; - private static bool _STRIPReady = false; // this is used because in case of generics - /// - /// - /// - public static Java.Lang.String TRUE { get { if (!_TRUEReady) { _TRUEContent = SGetField(LocalBridgeClazz, "TRUE"); _TRUEReady = true; } return _TRUEContent; } } - private static Java.Lang.String _TRUEContent = default; - private static bool _TRUEReady = false; // this is used because in case of generics - /// - /// - /// - public static Java.Lang.String UNKNOWN_ATTRIBUTE { get { if (!_UNKNOWN_ATTRIBUTEReady) { _UNKNOWN_ATTRIBUTEContent = SGetField(LocalBridgeClazz, "UNKNOWN_ATTRIBUTE"); _UNKNOWN_ATTRIBUTEReady = true; } return _UNKNOWN_ATTRIBUTEContent; } } - private static Java.Lang.String _UNKNOWN_ATTRIBUTEContent = default; - private static bool _UNKNOWN_ATTRIBUTEReady = false; // this is used because in case of generics - - #endregion - - #region Static methods - - #endregion - - #region Instance methods - /// - /// - /// - /// - public Java.Util.SortedMap Properties() - { - return IExecuteWithSignature>("properties", "()Ljava/util/SortedMap;"); - } - /// - /// - /// - /// - /// - /// - public void Pack(Java.Util.Jar.JarFile arg0, Java.Io.OutputStream arg1) - { - IExecute("pack", arg0, arg1); - } - /// - /// - /// - /// - /// - /// - public void Pack(Java.Util.Jar.JarInputStream arg0, Java.Io.OutputStream arg1) - { - IExecute("pack", arg0, arg1); - } - - #endregion - - #region Nested classes - - #endregion - - // TODO: complete the class - } - #endregion - - #region Unpacker - public partial class Unpacker - { - #region Constructors - - #endregion - - #region Class/Interface conversion operators - - #endregion - - #region Fields - /// - /// - /// - public static Java.Lang.String DEFLATE_HINT { get { if (!_DEFLATE_HINTReady) { _DEFLATE_HINTContent = SGetField(LocalBridgeClazz, "DEFLATE_HINT"); _DEFLATE_HINTReady = true; } return _DEFLATE_HINTContent; } } - private static Java.Lang.String _DEFLATE_HINTContent = default; - private static bool _DEFLATE_HINTReady = false; // this is used because in case of generics - /// - /// - /// - public static Java.Lang.String FALSE { get { if (!_FALSEReady) { _FALSEContent = SGetField(LocalBridgeClazz, "FALSE"); _FALSEReady = true; } return _FALSEContent; } } - private static Java.Lang.String _FALSEContent = default; - private static bool _FALSEReady = false; // this is used because in case of generics - /// - /// - /// - public static Java.Lang.String KEEP { get { if (!_KEEPReady) { _KEEPContent = SGetField(LocalBridgeClazz, "KEEP"); _KEEPReady = true; } return _KEEPContent; } } - private static Java.Lang.String _KEEPContent = default; - private static bool _KEEPReady = false; // this is used because in case of generics - /// - /// - /// - public static Java.Lang.String PROGRESS { get { if (!_PROGRESSReady) { _PROGRESSContent = SGetField(LocalBridgeClazz, "PROGRESS"); _PROGRESSReady = true; } return _PROGRESSContent; } } - private static Java.Lang.String _PROGRESSContent = default; - private static bool _PROGRESSReady = false; // this is used because in case of generics - /// - /// - /// - public static Java.Lang.String TRUE { get { if (!_TRUEReady) { _TRUEContent = SGetField(LocalBridgeClazz, "TRUE"); _TRUEReady = true; } return _TRUEContent; } } - private static Java.Lang.String _TRUEContent = default; - private static bool _TRUEReady = false; // this is used because in case of generics - - #endregion - - #region Static methods - - #endregion - - #region Instance methods - /// - /// - /// - /// - public Java.Util.SortedMap Properties() - { - return IExecuteWithSignature>("properties", "()Ljava/util/SortedMap;"); - } - /// - /// - /// - /// - /// - /// - public void Unpack(Java.Io.File arg0, Java.Util.Jar.JarOutputStream arg1) - { - IExecute("unpack", arg0, arg1); - } - /// - /// - /// - /// - /// - /// - public void Unpack(Java.Io.InputStream arg0, Java.Util.Jar.JarOutputStream arg1) - { - IExecute("unpack", arg0, arg1); - } - - #endregion - - #region Nested classes - - #endregion - - // TODO: complete the class - } - #endregion - - - #endregion - - // TODO: complete the class - } - #endregion -} \ No newline at end of file diff --git a/src/net/Netdroid/Generated/Java/Util/Logging/Handler.cs b/src/net/Netdroid/Generated/Java/Util/Logging/Handler.cs index 08ba37ddd..ee7880734 100644 --- a/src/net/Netdroid/Generated/Java/Util/Logging/Handler.cs +++ b/src/net/Netdroid/Generated/Java/Util/Logging/Handler.cs @@ -125,7 +125,7 @@ public Java.Util.Logging.Level GetLevel() /// public void SetEncoding(Java.Lang.String arg0) { - IExecute("setEncoding", arg0); + IExecuteWithSignature("setEncoding", "(Ljava/lang/String;)V", arg0); } /// /// @@ -133,7 +133,7 @@ public void SetEncoding(Java.Lang.String arg0) /// public void SetErrorManager(Java.Util.Logging.ErrorManager arg0) { - IExecute("setErrorManager", arg0); + IExecuteWithSignature("setErrorManager", "(Ljava/util/logging/ErrorManager;)V", arg0); } /// /// @@ -142,7 +142,7 @@ public void SetErrorManager(Java.Util.Logging.ErrorManager arg0) /// public void SetFilter(Java.Util.Logging.Filter arg0) { - IExecute("setFilter", arg0); + IExecuteWithSignature("setFilter", "(Ljava/util/logging/Filter;)V", arg0); } /// /// @@ -151,7 +151,7 @@ public void SetFilter(Java.Util.Logging.Filter arg0) /// public void SetFormatter(Java.Util.Logging.Formatter arg0) { - IExecute("setFormatter", arg0); + IExecuteWithSignature("setFormatter", "(Ljava/util/logging/Formatter;)V", arg0); } /// /// @@ -160,7 +160,7 @@ public void SetFormatter(Java.Util.Logging.Formatter arg0) /// public void SetLevel(Java.Util.Logging.Level arg0) { - IExecute("setLevel", arg0); + IExecuteWithSignature("setLevel", "(Ljava/util/logging/Level;)V", arg0); } #endregion diff --git a/src/net/Netdroid/Generated/Java/Util/Logging/LogManager.cs b/src/net/Netdroid/Generated/Java/Util/Logging/LogManager.cs index 8432f4619..1e91757fe 100644 --- a/src/net/Netdroid/Generated/Java/Util/Logging/LogManager.cs +++ b/src/net/Netdroid/Generated/Java/Util/Logging/LogManager.cs @@ -116,6 +116,7 @@ public Java.Util.Logging.LogManager AddConfigurationListener(Java.Lang.Runnable /// /// /// + [global::System.Obsolete()] public void CheckAccess() { IExecuteWithSignature("checkAccess", "()V"); diff --git a/src/net/Netdroid/Generated/Java/Util/Logging/LogRecord.cs b/src/net/Netdroid/Generated/Java/Util/Logging/LogRecord.cs index 56c23afa4..a9b62d8ab 100644 --- a/src/net/Netdroid/Generated/Java/Util/Logging/LogRecord.cs +++ b/src/net/Netdroid/Generated/Java/Util/Logging/LogRecord.cs @@ -58,6 +58,7 @@ public LogRecord(Java.Util.Logging.Level arg0, Java.Lang.String arg1) /// /// /// + [global::System.Obsolete()] public int GetThreadID() { return IExecuteWithSignature("getThreadID", "()I"); @@ -135,6 +136,15 @@ public Java.Util.Logging.Level GetLevel() return IExecuteWithSignature("getLevel", "()Ljava/util/logging/Level;"); } /// + /// + /// + /// + /// + public Java.Util.Logging.LogRecord SetLongThreadID(long arg0) + { + return IExecuteWithSignature("setLongThreadID", "(J)Ljava/util/logging/LogRecord;", arg0); + } + /// /// /// /// @@ -143,6 +153,14 @@ public Java.Util.ResourceBundle GetResourceBundle() return IExecuteWithSignature("getResourceBundle", "()Ljava/util/ResourceBundle;"); } /// + /// + /// + /// + public long GetLongThreadID() + { + return IExecuteWithSignature("getLongThreadID", "()J"); + } + /// /// /// /// @@ -251,6 +269,7 @@ public void SetSourceMethodName(Java.Lang.String arg0) /// /// /// + [global::System.Obsolete()] public void SetThreadID(int arg0) { IExecuteWithSignature("setThreadID", "(I)V", arg0); diff --git a/src/net/Netdroid/Generated/Java/Util/Logging/MemoryHandler.cs b/src/net/Netdroid/Generated/Java/Util/Logging/MemoryHandler.cs index b27b5df66..cb53223c4 100644 --- a/src/net/Netdroid/Generated/Java/Util/Logging/MemoryHandler.cs +++ b/src/net/Netdroid/Generated/Java/Util/Logging/MemoryHandler.cs @@ -68,7 +68,7 @@ public Java.Util.Logging.Level GetPushLevel() /// public void Push() { - IExecute("push"); + IExecuteWithSignature("push", "()V"); } /// /// @@ -77,7 +77,7 @@ public void Push() /// public void SetPushLevel(Java.Util.Logging.Level arg0) { - IExecute("setPushLevel", arg0); + IExecuteWithSignature("setPushLevel", "(Ljava/util/logging/Level;)V", arg0); } #endregion diff --git a/src/net/Netdroid/Generated/Java/Util/Map.cs b/src/net/Netdroid/Generated/Java/Util/Map.cs index bb071c804..2507f89ba 100644 --- a/src/net/Netdroid/Generated/Java/Util/Map.cs +++ b/src/net/Netdroid/Generated/Java/Util/Map.cs @@ -500,6 +500,15 @@ public partial class Entry #endregion #region Static methods + /// + /// + /// + /// + /// + public static Java.Util.Map.Entry CopyOf(Java.Util.Map.Entry arg0) + { + return SExecute(LocalBridgeClazz, "copyOf", arg0); + } #endregion @@ -560,6 +569,17 @@ public partial class Entry #endregion #region Static methods + /// + /// + /// + /// + /// + /// + /// + public static Java.Util.Map.Entry CopyOf(Java.Util.Map.Entry arg0) where Arg0ExtendsK : K where Arg0ExtendsV : V + { + return SExecute>(LocalBridgeClazz, "copyOf", arg0); + } #endregion diff --git a/src/net/Netdroid/Generated/Java/Util/Objects.cs b/src/net/Netdroid/Generated/Java/Util/Objects.cs index 86b44bea4..0d1c6dc2b 100644 --- a/src/net/Netdroid/Generated/Java/Util/Objects.cs +++ b/src/net/Netdroid/Generated/Java/Util/Objects.cs @@ -203,6 +203,38 @@ public static Java.Lang.String ToString(object arg0) { return SExecuteWithSignature(LocalBridgeClazz, "toString", "(Ljava/lang/Object;)Ljava/lang/String;", arg0); } + /// + /// + /// + /// + /// + /// + /// + public static long CheckFromIndexSize(long arg0, long arg1, long arg2) + { + return SExecute(LocalBridgeClazz, "checkFromIndexSize", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + /// + public static long CheckFromToIndex(long arg0, long arg1, long arg2) + { + return SExecute(LocalBridgeClazz, "checkFromToIndex", arg0, arg1, arg2); + } + /// + /// + /// + /// + /// + /// + public static long CheckIndex(long arg0, long arg1) + { + return SExecute(LocalBridgeClazz, "checkIndex", arg0, arg1); + } #endregion diff --git a/src/net/Netdroid/Generated/Java/Util/Optional.cs b/src/net/Netdroid/Generated/Java/Util/Optional.cs index f977f2fdb..ccec87d61 100644 --- a/src/net/Netdroid/Generated/Java/Util/Optional.cs +++ b/src/net/Netdroid/Generated/Java/Util/Optional.cs @@ -97,7 +97,7 @@ public Java.Util.Optional Map(Java.Util.Function.Function arg0) /// public object OrElseThrow(Java.Util.Function.Supplier arg0) { - return IExecute("orElseThrow", arg0); + return IExecuteWithSignature("orElseThrow", "(Ljava/util/function/Supplier;)Ljava/lang/Object;", arg0); } /// /// @@ -288,7 +288,7 @@ public Java.Util.Optional Map(Java.Util.Fu /// public T OrElseThrow(Java.Util.Function.Supplier arg0) where Arg0ExtendsX : X { - return IExecute("orElseThrow", arg0); + return IExecuteWithSignature("orElseThrow", "(Ljava/util/function/Supplier;)Ljava/lang/Object;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Java/Util/OptionalDouble.cs b/src/net/Netdroid/Generated/Java/Util/OptionalDouble.cs index 0d819bbe2..deef707c1 100644 --- a/src/net/Netdroid/Generated/Java/Util/OptionalDouble.cs +++ b/src/net/Netdroid/Generated/Java/Util/OptionalDouble.cs @@ -72,7 +72,7 @@ public static Java.Util.OptionalDouble Of(double arg0) /// public double OrElseThrow(Java.Util.Function.Supplier arg0) where Arg0ExtendsX : X { - return IExecute("orElseThrow", arg0); + return IExecuteWithSignature("orElseThrow", "(Ljava/util/function/Supplier;)D", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Java/Util/OptionalInt.cs b/src/net/Netdroid/Generated/Java/Util/OptionalInt.cs index b5c9c9a3e..7d719de20 100644 --- a/src/net/Netdroid/Generated/Java/Util/OptionalInt.cs +++ b/src/net/Netdroid/Generated/Java/Util/OptionalInt.cs @@ -72,7 +72,7 @@ public static Java.Util.OptionalInt Of(int arg0) /// public int OrElseThrow(Java.Util.Function.Supplier arg0) where Arg0ExtendsX : X { - return IExecute("orElseThrow", arg0); + return IExecuteWithSignature("orElseThrow", "(Ljava/util/function/Supplier;)I", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Java/Util/OptionalLong.cs b/src/net/Netdroid/Generated/Java/Util/OptionalLong.cs index c4f785b5a..7ee70f0f5 100644 --- a/src/net/Netdroid/Generated/Java/Util/OptionalLong.cs +++ b/src/net/Netdroid/Generated/Java/Util/OptionalLong.cs @@ -72,7 +72,7 @@ public static Java.Util.OptionalLong Of(long arg0) /// public long OrElseThrow(Java.Util.Function.Supplier arg0) where Arg0ExtendsX : X { - return IExecute("orElseThrow", arg0); + return IExecuteWithSignature("orElseThrow", "(Ljava/util/function/Supplier;)J", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Java/Util/Random.cs b/src/net/Netdroid/Generated/Java/Util/Random.cs index c94ebecd0..a4c1da471 100644 --- a/src/net/Netdroid/Generated/Java/Util/Random.cs +++ b/src/net/Netdroid/Generated/Java/Util/Random.cs @@ -26,7 +26,7 @@ namespace Java.Util { #region Random - public partial class Random + public partial class Random : Java.Io.ISerializable { #region Constructors /// @@ -41,6 +41,10 @@ public Random(long arg0) #endregion #region Class/Interface conversion operators + /// + /// Converter from to + /// + public static implicit operator Java.Io.Serializable(Java.Util.Random t) => t.Cast(); #endregion diff --git a/src/net/Netdroid/Generated/Java/Util/SplittableRandom.cs b/src/net/Netdroid/Generated/Java/Util/SplittableRandom.cs index 4c54f9cf2..f7c7fbe7a 100644 --- a/src/net/Netdroid/Generated/Java/Util/SplittableRandom.cs +++ b/src/net/Netdroid/Generated/Java/Util/SplittableRandom.cs @@ -54,41 +54,6 @@ public SplittableRandom(long arg0) #region Instance methods /// - /// - /// - /// - public bool NextBoolean() - { - return IExecute("nextBoolean"); - } - /// - /// - /// - /// - public double NextDouble() - { - return IExecute("nextDouble"); - } - /// - /// - /// - /// - /// - /// - public double NextDouble(double arg0, double arg1) - { - return IExecute("nextDouble", arg0, arg1); - } - /// - /// - /// - /// - /// - public double NextDouble(double arg0) - { - return IExecute("nextDouble", arg0); - } - /// /// /// /// @@ -97,33 +62,6 @@ public int NextInt() return IExecuteWithSignature("nextInt", "()I"); } /// - /// - /// - /// - /// - /// - public int NextInt(int arg0, int arg1) - { - return IExecute("nextInt", arg0, arg1); - } - /// - /// - /// - /// - /// - public int NextInt(int arg0) - { - return IExecute("nextInt", arg0); - } - /// - /// - /// - /// - public Java.Util.SplittableRandom Split() - { - return IExecuteWithSignature("split", "()Ljava/util/SplittableRandom;"); - } - /// /// /// /// @@ -246,25 +184,6 @@ public long NextLong() return IExecuteWithSignature("nextLong", "()J"); } /// - /// - /// - /// - /// - /// - public long NextLong(long arg0, long arg1) - { - return IExecute("nextLong", arg0, arg1); - } - /// - /// - /// - /// - /// - public long NextLong(long arg0) - { - return IExecute("nextLong", arg0); - } - /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Util/Stream/Collectors.cs b/src/net/Netdroid/Generated/Java/Util/Stream/Collectors.cs index 27f535ae2..84b2f1fbe 100644 --- a/src/net/Netdroid/Generated/Java/Util/Stream/Collectors.cs +++ b/src/net/Netdroid/Generated/Java/Util/Stream/Collectors.cs @@ -340,6 +340,25 @@ public static Java.Util.Stream.Collector ToMap>>>(LocalBridgeClazz, "groupingBy", arg0); } /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + /// + public static Java.Util.Stream.Collector Teeing(Java.Util.Stream.Collector arg0, Java.Util.Stream.Collector arg1, Java.Util.Function.BiFunction arg2) where Arg0objectSuperT : T where Arg1objectSuperT : T where Arg2objectSuperR1 : R1 where Arg2objectSuperR2 : R2 + { + return SExecute>(LocalBridgeClazz, "teeing", arg0, arg1, arg2); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Util/Stream/DoubleStream.cs b/src/net/Netdroid/Generated/Java/Util/Stream/DoubleStream.cs index 2a2ac094f..ddca681e3 100644 --- a/src/net/Netdroid/Generated/Java/Util/Stream/DoubleStream.cs +++ b/src/net/Netdroid/Generated/Java/Util/Stream/DoubleStream.cs @@ -425,6 +425,15 @@ public Java.Util.Stream.DoubleStream DropWhile(Java.Util.Function.DoublePredicat return IExecuteWithSignature("dropWhile", "(Ljava/util/function/DoublePredicate;)Ljava/util/stream/DoubleStream;", arg0); } /// + /// + /// + /// + /// + public Java.Util.Stream.DoubleStream MapMulti(Java.Util.Stream.DoubleStream.DoubleMapMultiConsumer arg0) + { + return IExecuteWithSignature("mapMulti", "(Ljava/util/stream/DoubleStream$DoubleMapMultiConsumer;)Ljava/util/stream/DoubleStream;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Util/Stream/IntStream.cs b/src/net/Netdroid/Generated/Java/Util/Stream/IntStream.cs index a4e54d13d..986aaaa43 100644 --- a/src/net/Netdroid/Generated/Java/Util/Stream/IntStream.cs +++ b/src/net/Netdroid/Generated/Java/Util/Stream/IntStream.cs @@ -461,6 +461,15 @@ public Java.Util.Stream.IntStream DropWhile(Java.Util.Function.IntPredicate arg0 return IExecuteWithSignature("dropWhile", "(Ljava/util/function/IntPredicate;)Ljava/util/stream/IntStream;", arg0); } /// + /// + /// + /// + /// + public Java.Util.Stream.IntStream MapMulti(Java.Util.Stream.IntStream.IntMapMultiConsumer arg0) + { + return IExecuteWithSignature("mapMulti", "(Ljava/util/stream/IntStream$IntMapMultiConsumer;)Ljava/util/stream/IntStream;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Util/Stream/Stream.cs b/src/net/Netdroid/Generated/Java/Util/Stream/Stream.cs index 0a50efd7f..7fa2c31a7 100644 --- a/src/net/Netdroid/Generated/Java/Util/Stream/Stream.cs +++ b/src/net/Netdroid/Generated/Java/Util/Stream/Stream.cs @@ -379,6 +379,50 @@ public void ForEachOrdered(Java.Util.Function.Consumer arg0) IExecuteWithSignature("forEachOrdered", "(Ljava/util/function/Consumer;)V", arg0); } /// + /// + /// + /// + /// + public Java.Util.Stream.Stream MapMulti(Java.Util.Function.BiConsumer arg0) + { + return IExecuteWithSignature("mapMulti", "(Ljava/util/function/BiConsumer;)Ljava/util/stream/Stream;", arg0); + } + /// + /// + /// + /// + public Java.Util.List ToList() + { + return IExecuteWithSignature("toList", "()Ljava/util/List;"); + } + /// + /// + /// + /// + /// + public Java.Util.Stream.DoubleStream MapMultiToDouble(Java.Util.Function.BiConsumer arg0) + { + return IExecuteWithSignature("mapMultiToDouble", "(Ljava/util/function/BiConsumer;)Ljava/util/stream/DoubleStream;", arg0); + } + /// + /// + /// + /// + /// + public Java.Util.Stream.IntStream MapMultiToInt(Java.Util.Function.BiConsumer arg0) + { + return IExecuteWithSignature("mapMultiToInt", "(Ljava/util/function/BiConsumer;)Ljava/util/stream/IntStream;", arg0); + } + /// + /// + /// + /// + /// + public Java.Util.Stream.LongStream MapMultiToLong(Java.Util.Function.BiConsumer arg0) + { + return IExecuteWithSignature("mapMultiToLong", "(Ljava/util/function/BiConsumer;)Ljava/util/stream/LongStream;", arg0); + } + /// /// /// /// @@ -818,6 +862,59 @@ public void ForEachOrdered(Java.Util.Function.Consumer + /// + /// + /// + /// + /// + /// + /// + public Java.Util.Stream.Stream MapMulti(Java.Util.Function.BiConsumer arg0) where Arg0objectSuperT : T where Arg0objectSuperJava_Util_Function_Consumer_R_ : Java.Util.Function.Consumer + { + return IExecuteWithSignature>("mapMulti", "(Ljava/util/function/BiConsumer;)Ljava/util/stream/Stream;", arg0); + } + /// + /// + /// + /// + public Java.Util.List ToList() + { + return IExecuteWithSignature>("toList", "()Ljava/util/List;"); + } + /// + /// + /// + /// + /// + /// + /// + public Java.Util.Stream.DoubleStream MapMultiToDouble(Java.Util.Function.BiConsumer arg0) where Arg0objectSuperT : T where Arg0objectSuperJava_Util_Function_DoubleConsumer : Java.Util.Function.DoubleConsumer + { + return IExecuteWithSignature("mapMultiToDouble", "(Ljava/util/function/BiConsumer;)Ljava/util/stream/DoubleStream;", arg0); + } + /// + /// + /// + /// + /// + /// + /// + public Java.Util.Stream.IntStream MapMultiToInt(Java.Util.Function.BiConsumer arg0) where Arg0objectSuperT : T where Arg0objectSuperJava_Util_Function_IntConsumer : Java.Util.Function.IntConsumer + { + return IExecuteWithSignature("mapMultiToInt", "(Ljava/util/function/BiConsumer;)Ljava/util/stream/IntStream;", arg0); + } + /// + /// + /// + /// + /// + /// + /// + public Java.Util.Stream.LongStream MapMultiToLong(Java.Util.Function.BiConsumer arg0) where Arg0objectSuperT : T where Arg0objectSuperJava_Util_Function_LongConsumer : Java.Util.Function.LongConsumer + { + return IExecuteWithSignature("mapMultiToLong", "(Ljava/util/function/BiConsumer;)Ljava/util/stream/LongStream;", arg0); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Javax/Crypto/Interfaces/DHPrivateKey.cs b/src/net/Netdroid/Generated/Javax/Crypto/Interfaces/DHPrivateKey.cs index 731f27429..72fed4f79 100644 --- a/src/net/Netdroid/Generated/Javax/Crypto/Interfaces/DHPrivateKey.cs +++ b/src/net/Netdroid/Generated/Javax/Crypto/Interfaces/DHPrivateKey.cs @@ -66,6 +66,7 @@ public partial class DHPrivateKey : Javax.Crypto.Interfaces.IDHPrivateKey, Javax /// /// /// + [global::System.Obsolete()] public static long serialVersionUID { get { if (!_serialVersionUIDReady) { _serialVersionUIDContent = SGetField(LocalBridgeClazz, "serialVersionUID"); _serialVersionUIDReady = true; } return _serialVersionUIDContent; } } private static long _serialVersionUIDContent = default; private static bool _serialVersionUIDReady = false; // this is used because in case of generics diff --git a/src/net/Netdroid/Generated/Javax/Crypto/Interfaces/DHPublicKey.cs b/src/net/Netdroid/Generated/Javax/Crypto/Interfaces/DHPublicKey.cs index 8a1839be0..6e19d0f59 100644 --- a/src/net/Netdroid/Generated/Javax/Crypto/Interfaces/DHPublicKey.cs +++ b/src/net/Netdroid/Generated/Javax/Crypto/Interfaces/DHPublicKey.cs @@ -66,6 +66,7 @@ public partial class DHPublicKey : Javax.Crypto.Interfaces.IDHPublicKey, Javax.C /// /// /// + [global::System.Obsolete()] public static long serialVersionUID { get { if (!_serialVersionUIDReady) { _serialVersionUIDContent = SGetField(LocalBridgeClazz, "serialVersionUID"); _serialVersionUIDReady = true; } return _serialVersionUIDContent; } } private static long _serialVersionUIDContent = default; private static bool _serialVersionUIDReady = false; // this is used because in case of generics diff --git a/src/net/Netdroid/Generated/Javax/Crypto/Interfaces/PBEKey.cs b/src/net/Netdroid/Generated/Javax/Crypto/Interfaces/PBEKey.cs index 0608c864a..809428f4d 100644 --- a/src/net/Netdroid/Generated/Javax/Crypto/Interfaces/PBEKey.cs +++ b/src/net/Netdroid/Generated/Javax/Crypto/Interfaces/PBEKey.cs @@ -58,6 +58,7 @@ public partial class PBEKey : Javax.Crypto.Interfaces.IPBEKey /// /// /// + [global::System.Obsolete()] public static long serialVersionUID { get { if (!_serialVersionUIDReady) { _serialVersionUIDContent = SGetField(LocalBridgeClazz, "serialVersionUID"); _serialVersionUIDReady = true; } return _serialVersionUIDContent; } } private static long _serialVersionUIDContent = default; private static bool _serialVersionUIDReady = false; // this is used because in case of generics diff --git a/src/net/Netdroid/Generated/Javax/Crypto/SecretKey.cs b/src/net/Netdroid/Generated/Javax/Crypto/SecretKey.cs index bdff60b8e..bfe52b0c3 100644 --- a/src/net/Netdroid/Generated/Javax/Crypto/SecretKey.cs +++ b/src/net/Netdroid/Generated/Javax/Crypto/SecretKey.cs @@ -66,6 +66,7 @@ public partial class SecretKey : Javax.Crypto.ISecretKey, Java.Security.IKey, Ja /// /// /// + [global::System.Obsolete()] public static long serialVersionUID { get { if (!_serialVersionUIDReady) { _serialVersionUIDContent = SGetField(LocalBridgeClazz, "serialVersionUID"); _serialVersionUIDReady = true; } return _serialVersionUIDContent; } } private static long _serialVersionUIDContent = default; private static bool _serialVersionUIDReady = false; // this is used because in case of generics diff --git a/src/net/Netdroid/Generated/Javax/Crypto/Spec/PBEKeySpec.cs b/src/net/Netdroid/Generated/Javax/Crypto/Spec/PBEKeySpec.cs index b7f0bff80..85e9857d5 100644 --- a/src/net/Netdroid/Generated/Javax/Crypto/Spec/PBEKeySpec.cs +++ b/src/net/Netdroid/Generated/Javax/Crypto/Spec/PBEKeySpec.cs @@ -88,7 +88,7 @@ public byte[] GetSalt() /// public char[] GetPassword() { - return IExecuteArray("getPassword"); + return IExecuteWithSignatureArray("getPassword", "()[C"); } /// /// @@ -111,7 +111,7 @@ public int GetKeyLength() /// public void ClearPassword() { - IExecute("clearPassword"); + IExecuteWithSignature("clearPassword", "()V"); } #endregion diff --git a/src/net/Netdroid/Generated/Javax/Net/Ssl/HttpsURLConnection.cs b/src/net/Netdroid/Generated/Javax/Net/Ssl/HttpsURLConnection.cs index d1bc0bd61..25179b878 100644 --- a/src/net/Netdroid/Generated/Javax/Net/Ssl/HttpsURLConnection.cs +++ b/src/net/Netdroid/Generated/Javax/Net/Ssl/HttpsURLConnection.cs @@ -120,6 +120,14 @@ public Java.Security.Principal GetPeerPrincipal() return IExecuteWithSignature("getPeerPrincipal", "()Ljava/security/Principal;"); } /// + /// + /// + /// + public Java.Util.Optional GetSSLSession() + { + return IExecuteWithSignature>("getSSLSession", "()Ljava/util/Optional;"); + } + /// /// /// /// diff --git a/src/net/Netdroid/Generated/Javax/Net/Ssl/SSLContext.cs b/src/net/Netdroid/Generated/Javax/Net/Ssl/SSLContext.cs index ad08c4425..660fae010 100644 --- a/src/net/Netdroid/Generated/Javax/Net/Ssl/SSLContext.cs +++ b/src/net/Netdroid/Generated/Javax/Net/Ssl/SSLContext.cs @@ -42,6 +42,15 @@ public partial class SSLContext #region Static methods /// + /// + /// + /// + /// + public static Javax.Net.Ssl.SSLContext GetDefault() + { + return SExecuteWithSignature(LocalBridgeClazz, "getDefault", "()Ljavax/net/ssl/SSLContext;"); + } + /// /// /// /// @@ -75,21 +84,12 @@ public static Javax.Net.Ssl.SSLContext GetInstance(Java.Lang.String arg0) return SExecuteWithSignature(LocalBridgeClazz, "getInstance", "(Ljava/lang/String;)Ljavax/net/ssl/SSLContext;", arg0); } /// - /// - /// - /// - /// - public static Javax.Net.Ssl.SSLContext GetDefault() - { - return SExecute(LocalBridgeClazz, "getDefault"); - } - /// /// /// /// public static void SetDefault(Javax.Net.Ssl.SSLContext arg0) { - SExecute(LocalBridgeClazz, "setDefault", arg0); + SExecuteWithSignature(LocalBridgeClazz, "setDefault", "(Ljavax/net/ssl/SSLContext;)V", arg0); } #endregion diff --git a/src/net/Netdroid/Generated/Javax/Net/Ssl/SSLSession.cs b/src/net/Netdroid/Generated/Javax/Net/Ssl/SSLSession.cs index ad732ded0..10f17669a 100644 --- a/src/net/Netdroid/Generated/Javax/Net/Ssl/SSLSession.cs +++ b/src/net/Netdroid/Generated/Javax/Net/Ssl/SSLSession.cs @@ -187,16 +187,6 @@ public Javax.Net.Ssl.SSLSessionContext GetSessionContext() return IExecuteWithSignature("getSessionContext", "()Ljavax/net/ssl/SSLSessionContext;"); } /// - /// - /// - /// - /// - [global::System.Obsolete()] - public Javax.Security.Cert.X509Certificate[] GetPeerCertificateChain() - { - return IExecuteArray("getPeerCertificateChain"); - } - /// /// /// /// @@ -236,6 +226,16 @@ public void RemoveValue(Java.Lang.String arg0) { IExecuteWithSignature("removeValue", "(Ljava/lang/String;)V", arg0); } + /// + /// + /// + /// + /// + [global::System.Obsolete()] + public Javax.Security.Cert.X509Certificate[] GetPeerCertificateChain() + { + return IExecuteWithSignatureArray("getPeerCertificateChain", "()[Ljavax/security/cert/X509Certificate;"); + } #endregion diff --git a/src/net/Netdroid/Generated/Javax/Security/Auth/AllPackageClasses.cs b/src/net/Netdroid/Generated/Javax/Security/Auth/AllPackageClasses.cs index da1b78e31..a15a25fd2 100644 --- a/src/net/Netdroid/Generated/Javax/Security/Auth/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Javax/Security/Auth/AllPackageClasses.cs @@ -225,6 +225,7 @@ public Subject(params object[] args) : base(args) { } /// /// /// + [global::System.Obsolete()] public partial class SubjectDomainCombiner : Java.Security.DomainCombiner { const string _bridgeClassName = "javax.security.auth.SubjectDomainCombiner"; diff --git a/src/net/Netdroid/Generated/Javax/Security/Auth/Subject.cs b/src/net/Netdroid/Generated/Javax/Security/Auth/Subject.cs index a59ffcd47..da0a721d7 100644 --- a/src/net/Netdroid/Generated/Javax/Security/Auth/Subject.cs +++ b/src/net/Netdroid/Generated/Javax/Security/Auth/Subject.cs @@ -83,6 +83,7 @@ public static T DoAs(Javax.Security.Auth.Subject arg0, Java.Security.Privileg /// /// /// + [global::System.Obsolete()] public static T DoAsPrivileged(Javax.Security.Auth.Subject arg0, Java.Security.PrivilegedAction arg1, Java.Security.AccessControlContext arg2) { return SExecute(LocalBridgeClazz, "doAsPrivileged", arg0, arg1, arg2); @@ -96,6 +97,7 @@ public static T DoAsPrivileged(Javax.Security.Auth.Subject arg0, Java.Securit /// /// /// + [global::System.Obsolete()] public static T DoAsPrivileged(Javax.Security.Auth.Subject arg0, Java.Security.PrivilegedExceptionAction arg1, Java.Security.AccessControlContext arg2) { return SExecute(LocalBridgeClazz, "doAsPrivileged", arg0, arg1, arg2); @@ -105,6 +107,7 @@ public static T DoAsPrivileged(Javax.Security.Auth.Subject arg0, Java.Securit /// /// /// + [global::System.Obsolete()] public static Javax.Security.Auth.Subject GetSubject(Java.Security.AccessControlContext arg0) { return SExecuteWithSignature(LocalBridgeClazz, "getSubject", "(Ljava/security/AccessControlContext;)Ljavax/security/auth/Subject;", arg0); @@ -121,7 +124,7 @@ public static Javax.Security.Auth.Subject GetSubject(Java.Security.AccessControl /// public Java.Util.Set GetPrincipals(Java.Lang.Class arg0) where T : Java.Security.IPrincipal, new() { - return IExecute>("getPrincipals", arg0); + return IExecuteWithSignature>("getPrincipals", "(Ljava/lang/Class;)Ljava/util/Set;", arg0); } /// /// diff --git a/src/net/Netdroid/Generated/Javax/Xml/Parsers/DocumentBuilderFactory.cs b/src/net/Netdroid/Generated/Javax/Xml/Parsers/DocumentBuilderFactory.cs index 2537cc53d..a560ed19a 100644 --- a/src/net/Netdroid/Generated/Javax/Xml/Parsers/DocumentBuilderFactory.cs +++ b/src/net/Netdroid/Generated/Javax/Xml/Parsers/DocumentBuilderFactory.cs @@ -50,6 +50,14 @@ public static Javax.Xml.Parsers.DocumentBuilderFactory NewDefaultInstance() return SExecuteWithSignature(LocalBridgeClazz, "newDefaultInstance", "()Ljavax/xml/parsers/DocumentBuilderFactory;"); } /// + /// + /// + /// + public static Javax.Xml.Parsers.DocumentBuilderFactory NewDefaultNSInstance() + { + return SExecuteWithSignature(LocalBridgeClazz, "newDefaultNSInstance", "()Ljavax/xml/parsers/DocumentBuilderFactory;"); + } + /// /// /// /// @@ -67,6 +75,24 @@ public static Javax.Xml.Parsers.DocumentBuilderFactory NewInstance(Java.Lang.Str { return SExecute(LocalBridgeClazz, "newInstance", arg0, arg1); } + /// + /// + /// + /// + public static Javax.Xml.Parsers.DocumentBuilderFactory NewNSInstance() + { + return SExecuteWithSignature(LocalBridgeClazz, "newNSInstance", "()Ljavax/xml/parsers/DocumentBuilderFactory;"); + } + /// + /// + /// + /// + /// + /// + public static Javax.Xml.Parsers.DocumentBuilderFactory NewNSInstance(Java.Lang.String arg0, Java.Lang.ClassLoader arg1) + { + return SExecute(LocalBridgeClazz, "newNSInstance", arg0, arg1); + } #endregion diff --git a/src/net/Netdroid/Generated/Javax/Xml/Parsers/SAXParserFactory.cs b/src/net/Netdroid/Generated/Javax/Xml/Parsers/SAXParserFactory.cs index 52c5e0fea..a653503d4 100644 --- a/src/net/Netdroid/Generated/Javax/Xml/Parsers/SAXParserFactory.cs +++ b/src/net/Netdroid/Generated/Javax/Xml/Parsers/SAXParserFactory.cs @@ -50,6 +50,14 @@ public static Javax.Xml.Parsers.SAXParserFactory NewDefaultInstance() return SExecuteWithSignature(LocalBridgeClazz, "newDefaultInstance", "()Ljavax/xml/parsers/SAXParserFactory;"); } /// + /// + /// + /// + public static Javax.Xml.Parsers.SAXParserFactory NewDefaultNSInstance() + { + return SExecuteWithSignature(LocalBridgeClazz, "newDefaultNSInstance", "()Ljavax/xml/parsers/SAXParserFactory;"); + } + /// /// /// /// @@ -67,6 +75,24 @@ public static Javax.Xml.Parsers.SAXParserFactory NewInstance(Java.Lang.String ar { return SExecute(LocalBridgeClazz, "newInstance", arg0, arg1); } + /// + /// + /// + /// + public static Javax.Xml.Parsers.SAXParserFactory NewNSInstance() + { + return SExecuteWithSignature(LocalBridgeClazz, "newNSInstance", "()Ljavax/xml/parsers/SAXParserFactory;"); + } + /// + /// + /// + /// + /// + /// + public static Javax.Xml.Parsers.SAXParserFactory NewNSInstance(Java.Lang.String arg0, Java.Lang.ClassLoader arg1) + { + return SExecute(LocalBridgeClazz, "newNSInstance", arg0, arg1); + } #endregion diff --git a/src/net/Netdroid/Generated/Org/Xml/Sax/ContentHandler.cs b/src/net/Netdroid/Generated/Org/Xml/Sax/ContentHandler.cs index 288761290..44e3ecd19 100644 --- a/src/net/Netdroid/Generated/Org/Xml/Sax/ContentHandler.cs +++ b/src/net/Netdroid/Generated/Org/Xml/Sax/ContentHandler.cs @@ -170,6 +170,17 @@ public void StartPrefixMapping(Java.Lang.String arg0, Java.Lang.String arg1) { IExecute("startPrefixMapping", arg0, arg1); } + /// + /// + /// + /// + /// + /// + /// + public void Declaration(Java.Lang.String arg0, Java.Lang.String arg1, Java.Lang.String arg2) + { + IExecute("declaration", arg0, arg1, arg2); + } #endregion