-
-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
Is your feature request related to a problem? Please describe.
The following line
JNet/src/net/JNetReflector/InternalMethods.cs
Line 1882 in 28569c7
| executionStub = $"if ({varArg.Name()}.Length == 0) {executionStub} else {executionStubWithVarArg}"; |
creates something like
JNet/src/net/JNet/Generated/Java/Lang/String.cs
Lines 241 to 244 in 28569c7
| public static Java.Lang.String Format(Java.Lang.String arg0, params object[] arg1) | |
| { | |
| if (arg1.Length == 0) return SExecuteWithSignature<Java.Lang.String>(LocalBridgeClazz, "format", "(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;", arg0); else return SExecuteWithSignature<Java.Lang.String>(LocalBridgeClazz, "format", "(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;", arg0, arg1); | |
| } |
Describe the solution you'd like
Removes if (arg1.Length == 0) check and replace it with an helper method able to rebuild params of the [I/S]Execute[WithSignature] methods
Describe alternatives you've considered
N/A
Additional context
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels