Skip to content

Commit

Permalink
Update generated classes using last unpublished version of JNetReflector
Browse files Browse the repository at this point in the history
  • Loading branch information
masesdevelopers authored and github-actions[bot] committed Jun 3, 2024
1 parent 8f9151e commit 0be725b
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 850 deletions.
92 changes: 0 additions & 92 deletions src/net/Netdroid/Generated/Java/Time/Chrono/AllPackageClasses.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,52 +118,6 @@ public ChronoLocalDate(params object[] args) : base(args) { }
}
#endregion

#region ChronoLocalDateTime
/// <summary>
/// <see href="https://developer.android.com/reference/java/time/chrono/ChronoLocalDateTime.html"/>
/// </summary>
public partial class ChronoLocalDateTime : MASES.JCOBridge.C2JBridge.JVMBridgeBase<ChronoLocalDateTime>
{
const string _bridgeClassName = "java.time.chrono.ChronoLocalDateTime";
/// <summary>
/// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
/// </summary>
[global::System.Obsolete("ChronoLocalDateTime 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 ChronoLocalDateTime() { }
/// <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>
[global::System.Obsolete("ChronoLocalDateTime 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 ChronoLocalDateTime(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 => true;
/// <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 Chronology
/// <summary>
/// <see href="https://developer.android.com/reference/java/time/chrono/Chronology.html"/>
Expand Down Expand Up @@ -256,52 +210,6 @@ public ChronoPeriod(params object[] args) : base(args) { }
}
#endregion

#region ChronoZonedDateTime
/// <summary>
/// <see href="https://developer.android.com/reference/java/time/chrono/ChronoZonedDateTime.html"/>
/// </summary>
public partial class ChronoZonedDateTime : MASES.JCOBridge.C2JBridge.JVMBridgeBase<ChronoZonedDateTime>
{
const string _bridgeClassName = "java.time.chrono.ChronoZonedDateTime";
/// <summary>
/// Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
/// </summary>
[global::System.Obsolete("ChronoZonedDateTime 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 ChronoZonedDateTime() { }
/// <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>
[global::System.Obsolete("ChronoZonedDateTime 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 ChronoZonedDateTime(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 => true;
/// <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 Era
/// <summary>
/// <see href="https://developer.android.com/reference/java/time/chrono/Era.html"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,15 +218,6 @@ public Java.Lang.String Format(Java.Time.Format.DateTimeFormatter arg0)
return IExecuteWithSignature<Java.Lang.String>("format", "(Ljava/time/format/DateTimeFormatter;)Ljava/lang/String;", arg0);
}
/// <summary>
/// <see href="https://developer.android.com/reference/java/time/chrono/ChronoLocalDate.html#atTime(java.time.LocalTime)"/>
/// </summary>
/// <param name="arg0"><see cref="Java.Time.LocalTime"/></param>
/// <returns><see cref="Java.Time.Chrono.ChronoLocalDateTime"/></returns>
public Java.Time.Chrono.ChronoLocalDateTime AtTime(Java.Time.LocalTime arg0)
{
return IExecuteWithSignature<Java.Time.Chrono.ChronoLocalDateTime>("atTime", "(Ljava/time/LocalTime;)Ljava/time/chrono/ChronoLocalDateTime;", arg0);
}
/// <summary>
/// <see href="https://developer.android.com/reference/java/time/chrono/ChronoLocalDate.html#getEra()"/>
/// </summary>
/// <returns><see cref="Java.Time.Chrono.Era"/></returns>
Expand Down
Loading

0 comments on commit 0be725b

Please sign in to comment.