Class JVMBridgeBase<TClass>
Public entry point of JVMBridgeBase<TClass>
public abstract class JVMBridgeBase<TClass> : JVMBridgeBase, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition where TClass : IJVMBridgeBase
Type Parameters
TClassA class inherited from JVMBridgeBase<TClass>
- Inheritance
-
JVMBridgeBase<TClass>
- Implements
- Derived
- Inherited Members
-
JVMBridgeBase.IExecuteWithSignatureArray<TArrayType>(string, string, object, object, object, object)JVMBridgeBase.IExecuteWithSignature<TReturn>(string, string, object, object, object, object, object)
- Extension Methods
Examples
This is a basic example showing JVMBridgeBase<TClass> class usage
class TheClass : JVMBridgeBase<TheClass>
{
public override string BridgeClassName => "org.company.TheClass";
public TheClass()
{
}
}
Constructors
JVMBridgeBase()
Initializes a new JVM instance of TClass with no arguments.
public JVMBridgeBase()
JVMBridgeBase(IJVMBridgeBaseInitializer)
Initializer used internally
public JVMBridgeBase(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializerAn instance of IJVMBridgeBaseInitializer
Remarks
Shall be available in any class inherited from JVMBridgeBase
JVMBridgeBase(object)
Initializes a new JVM instance of TClass with 1 argument.
public JVMBridgeBase(object arg0)
Parameters
arg0objectConstructor argument 0.
JVMBridgeBase(object, object)
Initializes a new JVM instance of TClass with 2 arguments.
public JVMBridgeBase(object arg0, object arg1)
Parameters
JVMBridgeBase(object, object, object)
Initializes a new JVM instance of TClass with 3 arguments.
public JVMBridgeBase(object arg0, object arg1, object arg2)
Parameters
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
JVMBridgeBase(object, object, object, object)
Initializes a new JVM instance of TClass with 4 arguments.
public JVMBridgeBase(object arg0, object arg1, object arg2, object arg3)
Parameters
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
JVMBridgeBase(object, object, object, object, object)
Initializes a new JVM instance of TClass with 5 arguments.
public JVMBridgeBase(object arg0, object arg1, object arg2, object arg3, object arg4)
Parameters
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
JVMBridgeBase(object, object, object, object, object, object)
Initializes a new JVM instance of TClass with 5 arguments.
public JVMBridgeBase(object arg0, object arg1, object arg2, object arg3, object arg4, object arg5)
Parameters
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
JVMBridgeBase(object, object, object, object, object, object, object)
Initializes a new JVM instance of TClass with 5 arguments.
public JVMBridgeBase(object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6)
Parameters
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
arg6objectConstructor argument 6.
JVMBridgeBase(object, object, object, object, object, object, object, object)
Initializes a new JVM instance of TClass with 5 arguments.
public JVMBridgeBase(object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7)
Parameters
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
arg6objectConstructor argument 6.
arg7objectConstructor argument 7.
JVMBridgeBase(object, object, object, object, object, object, object, object, object)
Initializes a new JVM instance of TClass with 5 arguments.
public JVMBridgeBase(object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8)
Parameters
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
arg6objectConstructor argument 6.
arg7objectConstructor argument 7.
arg8objectConstructor argument 8.
JVMBridgeBase(object, object, object, object, object, object, object, object, object, object)
Initializes a new JVM instance of TClass with 5 arguments.
public JVMBridgeBase(object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9)
Parameters
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
arg6objectConstructor argument 6.
arg7objectConstructor argument 7.
arg8objectConstructor argument 8.
arg9objectConstructor argument 9.
JVMBridgeBase(params object[])
Used to create instance of IJVMBridgeBase
public JVMBridgeBase(params object[] args)
Parameters
argsobject[]The arguments of constructor
Properties
BridgeClazz
The IJavaType of the implementing class
public static IJavaType BridgeClazz { get; }
Property Value
DynBridgeClazz
The dynamic accessor to BridgeClazz
public static dynamic DynBridgeClazz { get; }
Property Value
- dynamic
Methods
Execute<T>(params T[])
Executes the code
public override void Execute<T>(params T[] args)
Parameters
argsT[]Possible arguments
Type Parameters
TThe argument type to be used
IsAssignableFrom(IJavaType)
Verify if this IJVMBridgeBase is assignable from clazz
public bool IsAssignableFrom(IJavaType clazz)
Parameters
Returns
IsAssignableFrom(string)
Verify if this IJVMBridgeBase is assignable from clazz
public bool IsAssignableFrom(string clazz)
Parameters
clazzstringThe class name to be checked
Returns
IsAssignableFrom<T>()
Verify if this IJVMBridgeBase is assignable from T
public bool IsAssignableFrom<T>() where T : IJVMBridgeBase
Returns
Type Parameters
TA type implementing IJVMBridgeBase
New()
Creates a new JVM instance of TClass with no arguments.
public static TClass New()
Returns
- TClass
A new fully-initialized instance of
TClass.
New(object)
Creates a new JVM instance of TClass with 1 argument.
public static TClass New(object arg0)
Parameters
arg0objectConstructor argument 0.
Returns
- TClass
A new fully-initialized instance of
TClass.
New(object, object)
Creates a new JVM instance of TClass with 2 arguments.
public static TClass New(object arg0, object arg1)
Parameters
Returns
- TClass
A new fully-initialized instance of
TClass.
New(object, object, object)
Creates a new JVM instance of TClass with 3 arguments.
public static TClass New(object arg0, object arg1, object arg2)
Parameters
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
Returns
- TClass
A new fully-initialized instance of
TClass.
New(object, object, object, object)
Creates a new JVM instance of TClass with 4 arguments.
public static TClass New(object arg0, object arg1, object arg2, object arg3)
Parameters
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
Returns
- TClass
A new fully-initialized instance of
TClass.
New(object, object, object, object, object)
Creates a new JVM instance of TClass with 5 arguments.
public static TClass New(object arg0, object arg1, object arg2, object arg3, object arg4)
Parameters
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
Returns
- TClass
A new fully-initialized instance of
TClass.
New(object, object, object, object, object, object)
Creates a new JVM instance of TClass with 6 arguments.
public static TClass New(object arg0, object arg1, object arg2, object arg3, object arg4, object arg5)
Parameters
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
Returns
- TClass
A new fully-initialized instance of
TClass.
New(object, object, object, object, object, object, object)
Creates a new JVM instance of TClass with 7 arguments.
public static TClass New(object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6)
Parameters
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
arg6objectConstructor argument 6.
Returns
- TClass
A new fully-initialized instance of
TClass.
New(object, object, object, object, object, object, object, object)
Creates a new JVM instance of TClass with 8 arguments.
public static TClass New(object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7)
Parameters
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
arg6objectConstructor argument 6.
arg7objectConstructor argument 7.
Returns
- TClass
A new fully-initialized instance of
TClass.
New(object, object, object, object, object, object, object, object, object)
Creates a new JVM instance of TClass with 9 arguments.
public static TClass New(object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8)
Parameters
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
arg6objectConstructor argument 6.
arg7objectConstructor argument 7.
arg8objectConstructor argument 8.
Returns
- TClass
A new fully-initialized instance of
TClass.
New(object, object, object, object, object, object, object, object, object, object)
Creates a new JVM instance of TClass with 10 arguments.
public static TClass New(object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9)
Parameters
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
arg6objectConstructor argument 6.
arg7objectConstructor argument 7.
arg8objectConstructor argument 8.
arg9objectConstructor argument 9.
Returns
- TClass
A new fully-initialized instance of
TClass.
New(params object[])
Create a new instance of the TClass
public static TClass New(params object[] args)
Parameters
argsobject[]Arguments to the constructor
Returns
- TClass
The instantiated
TClass
NewAndWrapsDirect<TNewClass>(string)
Creates a new JVM instance of className with no arguments and wraps it directly in TNewClass without type-safety checks.
public static TNewClass NewAndWrapsDirect<TNewClass>(string className) where TNewClass : IJVMBridgeBase
Parameters
classNamestringThe Java class name in dot or slash form (e.g.
java.lang.String.
Returns
- TNewClass
A new
TNewClasswrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.
Type Parameters
TNewClassThe bridge wrapper type to instantiate. Must expose a constructor accepting IJVMBridgeBaseInitializer. No runtime compatibility check is performed.
NewAndWrapsDirect<TNewClass>(string, object)
Creates a new JVM instance of className with 1 argument and wraps it directly in TNewClass without type-safety checks.
public static TNewClass NewAndWrapsDirect<TNewClass>(string className, object arg0) where TNewClass : IJVMBridgeBase
Parameters
classNamestringThe Java class name in dot or slash form (e.g.
java.lang.String.arg0objectConstructor argument 0.
Returns
- TNewClass
A new
TNewClasswrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.
Type Parameters
TNewClassThe bridge wrapper type to instantiate. Must expose a constructor accepting IJVMBridgeBaseInitializer. No runtime compatibility check is performed.
NewAndWrapsDirect<TNewClass>(string, object, object)
Creates a new JVM instance of className with 2 arguments and wraps it directly in TNewClass without type-safety checks.
public static TNewClass NewAndWrapsDirect<TNewClass>(string className, object arg0, object arg1) where TNewClass : IJVMBridgeBase
Parameters
classNamestringThe Java class name in dot or slash form (e.g.
java.lang.String.arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
Returns
- TNewClass
A new
TNewClasswrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.
Type Parameters
TNewClassThe bridge wrapper type to instantiate. Must expose a constructor accepting IJVMBridgeBaseInitializer. No runtime compatibility check is performed.
NewAndWrapsDirect<TNewClass>(string, object, object, object)
Creates a new JVM instance of className with 3 arguments and wraps it directly in TNewClass without type-safety checks.
public static TNewClass NewAndWrapsDirect<TNewClass>(string className, object arg0, object arg1, object arg2) where TNewClass : IJVMBridgeBase
Parameters
classNamestringThe Java class name in dot or slash form (e.g.
java.lang.String.arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
Returns
- TNewClass
A new
TNewClasswrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.
Type Parameters
TNewClassThe bridge wrapper type to instantiate. Must expose a constructor accepting IJVMBridgeBaseInitializer. No runtime compatibility check is performed.
NewAndWrapsDirect<TNewClass>(string, object, object, object, object)
Creates a new JVM instance of className with 4 arguments and wraps it directly in TNewClass without type-safety checks.
public static TNewClass NewAndWrapsDirect<TNewClass>(string className, object arg0, object arg1, object arg2, object arg3) where TNewClass : IJVMBridgeBase
Parameters
classNamestringThe Java class name in dot or slash form (e.g.
java.lang.String.arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
Returns
- TNewClass
A new
TNewClasswrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.
Type Parameters
TNewClassThe bridge wrapper type to instantiate. Must expose a constructor accepting IJVMBridgeBaseInitializer. No runtime compatibility check is performed.
NewAndWrapsDirect<TNewClass>(string, object, object, object, object, object)
Creates a new JVM instance of className with 5 arguments and wraps it directly in TNewClass without type-safety checks.
public static TNewClass NewAndWrapsDirect<TNewClass>(string className, object arg0, object arg1, object arg2, object arg3, object arg4) where TNewClass : IJVMBridgeBase
Parameters
classNamestringThe Java class name in dot or slash form (e.g.
java.lang.String.arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
Returns
- TNewClass
A new
TNewClasswrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.
Type Parameters
TNewClassThe bridge wrapper type to instantiate. Must expose a constructor accepting IJVMBridgeBaseInitializer. No runtime compatibility check is performed.
NewAndWrapsDirect<TNewClass>(string, object, object, object, object, object, object)
Creates a new JVM instance of className with 5 arguments and wraps it directly in TNewClass without type-safety checks.
public static TNewClass NewAndWrapsDirect<TNewClass>(string className, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5) where TNewClass : IJVMBridgeBase
Parameters
classNamestringThe Java class name in dot or slash form (e.g.
java.lang.String.arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
Returns
- TNewClass
A new
TNewClasswrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.
Type Parameters
TNewClassThe bridge wrapper type to instantiate. Must expose a constructor accepting IJVMBridgeBaseInitializer. No runtime compatibility check is performed.
NewAndWrapsDirect<TNewClass>(string, object, object, object, object, object, object, object)
Creates a new JVM instance of className with 5 arguments and wraps it directly in TNewClass without type-safety checks.
public static TNewClass NewAndWrapsDirect<TNewClass>(string className, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6) where TNewClass : IJVMBridgeBase
Parameters
classNamestringThe Java class name in dot or slash form (e.g.
java.lang.String.arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
arg6objectConstructor argument 6.
Returns
- TNewClass
A new
TNewClasswrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.
Type Parameters
TNewClassThe bridge wrapper type to instantiate. Must expose a constructor accepting IJVMBridgeBaseInitializer. No runtime compatibility check is performed.
NewAndWrapsDirect<TNewClass>(string, object, object, object, object, object, object, object, object)
Creates a new JVM instance of className with 5 arguments and wraps it directly in TNewClass without type-safety checks.
public static TNewClass NewAndWrapsDirect<TNewClass>(string className, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7) where TNewClass : IJVMBridgeBase
Parameters
classNamestringThe Java class name in dot or slash form (e.g.
java.lang.String.arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
arg6objectConstructor argument 6.
arg7objectConstructor argument 7.
Returns
- TNewClass
A new
TNewClasswrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.
Type Parameters
TNewClassThe bridge wrapper type to instantiate. Must expose a constructor accepting IJVMBridgeBaseInitializer. No runtime compatibility check is performed.
NewAndWrapsDirect<TNewClass>(string, object, object, object, object, object, object, object, object, object)
Creates a new JVM instance of className with 5 arguments and wraps it directly in TNewClass without type-safety checks.
public static TNewClass NewAndWrapsDirect<TNewClass>(string className, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8) where TNewClass : IJVMBridgeBase
Parameters
classNamestringThe Java class name in dot or slash form (e.g.
java.lang.String.arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
arg6objectConstructor argument 6.
arg7objectConstructor argument 7.
arg8objectConstructor argument 8.
Returns
- TNewClass
A new
TNewClasswrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.
Type Parameters
TNewClassThe bridge wrapper type to instantiate. Must expose a constructor accepting IJVMBridgeBaseInitializer. No runtime compatibility check is performed.
NewAndWrapsDirect<TNewClass>(string, object, object, object, object, object, object, object, object, object, object)
Creates a new JVM instance of className with 5 arguments and wraps it directly in TNewClass without type-safety checks.
public static TNewClass NewAndWrapsDirect<TNewClass>(string className, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9) where TNewClass : IJVMBridgeBase
Parameters
classNamestringThe Java class name in dot or slash form (e.g.
java.lang.String.arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
arg6objectConstructor argument 6.
arg7objectConstructor argument 7.
arg8objectConstructor argument 8.
arg9objectConstructor argument 9.
Returns
- TNewClass
A new
TNewClasswrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.
Type Parameters
TNewClassThe bridge wrapper type to instantiate. Must expose a constructor accepting IJVMBridgeBaseInitializer. No runtime compatibility check is performed.
NewAndWrapsDirect<TNewClass>(string, params object[])
Wraps a new instance of the TNewClass after execution of New(string, params object[])
public static TNewClass NewAndWrapsDirect<TNewClass>(string className, params object[] args) where TNewClass : IJVMBridgeBase
Parameters
classNamestringThe class name in the dot or slash form (example are java.lang.Boolean or java/lang/Boolean)
argsobject[]The argument for the class constructor
Returns
- TNewClass
The instantiated
TNewClass
Type Parameters
TNewClassThe class implementing IJVMBridgeBase
NewWithSignature(string)
Creates a new JVM instance of TClass using a JNI signature with no arguments.
public static TClass NewWithSignature(string signature)
Parameters
signaturestringThe JNI constructor signature to use for overload resolution.
Returns
- TClass
A new fully-initialized instance of
TClass.
NewWithSignature(string, object)
Creates a new JVM instance of TClass using a JNI signature with 1 argument.
public static TClass NewWithSignature(string signature, object arg0)
Parameters
signaturestringThe JNI constructor signature to use for overload resolution.
arg0objectConstructor argument 0.
Returns
- TClass
A new fully-initialized instance of
TClass.
NewWithSignature(string, object, object)
Creates a new JVM instance of TClass using a JNI signature with 2 arguments.
public static TClass NewWithSignature(string signature, object arg0, object arg1)
Parameters
signaturestringThe JNI constructor signature to use for overload resolution.
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
Returns
- TClass
A new fully-initialized instance of
TClass.
NewWithSignature(string, object, object, object)
Creates a new JVM instance of TClass using a JNI signature with 3 arguments.
public static TClass NewWithSignature(string signature, object arg0, object arg1, object arg2)
Parameters
signaturestringThe JNI constructor signature to use for overload resolution.
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
Returns
- TClass
A new fully-initialized instance of
TClass.
NewWithSignature(string, object, object, object, object)
Creates a new JVM instance of TClass using a JNI signature with 4 arguments.
public static TClass NewWithSignature(string signature, object arg0, object arg1, object arg2, object arg3)
Parameters
signaturestringThe JNI constructor signature to use for overload resolution.
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
Returns
- TClass
A new fully-initialized instance of
TClass.
NewWithSignature(string, object, object, object, object, object)
Creates a new JVM instance of TClass using a JNI signature with 5 arguments.
public static TClass NewWithSignature(string signature, object arg0, object arg1, object arg2, object arg3, object arg4)
Parameters
signaturestringThe JNI constructor signature to use for overload resolution.
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
Returns
- TClass
A new fully-initialized instance of
TClass.
NewWithSignature(string, object, object, object, object, object, object)
Creates a new JVM instance of TClass using a JNI signature with 6 arguments.
public static TClass NewWithSignature(string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5)
Parameters
signaturestringThe JNI constructor signature to use for overload resolution.
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
Returns
- TClass
A new fully-initialized instance of
TClass.
NewWithSignature(string, object, object, object, object, object, object, object)
Creates a new JVM instance of TClass using a JNI signature with 7 arguments.
public static TClass NewWithSignature(string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6)
Parameters
signaturestringThe JNI constructor signature to use for overload resolution.
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
arg6objectConstructor argument 6.
Returns
- TClass
A new fully-initialized instance of
TClass.
NewWithSignature(string, object, object, object, object, object, object, object, object)
Creates a new JVM instance of TClass using a JNI signature with 8 arguments.
public static TClass NewWithSignature(string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7)
Parameters
signaturestringThe JNI constructor signature to use for overload resolution.
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
arg6objectConstructor argument 6.
arg7objectConstructor argument 7.
Returns
- TClass
A new fully-initialized instance of
TClass.
NewWithSignature(string, object, object, object, object, object, object, object, object, object)
Creates a new JVM instance of TClass using a JNI signature with 9 arguments.
public static TClass NewWithSignature(string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8)
Parameters
signaturestringThe JNI constructor signature to use for overload resolution.
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
arg6objectConstructor argument 6.
arg7objectConstructor argument 7.
arg8objectConstructor argument 8.
Returns
- TClass
A new fully-initialized instance of
TClass.
NewWithSignature(string, object, object, object, object, object, object, object, object, object, object)
Creates a new JVM instance of TClass using a JNI signature with 10 arguments.
public static TClass NewWithSignature(string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9)
Parameters
signaturestringThe JNI constructor signature to use for overload resolution.
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
arg6objectConstructor argument 6.
arg7objectConstructor argument 7.
arg8objectConstructor argument 8.
arg9objectConstructor argument 9.
Returns
- TClass
A new fully-initialized instance of
TClass.
NewWithSignature(string, params object[])
Create a new instance of the TClass
public static TClass NewWithSignature(string signature, params object[] args)
Parameters
signaturestringThe JNI constructor signature to be used
argsobject[]Arguments to the constructor
Returns
- TClass
The instantiated
TClass
NewWithSignatureAndWrapsDirect<TNewClass>(string, string)
Creates a new JVM instance of className with no arguments and wraps it directly in TNewClass without type-safety checks.
public static TNewClass NewWithSignatureAndWrapsDirect<TNewClass>(string className, string signature) where TNewClass : IJVMBridgeBase
Parameters
classNamestringThe Java class name in dot or slash form.
signaturestringThe JNI constructor signature.
Returns
- TNewClass
A new
TNewClasswrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.
Type Parameters
TNewClassThe bridge wrapper type to instantiate. Must expose a constructor accepting IJVMBridgeBaseInitializer. No runtime compatibility check is performed.
NewWithSignatureAndWrapsDirect<TNewClass>(string, string, object)
Creates a new JVM instance of className with 1 argument and wraps it directly in TNewClass without type-safety checks.
public static TNewClass NewWithSignatureAndWrapsDirect<TNewClass>(string className, string signature, object arg0) where TNewClass : IJVMBridgeBase
Parameters
classNamestringThe Java class name in dot or slash form.
signaturestringThe JNI constructor signature.
arg0objectConstructor argument 0.
Returns
- TNewClass
A new
TNewClasswrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.
Type Parameters
TNewClassThe bridge wrapper type to instantiate. Must expose a constructor accepting IJVMBridgeBaseInitializer. No runtime compatibility check is performed.
NewWithSignatureAndWrapsDirect<TNewClass>(string, string, object, object)
Creates a new JVM instance of className with 2 arguments and wraps it directly in TNewClass without type-safety checks.
public static TNewClass NewWithSignatureAndWrapsDirect<TNewClass>(string className, string signature, object arg0, object arg1) where TNewClass : IJVMBridgeBase
Parameters
classNamestringThe Java class name in dot or slash form.
signaturestringThe JNI constructor signature.
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
Returns
- TNewClass
A new
TNewClasswrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.
Type Parameters
TNewClassThe bridge wrapper type to instantiate. Must expose a constructor accepting IJVMBridgeBaseInitializer. No runtime compatibility check is performed.
NewWithSignatureAndWrapsDirect<TNewClass>(string, string, object, object, object)
Creates a new JVM instance of className with 3 arguments and wraps it directly in TNewClass without type-safety checks.
public static TNewClass NewWithSignatureAndWrapsDirect<TNewClass>(string className, string signature, object arg0, object arg1, object arg2) where TNewClass : IJVMBridgeBase
Parameters
classNamestringThe Java class name in dot or slash form.
signaturestringThe JNI constructor signature.
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
Returns
- TNewClass
A new
TNewClasswrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.
Type Parameters
TNewClassThe bridge wrapper type to instantiate. Must expose a constructor accepting IJVMBridgeBaseInitializer. No runtime compatibility check is performed.
NewWithSignatureAndWrapsDirect<TNewClass>(string, string, object, object, object, object)
Creates a new JVM instance of className with 4 arguments and wraps it directly in TNewClass without type-safety checks.
public static TNewClass NewWithSignatureAndWrapsDirect<TNewClass>(string className, string signature, object arg0, object arg1, object arg2, object arg3) where TNewClass : IJVMBridgeBase
Parameters
classNamestringThe Java class name in dot or slash form.
signaturestringThe JNI constructor signature.
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
Returns
- TNewClass
A new
TNewClasswrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.
Type Parameters
TNewClassThe bridge wrapper type to instantiate. Must expose a constructor accepting IJVMBridgeBaseInitializer. No runtime compatibility check is performed.
NewWithSignatureAndWrapsDirect<TNewClass>(string, string, object, object, object, object, object)
Creates a new JVM instance of className with 5 arguments and wraps it directly in TNewClass without type-safety checks.
public static TNewClass NewWithSignatureAndWrapsDirect<TNewClass>(string className, string signature, object arg0, object arg1, object arg2, object arg3, object arg4) where TNewClass : IJVMBridgeBase
Parameters
classNamestringThe Java class name in dot or slash form.
signaturestringThe JNI constructor signature.
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
Returns
- TNewClass
A new
TNewClasswrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.
Type Parameters
TNewClassThe bridge wrapper type to instantiate. Must expose a constructor accepting IJVMBridgeBaseInitializer. No runtime compatibility check is performed.
NewWithSignatureAndWrapsDirect<TNewClass>(string, string, object, object, object, object, object, object)
Creates a new JVM instance of className with 5 arguments and wraps it directly in TNewClass without type-safety checks.
public static TNewClass NewWithSignatureAndWrapsDirect<TNewClass>(string className, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5) where TNewClass : IJVMBridgeBase
Parameters
classNamestringThe Java class name in dot or slash form.
signaturestringThe JNI constructor signature.
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
Returns
- TNewClass
A new
TNewClasswrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.
Type Parameters
TNewClassThe bridge wrapper type to instantiate. Must expose a constructor accepting IJVMBridgeBaseInitializer. No runtime compatibility check is performed.
NewWithSignatureAndWrapsDirect<TNewClass>(string, string, object, object, object, object, object, object, object)
Creates a new JVM instance of className with 5 arguments and wraps it directly in TNewClass without type-safety checks.
public static TNewClass NewWithSignatureAndWrapsDirect<TNewClass>(string className, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6) where TNewClass : IJVMBridgeBase
Parameters
classNamestringThe Java class name in dot or slash form.
signaturestringThe JNI constructor signature.
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
arg6objectConstructor argument 6.
Returns
- TNewClass
A new
TNewClasswrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.
Type Parameters
TNewClassThe bridge wrapper type to instantiate. Must expose a constructor accepting IJVMBridgeBaseInitializer. No runtime compatibility check is performed.
NewWithSignatureAndWrapsDirect<TNewClass>(string, string, object, object, object, object, object, object, object, object)
Creates a new JVM instance of className with 5 arguments and wraps it directly in TNewClass without type-safety checks.
public static TNewClass NewWithSignatureAndWrapsDirect<TNewClass>(string className, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7) where TNewClass : IJVMBridgeBase
Parameters
classNamestringThe Java class name in dot or slash form.
signaturestringThe JNI constructor signature.
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
arg6objectConstructor argument 6.
arg7objectConstructor argument 7.
Returns
- TNewClass
A new
TNewClasswrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.
Type Parameters
TNewClassThe bridge wrapper type to instantiate. Must expose a constructor accepting IJVMBridgeBaseInitializer. No runtime compatibility check is performed.
NewWithSignatureAndWrapsDirect<TNewClass>(string, string, object, object, object, object, object, object, object, object, object)
Creates a new JVM instance of className with 5 arguments and wraps it directly in TNewClass without type-safety checks.
public static TNewClass NewWithSignatureAndWrapsDirect<TNewClass>(string className, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8) where TNewClass : IJVMBridgeBase
Parameters
classNamestringThe Java class name in dot or slash form.
signaturestringThe JNI constructor signature.
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
arg6objectConstructor argument 6.
arg7objectConstructor argument 7.
arg8objectConstructor argument 8.
Returns
- TNewClass
A new
TNewClasswrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.
Type Parameters
TNewClassThe bridge wrapper type to instantiate. Must expose a constructor accepting IJVMBridgeBaseInitializer. No runtime compatibility check is performed.
NewWithSignatureAndWrapsDirect<TNewClass>(string, string, object, object, object, object, object, object, object, object, object, object)
Creates a new JVM instance of className with 5 arguments and wraps it directly in TNewClass without type-safety checks.
public static TNewClass NewWithSignatureAndWrapsDirect<TNewClass>(string className, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9) where TNewClass : IJVMBridgeBase
Parameters
classNamestringThe Java class name in dot or slash form.
signaturestringThe JNI constructor signature.
arg0objectConstructor argument 0.
arg1objectConstructor argument 1.
arg2objectConstructor argument 2.
arg3objectConstructor argument 3.
arg4objectConstructor argument 4.
arg5objectConstructor argument 5.
arg6objectConstructor argument 6.
arg7objectConstructor argument 7.
arg8objectConstructor argument 8.
arg9objectConstructor argument 9.
Returns
- TNewClass
A new
TNewClasswrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.
Type Parameters
TNewClassThe bridge wrapper type to instantiate. Must expose a constructor accepting IJVMBridgeBaseInitializer. No runtime compatibility check is performed.
NewWithSignatureAndWrapsDirect<TNewClass>(string, string, params object[])
Wraps a new instance of the TNewClass after execution of NewWithSignature(string, string, params object[])
public static TNewClass NewWithSignatureAndWrapsDirect<TNewClass>(string className, string signature, params object[] args) where TNewClass : IJVMBridgeBase
Parameters
classNamestringThe class name in the dot or slash form (example are java.lang.Boolean or java/lang/Boolean)
signaturestringThe JNI constructor signature to be used
argsobject[]The argument for the class constructor
Returns
- TNewClass
The instantiated
TNewClass
Type Parameters
TNewClassThe class implementing IJVMBridgeBase
SExecute(IJavaType, string)
Invokes static method methodName on clazz with 0 arguments.
public static object SExecute(IJavaType clazz, string methodName)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
Returns
SExecute(IJavaType, string, object)
Invokes static method methodName on clazz with 1 argument.
public static object SExecute(IJavaType clazz, string methodName, object arg0)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
Returns
SExecute(IJavaType, string, object, object)
Invokes static method methodName on clazz with 2 arguments.
public static object SExecute(IJavaType clazz, string methodName, object arg0, object arg1)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
Returns
SExecute(IJavaType, string, object, object, object)
Invokes static method methodName on clazz with 3 arguments.
public static object SExecute(IJavaType clazz, string methodName, object arg0, object arg1, object arg2)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
Returns
SExecute(IJavaType, string, object, object, object, object)
Invokes static method methodName on clazz with 4 arguments.
public static object SExecute(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
Returns
SExecute(IJavaType, string, object, object, object, object, object)
Invokes static method methodName on clazz with 5 arguments.
public static object SExecute(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3, object arg4)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
Returns
SExecute(IJavaType, string, object, object, object, object, object, object)
Invokes static method methodName on clazz with 6 arguments.
public static object SExecute(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
Returns
SExecute(IJavaType, string, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 7 arguments.
public static object SExecute(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
Returns
SExecute(IJavaType, string, object, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 8 arguments.
public static object SExecute(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
Returns
SExecute(IJavaType, string, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 9 arguments.
public static object SExecute(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
Returns
SExecute(IJavaType, string, object, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 10 arguments.
public static object SExecute(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
arg9objectArgument 9.
Returns
SExecute(IJavaType, string, params object[])
Executes a static method
public static object SExecute(IJavaType clazz, string methodName, params object[] args)
Parameters
clazzIJavaTypeThe IJavaType where the method shall be executed
methodNamestringThe instance method to be invoked
argsobject[]Possible arguments
Returns
- object
The result of execution. Void functions returns null.
SExecute(string)
Invokes static method methodName on the static BridgeClazz of TClass with 0 arguments.
public static object SExecute(string methodName)
Parameters
methodNamestringThe name of the static method to invoke.
Returns
SExecute(string, object)
Invokes static method methodName on the static BridgeClazz of TClass with 1 argument.
public static object SExecute(string methodName, object arg0)
Parameters
Returns
SExecute(string, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 2 arguments.
public static object SExecute(string methodName, object arg0, object arg1)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
Returns
SExecute(string, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 3 arguments.
public static object SExecute(string methodName, object arg0, object arg1, object arg2)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
Returns
SExecute(string, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 4 arguments.
public static object SExecute(string methodName, object arg0, object arg1, object arg2, object arg3)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
Returns
SExecute(string, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 5 arguments.
public static object SExecute(string methodName, object arg0, object arg1, object arg2, object arg3, object arg4)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
Returns
SExecute(string, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 6 arguments.
public static object SExecute(string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
Returns
SExecute(string, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 7 arguments.
public static object SExecute(string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
Returns
SExecute(string, object, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 8 arguments.
public static object SExecute(string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
Returns
SExecute(string, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 9 arguments.
public static object SExecute(string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
Returns
SExecute(string, object, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 10 arguments.
public static object SExecute(string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
arg9objectArgument 9.
Returns
SExecute(string, params object[])
Executes a static method
public static object SExecute(string methodName, params object[] args)
Parameters
Returns
- object
The result of execution. Void functions returns null.
SExecute(Type, IJavaType, string, params object[])
Executes a static method which returns a bridged class
public static IJVMBridgeBase SExecute(Type type, IJavaType clazz, string methodName, params object[] args)
Parameters
typeTypeThe Type implementing IJVMBridgeBase to be instantiated
clazzIJavaTypeThe IJavaType where the method shall be executed
methodNamestringThe instance method to be invoked
argsobject[]Possible arguments
Returns
- IJVMBridgeBase
A newly initialized
typeor null
SExecute(Type, string, params object[])
Executes a static method which returns a bridged class
public static IJVMBridgeBase SExecute(Type type, string methodName, params object[] args)
Parameters
typeTypeThe Type implementing IJVMBridgeBase to be instantiated
methodNamestringThe instance method to be invoked
argsobject[]Possible arguments
Returns
- IJVMBridgeBase
A newly initialized
typeor null
SExecuteArray<TArrayType>(IJavaType, string)
Invokes static method methodName on clazz with 0 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteArray<TArrayType>(IJavaType clazz, string methodName)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteArray<TArrayType>(IJavaType, string, object)
Invokes static method methodName on clazz with 1 argument and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteArray<TArrayType>(IJavaType clazz, string methodName, object arg0)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteArray<TArrayType>(IJavaType, string, object, object)
Invokes static method methodName on clazz with 2 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteArray<TArrayType>(IJavaType clazz, string methodName, object arg0, object arg1)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteArray<TArrayType>(IJavaType, string, object, object, object)
Invokes static method methodName on clazz with 3 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteArray<TArrayType>(IJavaType clazz, string methodName, object arg0, object arg1, object arg2)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteArray<TArrayType>(IJavaType, string, object, object, object, object)
Invokes static method methodName on clazz with 4 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteArray<TArrayType>(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteArray<TArrayType>(IJavaType, string, object, object, object, object, object)
Invokes static method methodName on clazz with 5 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteArray<TArrayType>(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3, object arg4)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteArray<TArrayType>(IJavaType, string, object, object, object, object, object, object)
Invokes static method methodName on clazz with 6 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteArray<TArrayType>(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteArray<TArrayType>(IJavaType, string, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 7 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteArray<TArrayType>(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteArray<TArrayType>(IJavaType, string, object, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 8 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteArray<TArrayType>(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteArray<TArrayType>(IJavaType, string, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 9 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteArray<TArrayType>(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteArray<TArrayType>(IJavaType, string, object, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 10 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteArray<TArrayType>(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
arg9objectArgument 9.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteArray<TArrayType>(IJavaType, string, params object[])
Statically executes the method identified by methodName on
clazz and returns the result as an array of TArrayType.
public static TArrayType[] SExecuteArray<TArrayType>(IJavaType clazz, string methodName, params object[] args)
Parameters
clazzIJavaTypeThe IJavaType on which the static method shall be executed.
methodNamestringThe name of the static method to execute.
argsobject[]The arguments to pass to the method.
Returns
- TArrayType[]
An array of
TArrayType, or null if the method returns null or an empty JVM array reference.
Type Parameters
TArrayTypeThe expected element type of the returned array. Can be a primitive type, a IJVMBridgeBase implementation, or any other type compatible with the JVM array element type.
SExecuteArray<TArrayType>(string)
Invokes static method methodName on the static BridgeClazz of TClass with 0 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteArray<TArrayType>(string methodName)
Parameters
methodNamestringThe name of the static method to invoke.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteArray<TArrayType>(string, object)
Invokes static method methodName on the static BridgeClazz of TClass with 1 argument and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteArray<TArrayType>(string methodName, object arg0)
Parameters
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteArray<TArrayType>(string, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 2 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteArray<TArrayType>(string methodName, object arg0, object arg1)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteArray<TArrayType>(string, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 3 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteArray<TArrayType>(string methodName, object arg0, object arg1, object arg2)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteArray<TArrayType>(string, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 4 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteArray<TArrayType>(string methodName, object arg0, object arg1, object arg2, object arg3)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteArray<TArrayType>(string, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 5 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteArray<TArrayType>(string methodName, object arg0, object arg1, object arg2, object arg3, object arg4)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteArray<TArrayType>(string, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 6 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteArray<TArrayType>(string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteArray<TArrayType>(string, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 7 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteArray<TArrayType>(string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteArray<TArrayType>(string, object, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 8 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteArray<TArrayType>(string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteArray<TArrayType>(string, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 9 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteArray<TArrayType>(string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteArray<TArrayType>(string, object, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 10 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteArray<TArrayType>(string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
arg9objectArgument 9.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteArray<TArrayType>(string, params object[])
Statically executes the method identified by methodName on
the current class and returns the result as an array of TArrayType.
public static TArrayType[] SExecuteArray<TArrayType>(string methodName, params object[] args)
Parameters
methodNamestringThe name of the static method to execute.
argsobject[]The arguments to pass to the method.
Returns
- TArrayType[]
An array of
TArrayType, or null if the method returns null or an empty JVM array reference.
Type Parameters
TArrayTypeThe expected element type of the returned array. Can be a primitive type, a IJVMBridgeBase implementation, or any other type compatible with the JVM array element type.
SExecuteStream<TArrayType>(IJavaType, string)
Invokes static method methodName on clazz with 0 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(IJavaType clazz, string methodName) where TArrayType : unmanaged
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteStream<TArrayType>(IJavaType, string, object)
Invokes static method methodName on clazz with 1 argument and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(IJavaType clazz, string methodName, object arg0) where TArrayType : unmanaged
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteStream<TArrayType>(IJavaType, string, object, object)
Invokes static method methodName on clazz with 2 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(IJavaType clazz, string methodName, object arg0, object arg1) where TArrayType : unmanaged
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteStream<TArrayType>(IJavaType, string, object, object, object)
Invokes static method methodName on clazz with 3 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(IJavaType clazz, string methodName, object arg0, object arg1, object arg2) where TArrayType : unmanaged
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteStream<TArrayType>(IJavaType, string, object, object, object, object)
Invokes static method methodName on clazz with 4 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3) where TArrayType : unmanaged
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteStream<TArrayType>(IJavaType, string, object, object, object, object, object)
Invokes static method methodName on clazz with 5 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3, object arg4) where TArrayType : unmanaged
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteStream<TArrayType>(IJavaType, string, object, object, object, object, object, object)
Invokes static method methodName on clazz with 6 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5) where TArrayType : unmanaged
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteStream<TArrayType>(IJavaType, string, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 7 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6) where TArrayType : unmanaged
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteStream<TArrayType>(IJavaType, string, object, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 8 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7) where TArrayType : unmanaged
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteStream<TArrayType>(IJavaType, string, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 9 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8) where TArrayType : unmanaged
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteStream<TArrayType>(IJavaType, string, object, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 10 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9) where TArrayType : unmanaged
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
arg9objectArgument 9.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteStream<TArrayType>(IJavaType, string, params object[])
Statically executes the method identified by methodName on
clazz and returns the result as a
JCOBridgeStream<T> backed by the JVM primitive array
returned by the method.
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(IJavaType clazz, string methodName, params object[] args) where TArrayType : unmanaged
Parameters
clazzIJavaTypeThe IJavaType on which the static method shall be executed.
methodNamestringThe name of the static method to execute.
argsobject[]The arguments to pass to the method.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> that provides stream access to the JVM array data, or null if the method returns null or an empty JVM array reference. Dispose the returned stream as soon as it is no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type corresponding to the JVM array element type. Supported types are: bool, byte, short, int, long, float, double and char. Must match the actual JVM array element type; a mismatch throws InvalidOperationException at runtime.
SExecuteStream<TArrayType>(string)
Invokes static method methodName on the static BridgeClazz of TClass with 0 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(string methodName) where TArrayType : unmanaged
Parameters
methodNamestringThe name of the static method to invoke.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteStream<TArrayType>(string, object)
Invokes static method methodName on the static BridgeClazz of TClass with 1 argument and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(string methodName, object arg0) where TArrayType : unmanaged
Parameters
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteStream<TArrayType>(string, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 2 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(string methodName, object arg0, object arg1) where TArrayType : unmanaged
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteStream<TArrayType>(string, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 3 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(string methodName, object arg0, object arg1, object arg2) where TArrayType : unmanaged
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteStream<TArrayType>(string, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 4 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(string methodName, object arg0, object arg1, object arg2, object arg3) where TArrayType : unmanaged
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteStream<TArrayType>(string, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 5 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(string methodName, object arg0, object arg1, object arg2, object arg3, object arg4) where TArrayType : unmanaged
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteStream<TArrayType>(string, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 6 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5) where TArrayType : unmanaged
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteStream<TArrayType>(string, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 7 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6) where TArrayType : unmanaged
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteStream<TArrayType>(string, object, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 8 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7) where TArrayType : unmanaged
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteStream<TArrayType>(string, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 9 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8) where TArrayType : unmanaged
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteStream<TArrayType>(string, object, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 10 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9) where TArrayType : unmanaged
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
arg9objectArgument 9.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteStream<TArrayType>(string, params object[])
Statically executes the method identified by methodName on
the current class and returns the result as a
JCOBridgeStream<T> backed by the JVM primitive array
returned by the method.
public static JCOBridgeStream<TArrayType> SExecuteStream<TArrayType>(string methodName, params object[] args) where TArrayType : unmanaged
Parameters
methodNamestringThe name of the static method to execute.
argsobject[]The arguments to pass to the method.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> that provides stream access to the JVM array data, or null if the method returns null or an empty JVM array reference. Dispose the returned stream as soon as it is no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type corresponding to the JVM array element type. Supported types are: bool, byte, short, int, long, float, double and char. Must match the actual JVM array element type; a mismatch throws InvalidOperationException at runtime.
SExecuteWithSignature(IJavaType, string, string)
Invokes static method methodName on clazz with 0 arguments.
public static object SExecuteWithSignature(IJavaType clazz, string methodName, string signature)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
Returns
SExecuteWithSignature(IJavaType, string, string, object)
Invokes static method methodName on clazz with 1 argument.
public static object SExecuteWithSignature(IJavaType clazz, string methodName, string signature, object arg0)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
Returns
SExecuteWithSignature(IJavaType, string, string, object, object)
Invokes static method methodName on clazz with 2 arguments.
public static object SExecuteWithSignature(IJavaType clazz, string methodName, string signature, object arg0, object arg1)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
Returns
SExecuteWithSignature(IJavaType, string, string, object, object, object)
Invokes static method methodName on clazz with 3 arguments.
public static object SExecuteWithSignature(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
Returns
SExecuteWithSignature(IJavaType, string, string, object, object, object, object)
Invokes static method methodName on clazz with 4 arguments.
public static object SExecuteWithSignature(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
Returns
SExecuteWithSignature(IJavaType, string, string, object, object, object, object, object)
Invokes static method methodName on clazz with 5 arguments.
public static object SExecuteWithSignature(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
Returns
SExecuteWithSignature(IJavaType, string, string, object, object, object, object, object, object)
Invokes static method methodName on clazz with 6 arguments.
public static object SExecuteWithSignature(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
Returns
SExecuteWithSignature(IJavaType, string, string, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 7 arguments.
public static object SExecuteWithSignature(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
Returns
SExecuteWithSignature(IJavaType, string, string, object, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 8 arguments.
public static object SExecuteWithSignature(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
Returns
SExecuteWithSignature(IJavaType, string, string, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 9 arguments.
public static object SExecuteWithSignature(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
Returns
SExecuteWithSignature(IJavaType, string, string, object, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 10 arguments.
public static object SExecuteWithSignature(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
arg9objectArgument 9.
Returns
SExecuteWithSignature(IJavaType, string, string, params object[])
Executes a static method
public static object SExecuteWithSignature(IJavaType clazz, string methodName, string signature, params object[] args)
Parameters
clazzIJavaTypeThe IJavaType where the method shall be executed
methodNamestringThe instance method to be invoked
signaturestringMethod signature to use in search criteria
argsobject[]Possible arguments
Returns
- object
The result of execution. Void functions returns null.
SExecuteWithSignature(string, string)
Invokes static method methodName on the static BridgeClazz of TClass with 0 arguments.
public static object SExecuteWithSignature(string methodName, string signature)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
Returns
SExecuteWithSignature(string, string, object)
Invokes static method methodName on the static BridgeClazz of TClass with 1 argument.
public static object SExecuteWithSignature(string methodName, string signature, object arg0)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
Returns
SExecuteWithSignature(string, string, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 2 arguments.
public static object SExecuteWithSignature(string methodName, string signature, object arg0, object arg1)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
Returns
SExecuteWithSignature(string, string, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 3 arguments.
public static object SExecuteWithSignature(string methodName, string signature, object arg0, object arg1, object arg2)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
Returns
SExecuteWithSignature(string, string, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 4 arguments.
public static object SExecuteWithSignature(string methodName, string signature, object arg0, object arg1, object arg2, object arg3)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
Returns
SExecuteWithSignature(string, string, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 5 arguments.
public static object SExecuteWithSignature(string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
Returns
SExecuteWithSignature(string, string, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 6 arguments.
public static object SExecuteWithSignature(string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
Returns
SExecuteWithSignature(string, string, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 7 arguments.
public static object SExecuteWithSignature(string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
Returns
SExecuteWithSignature(string, string, object, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 8 arguments.
public static object SExecuteWithSignature(string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
Returns
SExecuteWithSignature(string, string, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 9 arguments.
public static object SExecuteWithSignature(string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
Returns
SExecuteWithSignature(string, string, object, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 10 arguments.
public static object SExecuteWithSignature(string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
arg9objectArgument 9.
Returns
SExecuteWithSignature(string, string, params object[])
Executes a static method
public static object SExecuteWithSignature(string methodName, string signature, params object[] args)
Parameters
methodNamestringThe instance method to be invoked
signaturestringMethod signature to use in search criteria
argsobject[]Possible arguments
Returns
- object
The result of execution. Void functions returns null.
SExecuteWithSignature(Type, IJavaType, string, string, params object[])
Executes a static method which returns a bridged class
public static IJVMBridgeBase SExecuteWithSignature(Type type, IJavaType clazz, string methodName, string signature, params object[] args)
Parameters
typeTypeThe Type implementing IJVMBridgeBase to be instantiated
clazzIJavaTypeThe IJavaType where the method shall be executed
methodNamestringThe instance method to be invoked
signaturestringMethod signature to use in search criteria
argsobject[]Possible arguments
Returns
- IJVMBridgeBase
A newly initialized
typeor null
SExecuteWithSignature(Type, string, string, params object[])
Executes a static method which returns a bridged class
public static IJVMBridgeBase SExecuteWithSignature(Type type, string methodName, string signature, params object[] args)
Parameters
typeTypeThe Type implementing IJVMBridgeBase to be instantiated
methodNamestringThe instance method to be invoked
signaturestringMethod signature to use in search criteria
argsobject[]Possible arguments
Returns
- IJVMBridgeBase
A newly initialized
typeor null
SExecuteWithSignatureArray<TArrayType>(IJavaType, string, string)
Invokes static method methodName on clazz with 0 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteWithSignatureArray<TArrayType>(IJavaType clazz, string methodName, string signature)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteWithSignatureArray<TArrayType>(IJavaType, string, string, object)
Invokes static method methodName on clazz with 1 argument and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteWithSignatureArray<TArrayType>(IJavaType clazz, string methodName, string signature, object arg0)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteWithSignatureArray<TArrayType>(IJavaType, string, string, object, object)
Invokes static method methodName on clazz with 2 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteWithSignatureArray<TArrayType>(IJavaType clazz, string methodName, string signature, object arg0, object arg1)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteWithSignatureArray<TArrayType>(IJavaType, string, string, object, object, object)
Invokes static method methodName on clazz with 3 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteWithSignatureArray<TArrayType>(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteWithSignatureArray<TArrayType>(IJavaType, string, string, object, object, object, object)
Invokes static method methodName on clazz with 4 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteWithSignatureArray<TArrayType>(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteWithSignatureArray<TArrayType>(IJavaType, string, string, object, object, object, object, object)
Invokes static method methodName on clazz with 5 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteWithSignatureArray<TArrayType>(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteWithSignatureArray<TArrayType>(IJavaType, string, string, object, object, object, object, object, object)
Invokes static method methodName on clazz with 6 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteWithSignatureArray<TArrayType>(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteWithSignatureArray<TArrayType>(IJavaType, string, string, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 7 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteWithSignatureArray<TArrayType>(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteWithSignatureArray<TArrayType>(IJavaType, string, string, object, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 8 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteWithSignatureArray<TArrayType>(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteWithSignatureArray<TArrayType>(IJavaType, string, string, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 9 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteWithSignatureArray<TArrayType>(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteWithSignatureArray<TArrayType>(IJavaType, string, string, object, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 10 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteWithSignatureArray<TArrayType>(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
arg9objectArgument 9.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteWithSignatureArray<TArrayType>(IJavaType, string, string, params object[])
Statically executes the method identified by methodName and
signature on clazz and returns the result
as an array of TArrayType.
public static TArrayType[] SExecuteWithSignatureArray<TArrayType>(IJavaType clazz, string methodName, string signature, params object[] args)
Parameters
clazzIJavaTypeThe IJavaType on which the static method shall be executed.
methodNamestringThe name of the static method to execute.
signaturestringThe JVM method signature used to disambiguate overloads.
argsobject[]The arguments to pass to the method.
Returns
- TArrayType[]
An array of
TArrayType, or null if the method returns null or an empty JVM array reference.
Type Parameters
TArrayTypeThe expected element type of the returned array. Can be a primitive type, a IJVMBridgeBase implementation, or any other type compatible with the JVM array element type.
SExecuteWithSignatureArray<TArrayType>(string, string)
Invokes static method methodName on the static BridgeClazz of TClass with 0 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteWithSignatureArray<TArrayType>(string methodName, string signature)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteWithSignatureArray<TArrayType>(string, string, object)
Invokes static method methodName on the static BridgeClazz of TClass with 1 argument and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteWithSignatureArray<TArrayType>(string methodName, string signature, object arg0)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteWithSignatureArray<TArrayType>(string, string, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 2 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteWithSignatureArray<TArrayType>(string methodName, string signature, object arg0, object arg1)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteWithSignatureArray<TArrayType>(string, string, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 3 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteWithSignatureArray<TArrayType>(string methodName, string signature, object arg0, object arg1, object arg2)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteWithSignatureArray<TArrayType>(string, string, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 4 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteWithSignatureArray<TArrayType>(string methodName, string signature, object arg0, object arg1, object arg2, object arg3)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteWithSignatureArray<TArrayType>(string, string, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 5 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteWithSignatureArray<TArrayType>(string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteWithSignatureArray<TArrayType>(string, string, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 6 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteWithSignatureArray<TArrayType>(string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteWithSignatureArray<TArrayType>(string, string, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 7 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteWithSignatureArray<TArrayType>(string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteWithSignatureArray<TArrayType>(string, string, object, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 8 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteWithSignatureArray<TArrayType>(string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteWithSignatureArray<TArrayType>(string, string, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 9 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteWithSignatureArray<TArrayType>(string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteWithSignatureArray<TArrayType>(string, string, object, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 10 arguments and returns the JVM array result as a managed array.
public static TArrayType[] SExecuteWithSignatureArray<TArrayType>(string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
arg9objectArgument 9.
Returns
- TArrayType[]
A managed array of
TArrayType, or null.
Type Parameters
TArrayTypeThe element type of the returned array.
SExecuteWithSignatureArray<TArrayType>(string, string, params object[])
Statically executes the method identified by methodName and
signature on the current class and returns the result as an
array of TArrayType.
public static TArrayType[] SExecuteWithSignatureArray<TArrayType>(string methodName, string signature, params object[] args)
Parameters
methodNamestringThe name of the static method to execute.
signaturestringThe JVM method signature used to disambiguate overloads.
argsobject[]The arguments to pass to the method.
Returns
- TArrayType[]
An array of
TArrayType, or null if the method returns null or an empty JVM array reference.
Type Parameters
TArrayTypeThe expected element type of the returned array. Can be a primitive type, a IJVMBridgeBase implementation, or any other type compatible with the JVM array element type.
SExecuteWithSignatureStream<TArrayType>(IJavaType, string, string)
Invokes static method methodName on clazz with 0 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(IJavaType clazz, string methodName, string signature) where TArrayType : unmanaged
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteWithSignatureStream<TArrayType>(IJavaType, string, string, object)
Invokes static method methodName on clazz with 1 argument and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(IJavaType clazz, string methodName, string signature, object arg0) where TArrayType : unmanaged
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteWithSignatureStream<TArrayType>(IJavaType, string, string, object, object)
Invokes static method methodName on clazz with 2 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(IJavaType clazz, string methodName, string signature, object arg0, object arg1) where TArrayType : unmanaged
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteWithSignatureStream<TArrayType>(IJavaType, string, string, object, object, object)
Invokes static method methodName on clazz with 3 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2) where TArrayType : unmanaged
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteWithSignatureStream<TArrayType>(IJavaType, string, string, object, object, object, object)
Invokes static method methodName on clazz with 4 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3) where TArrayType : unmanaged
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteWithSignatureStream<TArrayType>(IJavaType, string, string, object, object, object, object, object)
Invokes static method methodName on clazz with 5 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4) where TArrayType : unmanaged
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteWithSignatureStream<TArrayType>(IJavaType, string, string, object, object, object, object, object, object)
Invokes static method methodName on clazz with 6 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5) where TArrayType : unmanaged
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteWithSignatureStream<TArrayType>(IJavaType, string, string, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 7 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6) where TArrayType : unmanaged
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteWithSignatureStream<TArrayType>(IJavaType, string, string, object, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 8 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7) where TArrayType : unmanaged
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteWithSignatureStream<TArrayType>(IJavaType, string, string, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 9 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8) where TArrayType : unmanaged
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteWithSignatureStream<TArrayType>(IJavaType, string, string, object, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 10 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9) where TArrayType : unmanaged
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
arg9objectArgument 9.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteWithSignatureStream<TArrayType>(IJavaType, string, string, params object[])
Statically executes the method identified by methodName and
signature on clazz and returns the result
as a JCOBridgeStream<T> backed by the JVM primitive
array returned by the method.
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(IJavaType clazz, string methodName, string signature, params object[] args) where TArrayType : unmanaged
Parameters
clazzIJavaTypeThe IJavaType on which the static method shall be executed.
methodNamestringThe name of the static method to execute.
signaturestringThe JVM method signature used to disambiguate overloads.
argsobject[]The arguments to pass to the method.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> that provides stream access to the JVM array data, or null if the method returns null or an empty JVM array reference. Dispose the returned stream as soon as it is no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type corresponding to the JVM array element type. Supported types are: bool, byte, short, int, long, float, double and char. Must match the actual JVM array element type; a mismatch throws InvalidOperationException at runtime.
SExecuteWithSignatureStream<TArrayType>(string, string)
Invokes static method methodName on the static BridgeClazz of TClass with 0 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(string methodName, string signature) where TArrayType : unmanaged
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteWithSignatureStream<TArrayType>(string, string, object)
Invokes static method methodName on the static BridgeClazz of TClass with 1 argument and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(string methodName, string signature, object arg0) where TArrayType : unmanaged
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteWithSignatureStream<TArrayType>(string, string, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 2 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(string methodName, string signature, object arg0, object arg1) where TArrayType : unmanaged
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteWithSignatureStream<TArrayType>(string, string, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 3 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(string methodName, string signature, object arg0, object arg1, object arg2) where TArrayType : unmanaged
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteWithSignatureStream<TArrayType>(string, string, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 4 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(string methodName, string signature, object arg0, object arg1, object arg2, object arg3) where TArrayType : unmanaged
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteWithSignatureStream<TArrayType>(string, string, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 5 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4) where TArrayType : unmanaged
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteWithSignatureStream<TArrayType>(string, string, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 6 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5) where TArrayType : unmanaged
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteWithSignatureStream<TArrayType>(string, string, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 7 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6) where TArrayType : unmanaged
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteWithSignatureStream<TArrayType>(string, string, object, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 8 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7) where TArrayType : unmanaged
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteWithSignatureStream<TArrayType>(string, string, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 9 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8) where TArrayType : unmanaged
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteWithSignatureStream<TArrayType>(string, string, object, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 10 arguments and returns a zero-copy stream over the JVM primitive array result.
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9) where TArrayType : unmanaged
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
arg9objectArgument 9.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type matching the JVM array element type.
SExecuteWithSignatureStream<TArrayType>(string, string, params object[])
Statically executes the method identified by methodName and
signature on the current class and returns the result as a
JCOBridgeStream<T> backed by the JVM primitive array
returned by the method.
public static JCOBridgeStream<TArrayType> SExecuteWithSignatureStream<TArrayType>(string methodName, string signature, params object[] args) where TArrayType : unmanaged
Parameters
methodNamestringThe name of the static method to execute.
signaturestringThe JVM method signature used to disambiguate overloads.
argsobject[]The arguments to pass to the method.
Returns
- JCOBridgeStream<TArrayType>
A JCOBridgeStream<T> that provides stream access to the JVM array data, or null if the method returns null or an empty JVM array reference. Dispose the returned stream as soon as it is no longer needed.
Type Parameters
TArrayTypeThe .NET primitive type corresponding to the JVM array element type. Supported types are: bool, byte, short, int, long, float, double and char. Must match the actual JVM array element type; a mismatch throws InvalidOperationException at runtime.
SExecuteWithSignature<TReturn>(IJavaType, string, string)
Invokes static method methodName on clazz with 0 arguments, returning TReturn.
public static TReturn SExecuteWithSignature<TReturn>(IJavaType clazz, string methodName, string signature)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecuteWithSignature<TReturn>(IJavaType, string, string, object)
Invokes static method methodName on clazz with 1 argument, returning TReturn.
public static TReturn SExecuteWithSignature<TReturn>(IJavaType clazz, string methodName, string signature, object arg0)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecuteWithSignature<TReturn>(IJavaType, string, string, object, object)
Invokes static method methodName on clazz with 2 arguments, returning TReturn.
public static TReturn SExecuteWithSignature<TReturn>(IJavaType clazz, string methodName, string signature, object arg0, object arg1)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecuteWithSignature<TReturn>(IJavaType, string, string, object, object, object)
Invokes static method methodName on clazz with 3 arguments, returning TReturn.
public static TReturn SExecuteWithSignature<TReturn>(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecuteWithSignature<TReturn>(IJavaType, string, string, object, object, object, object)
Invokes static method methodName on clazz with 4 arguments, returning TReturn.
public static TReturn SExecuteWithSignature<TReturn>(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecuteWithSignature<TReturn>(IJavaType, string, string, object, object, object, object, object)
Invokes static method methodName on clazz with 5 arguments, returning TReturn.
public static TReturn SExecuteWithSignature<TReturn>(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecuteWithSignature<TReturn>(IJavaType, string, string, object, object, object, object, object, object)
Invokes static method methodName on clazz with 6 arguments, returning TReturn.
public static TReturn SExecuteWithSignature<TReturn>(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecuteWithSignature<TReturn>(IJavaType, string, string, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 7 arguments, returning TReturn.
public static TReturn SExecuteWithSignature<TReturn>(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecuteWithSignature<TReturn>(IJavaType, string, string, object, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 8 arguments, returning TReturn.
public static TReturn SExecuteWithSignature<TReturn>(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecuteWithSignature<TReturn>(IJavaType, string, string, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 9 arguments, returning TReturn.
public static TReturn SExecuteWithSignature<TReturn>(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecuteWithSignature<TReturn>(IJavaType, string, string, object, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 10 arguments, returning TReturn.
public static TReturn SExecuteWithSignature<TReturn>(IJavaType clazz, string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
arg9objectArgument 9.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecuteWithSignature<TReturn>(IJavaType, string, string, params object[])
Executes a static method which returns a bridged class
public static TReturn SExecuteWithSignature<TReturn>(IJavaType clazz, string methodName, string signature, params object[] args)
Parameters
clazzIJavaTypeThe IJavaType where the method shall be executed
methodNamestringThe instance method to be invoked
signaturestringMethod signature to use in search criteria
argsobject[]Possible arguments
Returns
- TReturn
The initilized
TReturnor null
Type Parameters
TReturnThe argument type to be used
SExecuteWithSignature<TReturn>(string, string)
Invokes static method methodName on the static BridgeClazz of TClass with 0 arguments, returning TReturn.
public static TReturn SExecuteWithSignature<TReturn>(string methodName, string signature)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecuteWithSignature<TReturn>(string, string, object)
Invokes static method methodName on the static BridgeClazz of TClass with 1 argument, returning TReturn.
public static TReturn SExecuteWithSignature<TReturn>(string methodName, string signature, object arg0)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecuteWithSignature<TReturn>(string, string, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 2 arguments, returning TReturn.
public static TReturn SExecuteWithSignature<TReturn>(string methodName, string signature, object arg0, object arg1)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecuteWithSignature<TReturn>(string, string, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 3 arguments, returning TReturn.
public static TReturn SExecuteWithSignature<TReturn>(string methodName, string signature, object arg0, object arg1, object arg2)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecuteWithSignature<TReturn>(string, string, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 4 arguments, returning TReturn.
public static TReturn SExecuteWithSignature<TReturn>(string methodName, string signature, object arg0, object arg1, object arg2, object arg3)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecuteWithSignature<TReturn>(string, string, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 5 arguments, returning TReturn.
public static TReturn SExecuteWithSignature<TReturn>(string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecuteWithSignature<TReturn>(string, string, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 6 arguments, returning TReturn.
public static TReturn SExecuteWithSignature<TReturn>(string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecuteWithSignature<TReturn>(string, string, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 7 arguments, returning TReturn.
public static TReturn SExecuteWithSignature<TReturn>(string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecuteWithSignature<TReturn>(string, string, object, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 8 arguments, returning TReturn.
public static TReturn SExecuteWithSignature<TReturn>(string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecuteWithSignature<TReturn>(string, string, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 9 arguments, returning TReturn.
public static TReturn SExecuteWithSignature<TReturn>(string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecuteWithSignature<TReturn>(string, string, object, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 10 arguments, returning TReturn.
public static TReturn SExecuteWithSignature<TReturn>(string methodName, string signature, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9)
Parameters
methodNamestringThe name of the static method to invoke.
signaturestringThe JNI signature used to resolve the overload.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
arg9objectArgument 9.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecuteWithSignature<TReturn>(string, string, params object[])
Executes a static method which returns a bridged class
public static TReturn SExecuteWithSignature<TReturn>(string methodName, string signature, params object[] args)
Parameters
methodNamestringThe instance method to be invoked
signaturestringMethod signature to use in search criteria
argsobject[]Possible arguments
Returns
- TReturn
The initilized
TReturnor null
Type Parameters
TReturnThe argument type to be used
SExecuteWithSignature<TReturn>(Type, IJavaType, string, string, params object[])
Executes a static method which returns a bridged class
public static TReturn SExecuteWithSignature<TReturn>(Type type, IJavaType clazz, string methodName, string signature, params object[] args)
Parameters
typeTypeThe Type implementing IJVMBridgeBase to be instantiated
clazzIJavaTypeThe IJavaType where the method shall be executed
methodNamestringThe instance method to be invoked
signaturestringMethod signature to use in search criteria
argsobject[]Possible arguments
Returns
- TReturn
The initilized
TReturnor null
Type Parameters
TReturnThe return type: in some condition can be helpful to return a different
TReturn
SExecuteWithSignature<TReturn>(Type, string, string, params object[])
Executes a static method which returns a bridged class
public static TReturn SExecuteWithSignature<TReturn>(Type type, string methodName, string signature, params object[] args)
Parameters
typeTypeThe Type implementing IJVMBridgeBase to be instantiated
methodNamestringThe instance method to be invoked
signaturestringMethod signature to use in search criteria
argsobject[]Possible arguments
Returns
- TReturn
The initilized
TReturnor null
Type Parameters
TReturnThe return type: in some condition can be helpful to return a different
TReturn
SExecuteWithSignature<TNewClass, TReturn>(IJavaType, string, string, params object[])
Executes a static method which returns a bridged class
public static TReturn SExecuteWithSignature<TNewClass, TReturn>(IJavaType clazz, string methodName, string signature, params object[] args) where TNewClass : IJVMBridgeBase, TReturn
Parameters
clazzIJavaTypeThe IJavaType where the method shall be executed
methodNamestringThe instance method to be invoked
signaturestringMethod signature to use in search criteria
argsobject[]Possible arguments
Returns
- TReturn
The initilized
TReturnor null
Type Parameters
TNewClassThe argument type to be used
TReturnThe return type: in some condition can be helpful to return a different
TReturn
SExecuteWithSignature<TNewClass, TReturn>(string, string, params object[])
Executes a static method which returns a bridged class
public static TReturn SExecuteWithSignature<TNewClass, TReturn>(string methodName, string signature, params object[] args) where TNewClass : IJVMBridgeBase, TReturn
Parameters
methodNamestringThe instance method to be invoked
signaturestringMethod signature to use in search criteria
argsobject[]Possible arguments
Returns
- TReturn
The initilized
TReturnor null
Type Parameters
TNewClassThe argument type to be used
TReturnThe return type: in some condition can be helpful to return a different
TReturn
SExecuteWithSignature<TReturn, TConverter>(Type, IJavaType, string, string, params object[])
Executes a static method which returns a bridged class
public static TReturn SExecuteWithSignature<TReturn, TConverter>(Type type, IJavaType clazz, string methodName, string signature, params object[] args) where TConverter : IJVMBridgeBaseConvert<object, TReturn>, new()
Parameters
typeTypeThe Type implementing IJVMBridgeBase to be instantiated
clazzIJavaTypeThe IJavaType where the method shall be executed
methodNamestringThe instance method to be invoked
signaturestringMethod signature to use in search criteria
argsobject[]Possible arguments
Returns
- TReturn
The initilized
TReturnor null
Type Parameters
TReturnThe return type: in some condition can be helpful to return a different
TReturnTConverterThe converter to be used to convert from instance of
typetoTReturn
SExecuteWithSignature<TReturn, TConverter>(Type, string, string, params object[])
Executes a static method which returns a bridged class
public static TReturn SExecuteWithSignature<TReturn, TConverter>(Type type, string methodName, string signature, params object[] args) where TConverter : IJVMBridgeBaseConvert<object, TReturn>, new()
Parameters
typeTypeThe Type implementing IJVMBridgeBase to be instantiated
methodNamestringThe instance method to be invoked
signaturestringMethod signature to use in search criteria
argsobject[]Possible arguments
Returns
- TReturn
The initilized
TReturnor null
Type Parameters
TReturnThe return type: in some condition can be helpful to return a different
TReturnTConverterThe converter to be used to convert from instance of
typetoTReturn
SExecuteWithSignature<TNewClass, TReturn, TConverter>(IJavaType, string, string, params object[])
Executes a static method which returns a bridged class
public static TReturn SExecuteWithSignature<TNewClass, TReturn, TConverter>(IJavaType clazz, string methodName, string signature, params object[] args) where TNewClass : IJVMBridgeBase where TConverter : IJVMBridgeBaseConvert<TNewClass, TReturn>, new()
Parameters
clazzIJavaTypeThe IJavaType where the method shall be executed
methodNamestringThe instance method to be invoked
signaturestringMethod signature to use in search criteria
argsobject[]Possible arguments
Returns
- TReturn
The initilized
TReturnor null
Type Parameters
TNewClassThe argument type to be used
TReturnThe return type: in some condition can be helpful to return a different
TReturnTConverterThe converter to be used to convert from
TNewClasstoTReturn
SExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])
Executes a static method which returns a bridged class
public static TReturn SExecuteWithSignature<TNewClass, TReturn, TConverter>(string methodName, string signature, params object[] args) where TNewClass : IJVMBridgeBase where TConverter : IJVMBridgeBaseConvert<TNewClass, TReturn>, new()
Parameters
methodNamestringThe instance method to be invoked
signaturestringMethod signature to use in search criteria
argsobject[]Possible arguments
Returns
- TReturn
The initilized
TReturnor null
Type Parameters
TNewClassThe argument type to be used
TReturnThe return type: in some condition can be helpful to return a different
TReturnTConverterThe converter to be used to convert from
TNewClasstoTReturn
SExecute<TReturn>(IJavaType, string)
Invokes static method methodName on clazz with 0 arguments, returning TReturn.
public static TReturn SExecute<TReturn>(IJavaType clazz, string methodName)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecute<TReturn>(IJavaType, string, object)
Invokes static method methodName on clazz with 1 argument, returning TReturn.
public static TReturn SExecute<TReturn>(IJavaType clazz, string methodName, object arg0)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecute<TReturn>(IJavaType, string, object, object)
Invokes static method methodName on clazz with 2 arguments, returning TReturn.
public static TReturn SExecute<TReturn>(IJavaType clazz, string methodName, object arg0, object arg1)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecute<TReturn>(IJavaType, string, object, object, object)
Invokes static method methodName on clazz with 3 arguments, returning TReturn.
public static TReturn SExecute<TReturn>(IJavaType clazz, string methodName, object arg0, object arg1, object arg2)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecute<TReturn>(IJavaType, string, object, object, object, object)
Invokes static method methodName on clazz with 4 arguments, returning TReturn.
public static TReturn SExecute<TReturn>(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecute<TReturn>(IJavaType, string, object, object, object, object, object)
Invokes static method methodName on clazz with 5 arguments, returning TReturn.
public static TReturn SExecute<TReturn>(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3, object arg4)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecute<TReturn>(IJavaType, string, object, object, object, object, object, object)
Invokes static method methodName on clazz with 6 arguments, returning TReturn.
public static TReturn SExecute<TReturn>(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecute<TReturn>(IJavaType, string, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 7 arguments, returning TReturn.
public static TReturn SExecute<TReturn>(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecute<TReturn>(IJavaType, string, object, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 8 arguments, returning TReturn.
public static TReturn SExecute<TReturn>(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecute<TReturn>(IJavaType, string, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 9 arguments, returning TReturn.
public static TReturn SExecute<TReturn>(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecute<TReturn>(IJavaType, string, object, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on clazz with 10 arguments, returning TReturn.
public static TReturn SExecute<TReturn>(IJavaType clazz, string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9)
Parameters
clazzIJavaTypeThe IJavaType that owns the static method.
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
arg9objectArgument 9.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecute<TReturn>(IJavaType, string, params object[])
Executes a static method which returns a bridged class
public static TReturn SExecute<TReturn>(IJavaType clazz, string methodName, params object[] args)
Parameters
clazzIJavaTypeThe IJavaType where the method shall be executed
methodNamestringThe instance method to be invoked
argsobject[]Possible arguments
Returns
- TReturn
The initilized
TReturnor null
Type Parameters
TReturnThe argument type to be used
SExecute<TReturn>(string)
Invokes static method methodName on the static BridgeClazz of TClass with 0 arguments, returning TReturn.
public static TReturn SExecute<TReturn>(string methodName)
Parameters
methodNamestringThe name of the static method to invoke.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecute<TReturn>(string, object)
Invokes static method methodName on the static BridgeClazz of TClass with 1 argument, returning TReturn.
public static TReturn SExecute<TReturn>(string methodName, object arg0)
Parameters
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecute<TReturn>(string, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 2 arguments, returning TReturn.
public static TReturn SExecute<TReturn>(string methodName, object arg0, object arg1)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecute<TReturn>(string, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 3 arguments, returning TReturn.
public static TReturn SExecute<TReturn>(string methodName, object arg0, object arg1, object arg2)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecute<TReturn>(string, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 4 arguments, returning TReturn.
public static TReturn SExecute<TReturn>(string methodName, object arg0, object arg1, object arg2, object arg3)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecute<TReturn>(string, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 5 arguments, returning TReturn.
public static TReturn SExecute<TReturn>(string methodName, object arg0, object arg1, object arg2, object arg3, object arg4)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecute<TReturn>(string, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 6 arguments, returning TReturn.
public static TReturn SExecute<TReturn>(string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecute<TReturn>(string, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 7 arguments, returning TReturn.
public static TReturn SExecute<TReturn>(string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecute<TReturn>(string, object, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 8 arguments, returning TReturn.
public static TReturn SExecute<TReturn>(string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecute<TReturn>(string, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 9 arguments, returning TReturn.
public static TReturn SExecute<TReturn>(string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecute<TReturn>(string, object, object, object, object, object, object, object, object, object, object)
Invokes static method methodName on the static BridgeClazz of TClass with 10 arguments, returning TReturn.
public static TReturn SExecute<TReturn>(string methodName, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5, object arg6, object arg7, object arg8, object arg9)
Parameters
methodNamestringThe name of the static method to invoke.
arg0objectArgument 0.
arg1objectArgument 1.
arg2objectArgument 2.
arg3objectArgument 3.
arg4objectArgument 4.
arg5objectArgument 5.
arg6objectArgument 6.
arg7objectArgument 7.
arg8objectArgument 8.
arg9objectArgument 9.
Returns
- TReturn
The method return value converted to
TReturn.
Type Parameters
TReturnThe expected return type.
SExecute<TReturn>(string, params object[])
Executes a static method which returns a bridged class
public static TReturn SExecute<TReturn>(string methodName, params object[] args)
Parameters
Returns
- TReturn
The initilized
TReturnor null
Type Parameters
TReturnThe argument type to be used
SExecute<TReturn>(Type, IJavaType, string, params object[])
Executes a static method which returns a bridged class
public static TReturn SExecute<TReturn>(Type type, IJavaType clazz, string methodName, params object[] args)
Parameters
typeTypeThe Type implementing IJVMBridgeBase to be instantiated
clazzIJavaTypeThe IJavaType where the method shall be executed
methodNamestringThe instance method to be invoked
argsobject[]Possible arguments
Returns
- TReturn
The initilized
TReturnor null
Type Parameters
TReturnThe return type: in some condition can be helpful to return a different
TReturn
SExecute<TReturn>(Type, string, params object[])
Executes a static method which returns a bridged class
public static TReturn SExecute<TReturn>(Type type, string methodName, params object[] args)
Parameters
typeTypeThe Type implementing IJVMBridgeBase to be instantiated
methodNamestringThe instance method to be invoked
argsobject[]Possible arguments
Returns
- TReturn
The initilized
TReturnor null
Type Parameters
TReturnThe return type: in some condition can be helpful to return a different
TReturn
SExecute<TNewClass, TReturn>(IJavaType, string, params object[])
Executes a static method which returns a bridged class
public static TReturn SExecute<TNewClass, TReturn>(IJavaType clazz, string methodName, params object[] args) where TNewClass : IJVMBridgeBase, TReturn
Parameters
clazzIJavaTypeThe IJavaType where the method shall be executed
methodNamestringThe instance method to be invoked
argsobject[]Possible arguments
Returns
- TReturn
The initilized
TReturnor null
Type Parameters
TNewClassThe argument type to be used
TReturnThe return type: in some condition can be helpful to return a different
TReturn
SExecute<TNewClass, TReturn>(string, params object[])
Executes a static method which returns a bridged class
public static TReturn SExecute<TNewClass, TReturn>(string methodName, params object[] args) where TNewClass : IJVMBridgeBase, TReturn
Parameters
Returns
- TReturn
The initilized
TReturnor null
Type Parameters
TNewClassThe argument type to be used
TReturnThe return type: in some condition can be helpful to return a different
TReturn
SExecute<TReturn, TConverter>(Type, IJavaType, string, params object[])
Executes a static method which returns a bridged class
public static TReturn SExecute<TReturn, TConverter>(Type type, IJavaType clazz, string methodName, params object[] args) where TConverter : IJVMBridgeBaseConvert<object, TReturn>, new()
Parameters
typeTypeThe Type implementing IJVMBridgeBase to be instantiated
clazzIJavaTypeThe IJavaType where the method shall be executed
methodNamestringThe instance method to be invoked
argsobject[]Possible arguments
Returns
- TReturn
The initilized
TReturnor null
Type Parameters
TReturnThe return type: in some condition can be helpful to return a different
TReturnTConverterThe converter to be used to convert from instance of
typetoTReturn
SExecute<TReturn, TConverter>(Type, string, params object[])
Executes a static method which returns a bridged class
public static TReturn SExecute<TReturn, TConverter>(Type type, string methodName, params object[] args) where TConverter : IJVMBridgeBaseConvert<object, TReturn>, new()
Parameters
typeTypeThe Type implementing IJVMBridgeBase to be instantiated
methodNamestringThe instance method to be invoked
argsobject[]Possible arguments
Returns
- TReturn
The initilized
TReturnor null
Type Parameters
TReturnThe return type: in some condition can be helpful to return a different
TReturnTConverterThe converter to be used to convert from instance of
typetoTReturn
SExecute<TNewClass, TReturn, TConverter>(IJavaType, string, params object[])
Executes a static method which returns a bridged class
public static TReturn SExecute<TNewClass, TReturn, TConverter>(IJavaType clazz, string methodName, params object[] args) where TNewClass : IJVMBridgeBase where TConverter : IJVMBridgeBaseConvert<TNewClass, TReturn>, new()
Parameters
clazzIJavaTypeThe IJavaType where the method shall be executed
methodNamestringThe instance method to be invoked
argsobject[]Possible arguments
Returns
- TReturn
The initilized
TReturnor null
Type Parameters
TNewClassThe argument type to be used
TReturnThe return type: in some condition can be helpful to return a different
TReturnTConverterThe converter to be used to convert from
TNewClasstoTReturn
SExecute<TNewClass, TReturn, TConverter>(string, params object[])
Executes a static method which returns a bridged class
public static TReturn SExecute<TNewClass, TReturn, TConverter>(string methodName, params object[] args) where TNewClass : IJVMBridgeBase where TConverter : IJVMBridgeBaseConvert<TNewClass, TReturn>, new()
Parameters
Returns
- TReturn
The initilized
TReturnor null
Type Parameters
TNewClassThe argument type to be used
TReturnThe return type: in some condition can be helpful to return a different
TReturnTConverterThe converter to be used to convert from
TNewClasstoTReturn
SGetField(IJavaType, string)
Gets the value of a static field on clazz identified by fieldName
public static object SGetField(IJavaType clazz, string fieldName)
Parameters
Returns
- object
The field value
SGetField(string)
Gets the value of a static field identified by fieldName
public static object SGetField(string fieldName)
Parameters
fieldNamestringThe field name to get
Returns
- object
The field value
SGetFieldArray<TReturn>(IJavaType, string)
Reads the static field identified by fieldName on
clazz and returns its content as an array of TReturn.
public static TReturn[] SGetFieldArray<TReturn>(IJavaType clazz, string fieldName)
Parameters
clazzIJavaTypeThe IJavaType on which the static field shall be read.
fieldNamestringThe name of the static field to read.
Returns
Type Parameters
TReturnThe expected element type of the returned array. Can be a primitive type, a IJVMBridgeBase implementation, or any other type compatible with the JVM array element type.
SGetFieldArray<TReturn>(string)
Reads the static field identified by fieldName on the current
class and returns its content as an array of TReturn.
public static TReturn[] SGetFieldArray<TReturn>(string fieldName)
Parameters
fieldNamestringThe name of the static field to read.
Returns
Type Parameters
TReturnThe expected element type of the returned array. Can be a primitive type, a IJVMBridgeBase implementation, or any other type compatible with the JVM array element type.
SGetFieldStream<TReturn>(IJavaType, string)
Reads the static field identified by fieldName on
clazz and returns its value as a
JCOBridgeStream<T> backed by the JVM primitive array
stored in the field.
public static JCOBridgeStream<TReturn> SGetFieldStream<TReturn>(IJavaType clazz, string fieldName) where TReturn : unmanaged
Parameters
clazzIJavaTypeThe IJavaType on which the static field shall be read.
fieldNamestringThe name of the static field to read.
Returns
- JCOBridgeStream<TReturn>
A JCOBridgeStream<T> that provides stream access to the JVM array data, or null if the field contains null or an empty JVM array reference. Dispose the returned stream as soon as it is no longer needed.
Type Parameters
TReturnThe .NET primitive type corresponding to the JVM array element type. Supported types are: bool, byte, short, int, long, float, double and char. Must match the actual JVM array element type; a mismatch throws InvalidOperationException at runtime.
SGetFieldStream<TReturn>(string)
Reads the static field identified by fieldName on the
current class and returns its value as a JCOBridgeStream<T>
backed by the JVM primitive array stored in the field.
public static JCOBridgeStream<TReturn> SGetFieldStream<TReturn>(string fieldName) where TReturn : unmanaged
Parameters
fieldNamestringThe name of the static field to read.
Returns
- JCOBridgeStream<TReturn>
A JCOBridgeStream<T> that provides stream access to the JVM array data, or null if the field contains null or an empty JVM array reference. Dispose the returned stream as soon as it is no longer needed.
Type Parameters
TReturnThe .NET primitive type corresponding to the JVM array element type. Supported types are: bool, byte, short, int, long, float, double and char. Must match the actual JVM array element type; a mismatch throws InvalidOperationException at runtime.
SGetField<TReturn>(IJavaType, string)
Gets the value of a static field on clazz identified by fieldName
public static TReturn SGetField<TReturn>(IJavaType clazz, string fieldName)
Parameters
Returns
- TReturn
The field value
Type Parameters
TReturnThe return type expected: a type inherited from IJVMBridgeBase, IJavaObject, Enum or primitive types
SGetField<TReturn>(string)
Gets the value of a static field identified by fieldName
public static TReturn SGetField<TReturn>(string fieldName)
Parameters
fieldNamestringThe field name to get
Returns
- TReturn
The field value
Type Parameters
TReturnThe return type expected: a type inherited from IJVMBridgeBase, IJavaObject, Enum or primitive types
SSetField(IJavaType, string, object)
Sets the value of a static field on clazz identified by fieldName
public static void SSetField(IJavaType clazz, string fieldName, object val)
Parameters
clazzIJavaTypeThe IJavaType where the field shall be set
fieldNamestringThe field name to set
valobjectThe value to set on the field
SSetField(string, object)
Sets the value of a static field identified by fieldName
public static void SSetField(string fieldName, object val)
Parameters
SSetField<TValue>(IJavaType, string, TValue)
Sets the value of a static field on clazz identified by fieldName
public static void SSetField<TValue>(IJavaType clazz, string fieldName, TValue val)
Parameters
clazzIJavaTypeThe IJavaType where the field shall be set
fieldNamestringThe field name to set
valTValueThe value to set on the field
Type Parameters
TValueA type inherited from IJVMBridgeBase, IJavaObject, Enum or primitive types
SSetField<TValue>(string, TValue)
Sets the value of a static field identified by fieldName
public static void SSetField<TValue>(string fieldName, TValue val)
Parameters
fieldNamestringThe field name to set
valTValueThe value to set on the field
Type Parameters
TValueA type inherited from IJVMBridgeBase, IJavaObject, Enum or primitive types