Skip to content

Commit

Permalink
Changes by GitHub action (#28)
Browse files Browse the repository at this point in the history
* Update generated classes after commit bfab4ad

* Removed other classes

---------

Co-authored-by: masesdevelopers <[email protected]>
  • Loading branch information
github-actions[bot] and masesdevelopers authored Jun 1, 2024
1 parent bfab4ad commit a1b5d1d
Show file tree
Hide file tree
Showing 54 changed files with 45 additions and 768 deletions.
7 changes: 3 additions & 4 deletions src/configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
"android.util.TypedValue",
"android.widget.ArrayAdapter",
"java.io.ObjectInputFilter",
"java.lang.Enum$EnumDesc",
"java.lang.Module",
"java.lang.ModuleLayer",
"java.lang.ProcessBuilder$Redirect$Type",
Expand All @@ -90,10 +91,12 @@
"java.sql.ConnectionBuilder",
"java.sql.DriverAction",
"java.sql.ShardingKey",
"java.sql.ShardingKeyBuilder",
"java.sql.SQLType",
"java.util.Comparator",
"java.util.EventListener",
"java.util.random.RandomGenerator",
"java.util.random.RandomGenerator$SplittableGenerator",
"java.util.stream.DoubleStream$Builder",
"java.util.stream.IntStream$Builder",
"java.util.stream.LongStream$Builder",
Expand Down Expand Up @@ -136,9 +139,5 @@
"java.awt.image",
"java.awt.event",
"java.awt.font"
],
"ClassesToAvoidInGenerics": [
"java.time.chrono.ChronoLocalDateTime",
"java.time.chrono.ChronoZonedDateTime"
]
}
12 changes: 2 additions & 10 deletions src/net/Netdroid/Generated/Android/Net/Sip/AllPackageClasses.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,8 @@ public partial class Listener : MASES.JCOBridge.C2JBridge.JVMBridgeListener
/// </summary>
public Listener() { InitializeHandlers(); }

/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeListener_BridgeClassName.htm"/>
/// </summary>
public override string BridgeClassName => "org.mases.netdroid.generated.android.net.sip.Listener";
#warning Remember to build the Java class for event listener


// TODO: complete the class

}
Expand Down Expand Up @@ -442,12 +438,8 @@ public partial class Listener : MASES.JCOBridge.C2JBridge.JVMBridgeListener
/// </summary>
public Listener() { InitializeHandlers(); }

/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeListener_BridgeClassName.htm"/>
/// </summary>
public override string BridgeClassName => "org.mases.netdroid.generated.android.net.sip.Listener";
#warning Remember to build the Java class for event listener


// TODO: complete the class

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,8 @@ public partial class AllocationAdapter : MASES.JCOBridge.C2JBridge.JVMBridgeList
/// </summary>
public AllocationAdapter() { InitializeHandlers(); }

/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeListener_BridgeClassName.htm"/>
/// </summary>
public override string BridgeClassName => "org.mases.netdroid.generated.android.renderscript.AllocationAdapter";
#warning Remember to build the Java class for event listener


// TODO: complete the class

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2703,12 +2703,8 @@ public partial class PhoneStateListener : MASES.JCOBridge.C2JBridge.JVMBridgeLis
/// </summary>
public PhoneStateListener() { InitializeHandlers(); }

/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeListener_BridgeClassName.htm"/>
/// </summary>
public override string BridgeClassName => "org.mases.netdroid.generated.android.telephony.PhoneStateListener";
#warning Remember to build the Java class for event listener


// TODO: complete the class

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
using MASES.JCOBridge.C2JBridge.JVMInterop;
using System;

namespace Dalvik.System
namespace Dalvik.SystemNs
{
#region ApplicationRuntime
/// <summary>
Expand Down Expand Up @@ -118,7 +118,7 @@ public BaseDexClassLoader(params object[] args) : base(args) { }
/// <summary>
/// <see href="https://developer.android.com/reference/dalvik/system/DelegateLastClassLoader.html"/>
/// </summary>
public partial class DelegateLastClassLoader : Dalvik.System.PathClassLoader
public partial class DelegateLastClassLoader : Dalvik.SystemNs.PathClassLoader
{
const string _bridgeClassName = "dalvik.system.DelegateLastClassLoader";
/// <summary>
Expand Down Expand Up @@ -162,7 +162,7 @@ public DelegateLastClassLoader(params object[] args) : base(args) { }
/// <summary>
/// <see href="https://developer.android.com/reference/dalvik/system/DexClassLoader.html"/>
/// </summary>
public partial class DexClassLoader : Dalvik.System.BaseDexClassLoader
public partial class DexClassLoader : Dalvik.SystemNs.BaseDexClassLoader
{
const string _bridgeClassName = "dalvik.system.DexClassLoader";
/// <summary>
Expand Down Expand Up @@ -294,7 +294,7 @@ public OptimizationInfo(params object[] args) : base(args) { }
/// <summary>
/// <see href="https://developer.android.com/reference/dalvik/system/InMemoryDexClassLoader.html"/>
/// </summary>
public partial class InMemoryDexClassLoader : Dalvik.System.BaseDexClassLoader
public partial class InMemoryDexClassLoader : Dalvik.SystemNs.BaseDexClassLoader
{
const string _bridgeClassName = "dalvik.system.InMemoryDexClassLoader";
/// <summary>
Expand Down Expand Up @@ -338,7 +338,7 @@ public InMemoryDexClassLoader(params object[] args) : base(args) { }
/// <summary>
/// <see href="https://developer.android.com/reference/dalvik/system/PathClassLoader.html"/>
/// </summary>
public partial class PathClassLoader : Dalvik.System.BaseDexClassLoader
public partial class PathClassLoader : Dalvik.SystemNs.BaseDexClassLoader
{
const string _bridgeClassName = "dalvik.system.PathClassLoader";
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

using MASES.JCOBridge.C2JBridge;

namespace Dalvik.System
namespace Dalvik.SystemNs
{
#region ApplicationRuntime
public partial class ApplicationRuntime
Expand All @@ -44,9 +44,9 @@ public partial class ApplicationRuntime
/// <summary>
/// <see href="https://developer.android.com/reference/dalvik/system/ApplicationRuntime.html#getBaseApkOptimizationInfo()"/>
/// </summary>
public static Dalvik.System.DexFile.OptimizationInfo BaseApkOptimizationInfo
public static Dalvik.SystemNs.DexFile.OptimizationInfo BaseApkOptimizationInfo
{
get { return SExecuteWithSignature<Dalvik.System.DexFile.OptimizationInfo>(LocalBridgeClazz, "getBaseApkOptimizationInfo", "()Ldalvik/system/DexFile$OptimizationInfo;"); }
get { return SExecuteWithSignature<Dalvik.SystemNs.DexFile.OptimizationInfo>(LocalBridgeClazz, "getBaseApkOptimizationInfo", "()Ldalvik/system/DexFile$OptimizationInfo;"); }
}

#endregion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

using MASES.JCOBridge.C2JBridge;

namespace Dalvik.System
namespace Dalvik.SystemNs
{
#region BaseDexClassLoader
public partial class BaseDexClassLoader
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

using MASES.JCOBridge.C2JBridge;

namespace Dalvik.System
namespace Dalvik.SystemNs
{
#region DelegateLastClassLoader
public partial class DelegateLastClassLoader
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

using MASES.JCOBridge.C2JBridge;

namespace Dalvik.System
namespace Dalvik.SystemNs
{
#region DexClassLoader
public partial class DexClassLoader
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

using MASES.JCOBridge.C2JBridge;

namespace Dalvik.System
namespace Dalvik.SystemNs
{
#region DexFile
public partial class DexFile
Expand Down Expand Up @@ -67,12 +67,12 @@ public DexFile(Java.Lang.String arg0)
/// <param name="arg0"><see cref="Java.Lang.String"/></param>
/// <param name="arg1"><see cref="Java.Lang.String"/></param>
/// <param name="arg2"><see cref="int"/></param>
/// <returns><see cref="Dalvik.System.DexFile"/></returns>
/// <returns><see cref="Dalvik.SystemNs.DexFile"/></returns>
/// <exception cref="Java.Io.IOException"/>
[System.Obsolete()]
public static Dalvik.System.DexFile LoadDex(Java.Lang.String arg0, Java.Lang.String arg1, int arg2)
public static Dalvik.SystemNs.DexFile LoadDex(Java.Lang.String arg0, Java.Lang.String arg1, int arg2)
{
return SExecute<Dalvik.System.DexFile>(LocalBridgeClazz, "loadDex", arg0, arg1, arg2);
return SExecute<Dalvik.SystemNs.DexFile>(LocalBridgeClazz, "loadDex", arg0, arg1, arg2);
}
/// <summary>
/// <see href="https://developer.android.com/reference/dalvik/system/DexFile.html#isDexOptNeeded(java.lang.String)"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

using MASES.JCOBridge.C2JBridge;

namespace Dalvik.System
namespace Dalvik.SystemNs
{
#region InMemoryDexClassLoader
public partial class InMemoryDexClassLoader
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

using MASES.JCOBridge.C2JBridge;

namespace Dalvik.System
namespace Dalvik.SystemNs
{
#region PathClassLoader
public partial class PathClassLoader
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

using MASES.JCOBridge.C2JBridge;

namespace Dalvik.System
namespace Dalvik.SystemNs
{
#region ZipPathValidator
public partial class ZipPathValidator
Expand Down Expand Up @@ -51,8 +51,8 @@ public static void ClearCallback()
/// <summary>
/// <see href="https://developer.android.com/reference/dalvik/system/ZipPathValidator.html#setCallback(dalvik.system.ZipPathValidator.Callback)"/>
/// </summary>
/// <param name="arg0"><see cref="Dalvik.System.ZipPathValidator.Callback"/></param>
public static void SetCallback(Dalvik.System.ZipPathValidator.Callback arg0)
/// <param name="arg0"><see cref="Dalvik.SystemNs.ZipPathValidator.Callback"/></param>
public static void SetCallback(Dalvik.SystemNs.ZipPathValidator.Callback arg0)
{
SExecuteWithSignature(LocalBridgeClazz, "setCallback", "(Ldalvik/system/ZipPathValidator$Callback;)V", arg0);
}
Expand Down
7 changes: 0 additions & 7 deletions src/net/Netdroid/Generated/Java/Io/ObjectInputStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,6 @@ public ObjectInputStream(Java.Io.InputStream arg0)

#region Instance methods
/// <summary>
/// <see href="https://developer.android.com/reference/java.base/java/io/ObjectInputStream.html#getObjectInputFilter()"/> <see href="https://developer.android.com/reference/java.base/java/io/ObjectInputStream.html#setObjectInputFilter(java.io.ObjectInputFilter)"/>
/// </summary>
public Java.Io.ObjectInputFilter ObjectInputFilter
{
get { return IExecuteWithSignature<Java.Io.ObjectInputFilter>("getObjectInputFilter", "()Ljava/io/ObjectInputFilter;"); } set { IExecuteWithSignature("setObjectInputFilter", "(Ljava/io/ObjectInputFilter;)V", value); }
}
/// <summary>
/// <see href="https://developer.android.com/reference/java.base/java/io/ObjectInputStream.html#readBoolean()"/>
/// </summary>
/// <returns><see cref="bool"/></returns>
Expand Down
14 changes: 1 addition & 13 deletions src/net/Netdroid/Generated/Java/Lang/Boolean.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
namespace Java.Lang
{
#region Boolean
public partial class Boolean : Java.Io.ISerializable, Java.Lang.IComparable<Java.Lang.Boolean>, Java.Lang.Constant.IConstable
public partial class Boolean : Java.Io.ISerializable, Java.Lang.IComparable<Java.Lang.Boolean>
{
#region Constructors
/// <summary>
Expand Down Expand Up @@ -59,10 +59,6 @@ public Boolean(Java.Lang.String arg0)
/// Converter from <see cref="Java.Lang.Boolean"/> to <see cref="Java.Lang.Comparable"/>
/// </summary>
public static implicit operator Java.Lang.Comparable(Java.Lang.Boolean t) => t.Cast<Java.Lang.Comparable>();
/// <summary>
/// Converter from <see cref="Java.Lang.Boolean"/> to <see cref="Java.Lang.Constant.Constable"/>
/// </summary>
public static implicit operator Java.Lang.Constant.Constable(Java.Lang.Boolean t) => t.Cast<Java.Lang.Constant.Constable>();

#endregion

Expand Down Expand Up @@ -213,14 +209,6 @@ public int CompareTo(object arg0)
{
return IExecuteWithSignature<int>("compareTo", "(Ljava/lang/Object;)I", arg0);
}
/// <summary>
/// <see href="https://developer.android.com/reference/java.base/java/lang/Boolean.html#describeConstable()"/>
/// </summary>
/// <returns><see cref="Java.Util.Optional"/></returns>
public Java.Util.Optional<Java.Lang.Constant.DynamicConstantDesc<Java.Lang.Boolean>> DescribeConstable()
{
return IExecuteWithSignature<Java.Util.Optional<Java.Lang.Constant.DynamicConstantDesc<Java.Lang.Boolean>>>("describeConstable", "()Ljava/util/Optional;");
}

#endregion

Expand Down
14 changes: 1 addition & 13 deletions src/net/Netdroid/Generated/Java/Lang/Byte.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
namespace Java.Lang
{
#region Byte
public partial class Byte : Java.Lang.IComparable<Java.Lang.Byte>, Java.Lang.Constant.IConstable
public partial class Byte : Java.Lang.IComparable<Java.Lang.Byte>
{
#region Constructors
/// <summary>
Expand Down Expand Up @@ -56,10 +56,6 @@ public Byte(Java.Lang.String arg0)
/// Converter from <see cref="Java.Lang.Byte"/> to <see cref="Java.Lang.Comparable"/>
/// </summary>
public static implicit operator Java.Lang.Comparable(Java.Lang.Byte t) => t.Cast<Java.Lang.Comparable>();
/// <summary>
/// Converter from <see cref="Java.Lang.Byte"/> to <see cref="Java.Lang.Constant.Constable"/>
/// </summary>
public static implicit operator Java.Lang.Constant.Constable(Java.Lang.Byte t) => t.Cast<Java.Lang.Constant.Constable>();

#endregion

Expand Down Expand Up @@ -237,14 +233,6 @@ public int CompareTo(object arg0)
{
return IExecuteWithSignature<int>("compareTo", "(Ljava/lang/Object;)I", arg0);
}
/// <summary>
/// <see href="https://developer.android.com/reference/java.base/java/lang/Byte.html#describeConstable()"/>
/// </summary>
/// <returns><see cref="Java.Util.Optional"/></returns>
public Java.Util.Optional<Java.Lang.Constant.DynamicConstantDesc<Java.Lang.Byte>> DescribeConstable()
{
return IExecuteWithSignature<Java.Util.Optional<Java.Lang.Constant.DynamicConstantDesc<Java.Lang.Byte>>>("describeConstable", "()Ljava/util/Optional;");
}

#endregion

Expand Down
14 changes: 1 addition & 13 deletions src/net/Netdroid/Generated/Java/Lang/Character.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
namespace Java.Lang
{
#region Character
public partial class Character : Java.Io.ISerializable, Java.Lang.IComparable<Java.Lang.Character>, Java.Lang.Constant.IConstable
public partial class Character : Java.Io.ISerializable, Java.Lang.IComparable<Java.Lang.Character>
{
#region Constructors
/// <summary>
Expand All @@ -50,10 +50,6 @@ public Character(char arg0)
/// Converter from <see cref="Java.Lang.Character"/> to <see cref="Java.Lang.Comparable"/>
/// </summary>
public static implicit operator Java.Lang.Comparable(Java.Lang.Character t) => t.Cast<Java.Lang.Comparable>();
/// <summary>
/// Converter from <see cref="Java.Lang.Character"/> to <see cref="Java.Lang.Constant.Constable"/>
/// </summary>
public static implicit operator Java.Lang.Constant.Constable(Java.Lang.Character t) => t.Cast<Java.Lang.Constant.Constable>();

#endregion

Expand Down Expand Up @@ -1288,14 +1284,6 @@ public int CompareTo(object arg0)
{
return IExecuteWithSignature<int>("compareTo", "(Ljava/lang/Object;)I", arg0);
}
/// <summary>
/// <see href="https://developer.android.com/reference/java.base/java/lang/Character.html#describeConstable()"/>
/// </summary>
/// <returns><see cref="Java.Util.Optional"/></returns>
public Java.Util.Optional<Java.Lang.Constant.DynamicConstantDesc<Java.Lang.Character>> DescribeConstable()
{
return IExecuteWithSignature<Java.Util.Optional<Java.Lang.Constant.DynamicConstantDesc<Java.Lang.Character>>>("describeConstable", "()Ljava/util/Optional;");
}

#endregion

Expand Down
Loading

0 comments on commit a1b5d1d

Please sign in to comment.