Skip to content

Commit

Permalink
Update generated classes after commit bbd2852 (#19)
Browse files Browse the repository at this point in the history
Co-authored-by: masesdevelopers <[email protected]>
  • Loading branch information
github-actions[bot] and masesdevelopers authored May 31, 2024
1 parent bbd2852 commit f141f7a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2,152 deletions.
97 changes: 2 additions & 95 deletions src/net/Netdroid/Generated/Android/Icu/Number/AllPackageClasses.cs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ public IntegerWidth(params object[] args) : base(args) { }
/// <summary>
/// <see href="https://developer.android.com/reference/android/icu/number/LocalizedNumberFormatter.html"/>
/// </summary>
public partial class LocalizedNumberFormatter : Android.Icu.Number.NumberFormatterSettings<Android.Icu.Number.LocalizedNumberFormatter>
public partial class LocalizedNumberFormatter : MASES.JCOBridge.C2JBridge.JVMBridgeBase<LocalizedNumberFormatter>
{
const string _bridgeClassName = "android.icu.number.LocalizedNumberFormatter";
/// <summary>
Expand Down Expand Up @@ -734,99 +734,6 @@ public UnitWidth(params object[] args) : base(args) { }
}
#endregion

#region NumberFormatterSettings
/// <summary>
/// <see href="https://developer.android.com/reference/android/icu/number/NumberFormatterSettings.html"/>
/// </summary>
public partial class NumberFormatterSettings : MASES.JCOBridge.C2JBridge.JVMBridgeBase<NumberFormatterSettings>
{
const string _bridgeClassName = "android.icu.number.NumberFormatterSettings";
/// <summary>
/// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
/// </summary>
[Obsolete("NumberFormatterSettings 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 NumberFormatterSettings() { }
/// <summary>
/// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
/// </summary>
[Obsolete("NumberFormatterSettings 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 NumberFormatterSettings(params object[] args) : base(args) { }

private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName);

/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm"/>
/// </summary>
public override string BridgeClassName => _bridgeClassName;
/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_IsBridgeAbstract.htm"/>
/// </summary>
public override bool IsBridgeAbstract => true;
/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_IsBridgeCloseable.htm"/>
/// </summary>
public override bool IsBridgeCloseable => false;
/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_IsBridgeInterface.htm"/>
/// </summary>
public override bool IsBridgeInterface => false;
/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_IsBridgeStatic.htm"/>
/// </summary>
public override bool IsBridgeStatic => false;

// TODO: complete the class

}
#endregion

#region NumberFormatterSettings<T>
/// <summary>
/// <see href="https://developer.android.com/reference/android/icu/number/NumberFormatterSettings.html"/>
/// </summary>
/// <typeparam name="T"></typeparam>
public partial class NumberFormatterSettings<T> : MASES.JCOBridge.C2JBridge.JVMBridgeBase<NumberFormatterSettings<T>> where T: Android.Icu.Number.NumberFormatterSettings<?>
{
const string _bridgeClassName = "android.icu.number.NumberFormatterSettings";
/// <summary>
/// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
/// </summary>
[Obsolete("NumberFormatterSettings 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 NumberFormatterSettings() { }
/// <summary>
/// Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
/// </summary>
[Obsolete("NumberFormatterSettings 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 NumberFormatterSettings(params object[] args) : base(args) { }

private static readonly IJavaType LocalBridgeClazz = ClazzOf(_bridgeClassName);

/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm"/>
/// </summary>
public override string BridgeClassName => _bridgeClassName;
/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_IsBridgeAbstract.htm"/>
/// </summary>
public override bool IsBridgeAbstract => true;
/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_IsBridgeCloseable.htm"/>
/// </summary>
public override bool IsBridgeCloseable => false;
/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_IsBridgeInterface.htm"/>
/// </summary>
public override bool IsBridgeInterface => false;
/// <summary>
/// <see href="https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_IsBridgeStatic.htm"/>
/// </summary>
public override bool IsBridgeStatic => false;

// TODO: complete the class

}
#endregion

#region NumberRangeFormatter
/// <summary>
/// <see href="https://developer.android.com/reference/android/icu/number/NumberRangeFormatter.html"/>
Expand Down Expand Up @@ -1280,7 +1187,7 @@ public SimpleNotation(params object[] args) : base(args) { }
/// <summary>
/// <see href="https://developer.android.com/reference/android/icu/number/UnlocalizedNumberFormatter.html"/>
/// </summary>
public partial class UnlocalizedNumberFormatter : Android.Icu.Number.NumberFormatterSettings<Android.Icu.Number.UnlocalizedNumberFormatter>
public partial class UnlocalizedNumberFormatter : MASES.JCOBridge.C2JBridge.JVMBridgeBase<UnlocalizedNumberFormatter>
{
const string _bridgeClassName = "android.icu.number.UnlocalizedNumberFormatter";
/// <summary>
Expand Down
Loading

0 comments on commit f141f7a

Please sign in to comment.