diff --git a/src/configuration.json b/src/configuration.json index ccf9424da..ad56ebc5f 100644 --- a/src/configuration.json +++ b/src/configuration.json @@ -88,6 +88,7 @@ "java.lang.Thread$UncaughtExceptionHandler", "java.lang.invoke.VarHandle$VarHandleDesc", "java.lang.reflect.AnnotatedType", + "java.lang.runtime.ObjectMethods", "java.security.SecureRandomParameters", "java.sql.ConnectionBuilder", "java.sql.DriverAction", diff --git a/src/net/Netdroid/Generated/Android/Widget/AdapterView.cs b/src/net/Netdroid/Generated/Android/Widget/AdapterView.cs index 147902457..c7dabcebf 100644 --- a/src/net/Netdroid/Generated/Android/Widget/AdapterView.cs +++ b/src/net/Netdroid/Generated/Android/Widget/AdapterView.cs @@ -835,85 +835,12 @@ public T GetAdapter() { return IExecuteWithSignature("getAdapter", "()Landroid/widget/Adapter;"); } - /// - /// - /// - /// - public T GetAdapterDirect() - { - return IExecuteWithSignature("getAdapter", "()Landroid/widget/Adapter;"); - } - /// - /// - /// - /// - public void SetAdapter(T arg0) - { - IExecuteWithSignature("setAdapter", "(Landroid/widget/Adapter;)V", arg0); - } - /// - /// - /// - /// - public void SetSelection(int arg0) - { - IExecuteWithSignature("setSelection", "(I)V", arg0); - } - /// - /// - /// - /// - public Android.View.View GetEmptyView() - { - return IExecuteWithSignature("getEmptyView", "()Landroid/view/View;"); - } - /// - /// - /// - /// - /// - /// - /// - public bool PerformItemClick(Android.View.View arg0, int arg1, long arg2) - { - return IExecute("performItemClick", arg0, arg1, arg2); - } - /// - /// - /// - /// - public Android.Widget.AdapterView.OnItemClickListener GetOnItemClickListener() - { - return IExecuteWithSignature("getOnItemClickListener", "()Landroid/widget/AdapterView$OnItemClickListener;"); - } - /// - /// - /// - /// - public Android.Widget.AdapterView.OnItemClickListener GetOnItemClickListenerDirect() - { - return IExecuteWithSignature("getOnItemClickListener", "()Landroid/widget/AdapterView$OnItemClickListener;"); - } - /// - /// - /// - /// - public Android.Widget.AdapterView.OnItemLongClickListener GetOnItemLongClickListener() - { - return IExecuteWithSignature("getOnItemLongClickListener", "()Landroid/widget/AdapterView$OnItemLongClickListener;"); + } - /// - /// - /// - /// - public Android.Widget.AdapterView.OnItemLongClickListener GetOnItemLongClickListenerDirect() - { - return IExecuteWithSignature("getOnItemLongClickListener", "()Landroid/widget/AdapterView$OnItemLongClickListener;"); + } - /// - /// - /// - /// + + public Android.Widget.AdapterView.OnItemSelectedListener GetOnItemSelectedListener() { return IExecuteWithSignature("getOnItemSelectedListener", "()Landroid/widget/AdapterView$OnItemSelectedListener;"); @@ -934,14 +861,7 @@ public int GetCount() { return IExecuteWithSignature("getCount", "()I"); } - /// - /// - /// - /// - public int GetFirstVisiblePosition() - { - return IExecuteWithSignature("getFirstVisiblePosition", "()I"); - } + /// /// /// diff --git a/src/net/Netdroid/Generated/Java/Lang/AllPackageClasses.cs b/src/net/Netdroid/Generated/Java/Lang/AllPackageClasses.cs index 12617c5ef..3b61c76b7 100644 --- a/src/net/Netdroid/Generated/Java/Lang/AllPackageClasses.cs +++ b/src/net/Netdroid/Generated/Java/Lang/AllPackageClasses.cs @@ -1836,49 +1836,6 @@ public Runnable(params object[] args) : base(args) { } } #endregion - #region Runtime - /// - /// - /// - public partial class Runtime : MASES.JCOBridge.C2JBridge.JVMBridgeBase - { - const string _bridgeClassName = "java.lang.Runtime"; - /// - /// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge - /// - public Runtime() { } - /// - /// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class - /// - public Runtime(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 RuntimePermission /// diff --git a/src/net/Netdroid/Generated/Java/Lang/Runtime.cs b/src/net/Netdroid/Generated/Java/Lang/Runtime.cs index 232f36cda..26dcc702e 100644 --- a/src/net/Netdroid/Generated/Java/Lang/Runtime.cs +++ b/src/net/Netdroid/Generated/Java/Lang/Runtime.cs @@ -25,203 +25,6 @@ namespace Java.Lang { - #region Runtime - public partial class Runtime - { - #region Constructors - #endregion - #region Class/Interface conversion operators - - #endregion - - #region Fields - - #endregion - - #region Static methods - /// - /// - /// - /// - public static Java.Lang.Runtime GetRuntime() - { - return SExecuteWithSignature(LocalBridgeClazz, "getRuntime", "()Ljava/lang/Runtime;"); - } - - #endregion - - #region Instance methods - /// - /// - /// - /// - /// - public bool RemoveShutdownHook(Java.Lang.Thread arg0) - { - return IExecuteWithSignature("removeShutdownHook", "(Ljava/lang/Thread;)Z", arg0); - } - /// - /// - /// - /// - /// - /// - /// - /// - public Java.Lang.Process Exec(Java.Lang.String arg0, Java.Lang.String[] arg1, Java.Io.File arg2) - { - return IExecute("exec", arg0, arg1, arg2); - } - /// - /// - /// - /// - /// - /// - /// - public Java.Lang.Process Exec(Java.Lang.String arg0, Java.Lang.String[] arg1) - { - return IExecute("exec", arg0, arg1); - } - /// - /// - /// - /// - /// - /// - public Java.Lang.Process Exec(Java.Lang.String arg0) - { - return IExecuteWithSignature("exec", "(Ljava/lang/String;)Ljava/lang/Process;", arg0); - } - /// - /// - /// - /// - /// - /// - /// - /// - public Java.Lang.Process Exec(Java.Lang.String[] arg0, Java.Lang.String[] arg1, Java.Io.File arg2) - { - return IExecute("exec", arg0, arg1, arg2); - } - /// - /// - /// - /// - /// - /// - /// - public Java.Lang.Process Exec(Java.Lang.String[] arg0, Java.Lang.String[] arg1) - { - return IExecute("exec", arg0, arg1); - } - /// - /// - /// - /// - /// - /// - public Java.Lang.Process Exec(Java.Lang.String[] arg0) - { - return IExecuteWithSignature("exec", "([Ljava/lang/String;)Ljava/lang/Process;", new object[] { arg0 }); - } - /// - /// - /// - /// - public int AvailableProcessors() - { - return IExecuteWithSignature("availableProcessors", "()I"); - } - /// - /// - /// - /// - public long FreeMemory() - { - return IExecuteWithSignature("freeMemory", "()J"); - } - /// - /// - /// - /// - public long MaxMemory() - { - return IExecuteWithSignature("maxMemory", "()J"); - } - /// - /// - /// - /// - public long TotalMemory() - { - return IExecuteWithSignature("totalMemory", "()J"); - } - /// - /// - /// - public void Gc() - { - IExecuteWithSignature("gc", "()V"); - } - /// - /// - /// - /// - public void AddShutdownHook(Java.Lang.Thread arg0) - { - IExecuteWithSignature("addShutdownHook", "(Ljava/lang/Thread;)V", arg0); - } - /// - /// - /// - /// - public void Exit(int arg0) - { - IExecuteWithSignature("exit", "(I)V", arg0); - } - /// - /// - /// - /// - public void Halt(int arg0) - { - IExecuteWithSignature("halt", "(I)V", arg0); - } - /// - /// - /// - /// - public void Load(Java.Lang.String arg0) - { - IExecuteWithSignature("load", "(Ljava/lang/String;)V", arg0); - } - /// - /// - /// - /// - public void LoadLibrary(Java.Lang.String arg0) - { - IExecuteWithSignature("loadLibrary", "(Ljava/lang/String;)V", arg0); - } - /// - /// - /// - public void RunFinalization() - { - IExecuteWithSignature("runFinalization", "()V"); - } - - #endregion - - #region Nested classes - - #endregion - - // TODO: complete the class - } - #endregion } \ No newline at end of file