Table of Contents

Class JVMBridgeBase<TClass>

Namespace
MASES.JCOBridge.C2JBridge
Assembly
C2JBridge.dll

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

TClass

A class inherited from JVMBridgeBase<TClass>

Inheritance
JVMBridgeBase<TClass>
Implements
Derived
Inherited Members
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

initializer IJVMBridgeBaseInitializer

An 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

arg0 object

Constructor argument 0.

JVMBridgeBase(object, object)

Initializes a new JVM instance of TClass with 2 arguments.

public JVMBridgeBase(object arg0, object arg1)

Parameters

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

JVMBridgeBase(object, object, object)

Initializes a new JVM instance of TClass with 3 arguments.

public JVMBridgeBase(object arg0, object arg1, object arg2)

Parameters

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor 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

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor 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

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor 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

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor 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

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor argument 5.

arg6 object

Constructor 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

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor argument 5.

arg6 object

Constructor argument 6.

arg7 object

Constructor 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

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor argument 5.

arg6 object

Constructor argument 6.

arg7 object

Constructor argument 7.

arg8 object

Constructor 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

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor argument 5.

arg6 object

Constructor argument 6.

arg7 object

Constructor argument 7.

arg8 object

Constructor argument 8.

arg9 object

Constructor argument 9.

JVMBridgeBase(params object[])

Used to create instance of IJVMBridgeBase

public JVMBridgeBase(params object[] args)

Parameters

args object[]

The arguments of constructor

Properties

BridgeClazz

The IJavaType of the implementing class

public static IJavaType BridgeClazz { get; }

Property Value

IJavaType

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

args T[]

Possible arguments

Type Parameters

T

The argument type to be used

IsAssignableFrom(IJavaType)

Verify if this IJVMBridgeBase is assignable from clazz

public bool IsAssignableFrom(IJavaType clazz)

Parameters

clazz IJavaType

The IJavaType to be checked

Returns

bool

true if this IJavaType is assignable from clazz, otherwise false

IsAssignableFrom(string)

Verify if this IJVMBridgeBase is assignable from clazz

public bool IsAssignableFrom(string clazz)

Parameters

clazz string

The class name to be checked

Returns

bool

true if this class name is assignable from clazz, otherwise false

IsAssignableFrom<T>()

Verify if this IJVMBridgeBase is assignable from T

public bool IsAssignableFrom<T>() where T : IJVMBridgeBase

Returns

bool

true if this IJavaType is assignable from T, otherwise false

Type Parameters

T

A 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

arg0 object

Constructor 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

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

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

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor 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

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor 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

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor 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

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor 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

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor argument 5.

arg6 object

Constructor 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

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor argument 5.

arg6 object

Constructor argument 6.

arg7 object

Constructor 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

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor argument 5.

arg6 object

Constructor argument 6.

arg7 object

Constructor argument 7.

arg8 object

Constructor 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

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor argument 5.

arg6 object

Constructor argument 6.

arg7 object

Constructor argument 7.

arg8 object

Constructor argument 8.

arg9 object

Constructor 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

args object[]

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

className string

The Java class name in dot or slash form (e.g. java.lang.String.

Returns

TNewClass

A new TNewClass wrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.

Type Parameters

TNewClass

The 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

className string

The Java class name in dot or slash form (e.g. java.lang.String.

arg0 object

Constructor argument 0.

Returns

TNewClass

A new TNewClass wrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.

Type Parameters

TNewClass

The 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

className string

The Java class name in dot or slash form (e.g. java.lang.String.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

Returns

TNewClass

A new TNewClass wrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.

Type Parameters

TNewClass

The 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

className string

The Java class name in dot or slash form (e.g. java.lang.String.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

Returns

TNewClass

A new TNewClass wrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.

Type Parameters

TNewClass

The 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

className string

The Java class name in dot or slash form (e.g. java.lang.String.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

Returns

TNewClass

A new TNewClass wrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.

Type Parameters

TNewClass

The 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

className string

The Java class name in dot or slash form (e.g. java.lang.String.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

Returns

TNewClass

A new TNewClass wrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.

Type Parameters

TNewClass

The 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

className string

The Java class name in dot or slash form (e.g. java.lang.String.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor argument 5.

Returns

TNewClass

A new TNewClass wrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.

Type Parameters

TNewClass

The 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

className string

The Java class name in dot or slash form (e.g. java.lang.String.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor argument 5.

arg6 object

Constructor argument 6.

Returns

TNewClass

A new TNewClass wrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.

Type Parameters

TNewClass

The 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

className string

The Java class name in dot or slash form (e.g. java.lang.String.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor argument 5.

arg6 object

Constructor argument 6.

arg7 object

Constructor argument 7.

Returns

TNewClass

A new TNewClass wrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.

Type Parameters

TNewClass

The 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

className string

The Java class name in dot or slash form (e.g. java.lang.String.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor argument 5.

arg6 object

Constructor argument 6.

arg7 object

Constructor argument 7.

arg8 object

Constructor argument 8.

Returns

TNewClass

A new TNewClass wrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.

Type Parameters

TNewClass

The 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

className string

The Java class name in dot or slash form (e.g. java.lang.String.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor argument 5.

arg6 object

Constructor argument 6.

arg7 object

Constructor argument 7.

arg8 object

Constructor argument 8.

arg9 object

Constructor argument 9.

Returns

TNewClass

A new TNewClass wrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.

Type Parameters

TNewClass

The 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

className string

The class name in the dot or slash form (example are java.lang.Boolean or java/lang/Boolean)

args object[]

The argument for the class constructor

Returns

TNewClass

The instantiated TNewClass

Type Parameters

TNewClass

The 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

signature string

The 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

signature string

The JNI constructor signature to use for overload resolution.

arg0 object

Constructor 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

signature string

The JNI constructor signature to use for overload resolution.

arg0 object

Constructor argument 0.

arg1 object

Constructor 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

signature string

The JNI constructor signature to use for overload resolution.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor 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

signature string

The JNI constructor signature to use for overload resolution.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor 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

signature string

The JNI constructor signature to use for overload resolution.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor 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

signature string

The JNI constructor signature to use for overload resolution.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor 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

signature string

The JNI constructor signature to use for overload resolution.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor argument 5.

arg6 object

Constructor 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

signature string

The JNI constructor signature to use for overload resolution.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor argument 5.

arg6 object

Constructor argument 6.

arg7 object

Constructor 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

signature string

The JNI constructor signature to use for overload resolution.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor argument 5.

arg6 object

Constructor argument 6.

arg7 object

Constructor argument 7.

arg8 object

Constructor 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

signature string

The JNI constructor signature to use for overload resolution.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor argument 5.

arg6 object

Constructor argument 6.

arg7 object

Constructor argument 7.

arg8 object

Constructor argument 8.

arg9 object

Constructor 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

signature string

The JNI constructor signature to be used

args object[]

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

className string

The Java class name in dot or slash form.

signature string

The JNI constructor signature.

Returns

TNewClass

A new TNewClass wrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.

Type Parameters

TNewClass

The 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

className string

The Java class name in dot or slash form.

signature string

The JNI constructor signature.

arg0 object

Constructor argument 0.

Returns

TNewClass

A new TNewClass wrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.

Type Parameters

TNewClass

The 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

className string

The Java class name in dot or slash form.

signature string

The JNI constructor signature.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

Returns

TNewClass

A new TNewClass wrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.

Type Parameters

TNewClass

The 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

className string

The Java class name in dot or slash form.

signature string

The JNI constructor signature.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

Returns

TNewClass

A new TNewClass wrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.

Type Parameters

TNewClass

The 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

className string

The Java class name in dot or slash form.

signature string

The JNI constructor signature.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

Returns

TNewClass

A new TNewClass wrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.

Type Parameters

TNewClass

The 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

className string

The Java class name in dot or slash form.

signature string

The JNI constructor signature.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

Returns

TNewClass

A new TNewClass wrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.

Type Parameters

TNewClass

The 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

className string

The Java class name in dot or slash form.

signature string

The JNI constructor signature.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor argument 5.

Returns

TNewClass

A new TNewClass wrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.

Type Parameters

TNewClass

The 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

className string

The Java class name in dot or slash form.

signature string

The JNI constructor signature.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor argument 5.

arg6 object

Constructor argument 6.

Returns

TNewClass

A new TNewClass wrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.

Type Parameters

TNewClass

The 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

className string

The Java class name in dot or slash form.

signature string

The JNI constructor signature.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor argument 5.

arg6 object

Constructor argument 6.

arg7 object

Constructor argument 7.

Returns

TNewClass

A new TNewClass wrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.

Type Parameters

TNewClass

The 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

className string

The Java class name in dot or slash form.

signature string

The JNI constructor signature.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor argument 5.

arg6 object

Constructor argument 6.

arg7 object

Constructor argument 7.

arg8 object

Constructor argument 8.

Returns

TNewClass

A new TNewClass wrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.

Type Parameters

TNewClass

The 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

className string

The Java class name in dot or slash form.

signature string

The JNI constructor signature.

arg0 object

Constructor argument 0.

arg1 object

Constructor argument 1.

arg2 object

Constructor argument 2.

arg3 object

Constructor argument 3.

arg4 object

Constructor argument 4.

arg5 object

Constructor argument 5.

arg6 object

Constructor argument 6.

arg7 object

Constructor argument 7.

arg8 object

Constructor argument 8.

arg9 object

Constructor argument 9.

Returns

TNewClass

A new TNewClass wrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.

Type Parameters

TNewClass

The 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

className string

The class name in the dot or slash form (example are java.lang.Boolean or java/lang/Boolean)

signature string

The JNI constructor signature to be used

args object[]

The argument for the class constructor

Returns

TNewClass

The instantiated TNewClass

Type Parameters

TNewClass

The class implementing IJVMBridgeBase

SExecute(IJavaType, string)

Invokes static method methodName on clazz with 0 arguments.

public static object SExecute(IJavaType clazz, string methodName)

Parameters

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

Returns

object

The method return value, or null for void methods.

SExecute(IJavaType, string, object)

Invokes static method methodName on clazz with 1 argument.

public static object SExecute(IJavaType clazz, string methodName, object arg0)

Parameters

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

Returns

object

The method return value, or null for void methods.

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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

Returns

object

The method return value, or null for void methods.

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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

Returns

object

The method return value, or null for void methods.

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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

Returns

object

The method return value, or null for void methods.

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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

Returns

object

The method return value, or null for void methods.

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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

Returns

object

The method return value, or null for void methods.

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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

Returns

object

The method return value, or null for void methods.

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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

Returns

object

The method return value, or null for void methods.

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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

Returns

object

The method return value, or null for void methods.

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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

arg9 object

Argument 9.

Returns

object

The method return value, or null for void methods.

SExecute(IJavaType, string, params object[])

Executes a static method

public static object SExecute(IJavaType clazz, string methodName, params object[] args)

Parameters

clazz IJavaType

The IJavaType where the method shall be executed

methodName string

The instance method to be invoked

args object[]

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

methodName string

The name of the static method to invoke.

Returns

object

The method return value, or null for void methods.

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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

Returns

object

The method return value, or null for void methods.

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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

Returns

object

The method return value, or null for void methods.

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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

Returns

object

The method return value, or null for void methods.

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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

Returns

object

The method return value, or null for void methods.

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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

Returns

object

The method return value, or null for void methods.

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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

Returns

object

The method return value, or null for void methods.

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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

Returns

object

The method return value, or null for void methods.

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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

Returns

object

The method return value, or null for void methods.

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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

Returns

object

The method return value, or null for void methods.

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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

arg9 object

Argument 9.

Returns

object

The method return value, or null for void methods.

SExecute(string, params object[])

Executes a static method

public static object SExecute(string methodName, params object[] args)

Parameters

methodName string

The instance method to be invoked

args object[]

Possible arguments

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

type Type

The Type implementing IJVMBridgeBase to be instantiated

clazz IJavaType

The IJavaType where the method shall be executed

methodName string

The instance method to be invoked

args object[]

Possible arguments

Returns

IJVMBridgeBase

A newly initialized type or 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

type Type

The Type implementing IJVMBridgeBase to be instantiated

methodName string

The instance method to be invoked

args object[]

Possible arguments

Returns

IJVMBridgeBase

A newly initialized type or 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

arg9 object

Argument 9.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

clazz IJavaType

The IJavaType on which the static method shall be executed.

methodName string

The name of the static method to execute.

args object[]

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

TArrayType

The 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

methodName string

The name of the static method to invoke.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

arg9 object

Argument 9.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

methodName string

The name of the static method to execute.

args object[]

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

TArrayType

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The 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

TArrayType

The .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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

arg9 object

Argument 9.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

clazz IJavaType

The IJavaType on which the static method shall be executed.

methodName string

The name of the static method to execute.

args object[]

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

TArrayType

The .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

methodName string

The 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

TArrayType

The .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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

arg9 object

Argument 9.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

methodName string

The name of the static method to execute.

args object[]

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

TArrayType

The .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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

Returns

object

The method return value, or null for void methods.

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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

Returns

object

The method return value, or null for void methods.

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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

Returns

object

The method return value, or null for void methods.

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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

Returns

object

The method return value, or null for void methods.

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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

Returns

object

The method return value, or null for void methods.

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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

Returns

object

The method return value, or null for void methods.

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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

Returns

object

The method return value, or null for void methods.

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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

Returns

object

The method return value, or null for void methods.

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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

Returns

object

The method return value, or null for void methods.

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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

Returns

object

The method return value, or null for void methods.

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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

arg9 object

Argument 9.

Returns

object

The method return value, or null for void methods.

SExecuteWithSignature(IJavaType, string, string, params object[])

Executes a static method

public static object SExecuteWithSignature(IJavaType clazz, string methodName, string signature, params object[] args)

Parameters

clazz IJavaType

The IJavaType where the method shall be executed

methodName string

The instance method to be invoked

signature string

Method signature to use in search criteria

args object[]

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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

Returns

object

The method return value, or null for void methods.

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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

Returns

object

The method return value, or null for void methods.

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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

Returns

object

The method return value, or null for void methods.

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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

Returns

object

The method return value, or null for void methods.

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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

Returns

object

The method return value, or null for void methods.

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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

Returns

object

The method return value, or null for void methods.

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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

Returns

object

The method return value, or null for void methods.

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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

Returns

object

The method return value, or null for void methods.

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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

Returns

object

The method return value, or null for void methods.

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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

Returns

object

The method return value, or null for void methods.

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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

arg9 object

Argument 9.

Returns

object

The method return value, or null for void methods.

SExecuteWithSignature(string, string, params object[])

Executes a static method

public static object SExecuteWithSignature(string methodName, string signature, params object[] args)

Parameters

methodName string

The instance method to be invoked

signature string

Method signature to use in search criteria

args object[]

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

type Type

The Type implementing IJVMBridgeBase to be instantiated

clazz IJavaType

The IJavaType where the method shall be executed

methodName string

The instance method to be invoked

signature string

Method signature to use in search criteria

args object[]

Possible arguments

Returns

IJVMBridgeBase

A newly initialized type or 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

type Type

The Type implementing IJVMBridgeBase to be instantiated

methodName string

The instance method to be invoked

signature string

Method signature to use in search criteria

args object[]

Possible arguments

Returns

IJVMBridgeBase

A newly initialized type or 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

arg9 object

Argument 9.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

clazz IJavaType

The IJavaType on which the static method shall be executed.

methodName string

The name of the static method to execute.

signature string

The JVM method signature used to disambiguate overloads.

args object[]

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

TArrayType

The 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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

arg9 object

Argument 9.

Returns

TArrayType[]

A managed array of TArrayType, or null.

Type Parameters

TArrayType

The 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

methodName string

The name of the static method to execute.

signature string

The JVM method signature used to disambiguate overloads.

args object[]

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

TArrayType

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The 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

TArrayType

The .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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

arg9 object

Argument 9.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

clazz IJavaType

The IJavaType on which the static method shall be executed.

methodName string

The name of the static method to execute.

signature string

The JVM method signature used to disambiguate overloads.

args object[]

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

TArrayType

The .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

methodName string

The name of the static method to invoke.

signature string

The 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

TArrayType

The .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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

arg9 object

Argument 9.

Returns

JCOBridgeStream<TArrayType>

A JCOBridgeStream<T> backed by native JVM memory, or null. Dispose as soon as no longer needed.

Type Parameters

TArrayType

The .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

methodName string

The name of the static method to execute.

signature string

The JVM method signature used to disambiguate overloads.

args object[]

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

TArrayType

The .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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

arg9 object

Argument 9.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType where the method shall be executed

methodName string

The instance method to be invoked

signature string

Method signature to use in search criteria

args object[]

Possible arguments

Returns

TReturn

The initilized TReturn or null

Type Parameters

TReturn

The 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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

methodName string

The name of the static method to invoke.

signature string

The JNI signature used to resolve the overload.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

arg9 object

Argument 9.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

methodName string

The instance method to be invoked

signature string

Method signature to use in search criteria

args object[]

Possible arguments

Returns

TReturn

The initilized TReturn or null

Type Parameters

TReturn

The 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

type Type

The Type implementing IJVMBridgeBase to be instantiated

clazz IJavaType

The IJavaType where the method shall be executed

methodName string

The instance method to be invoked

signature string

Method signature to use in search criteria

args object[]

Possible arguments

Returns

TReturn

The initilized TReturn or null

Type Parameters

TReturn

The 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

type Type

The Type implementing IJVMBridgeBase to be instantiated

methodName string

The instance method to be invoked

signature string

Method signature to use in search criteria

args object[]

Possible arguments

Returns

TReturn

The initilized TReturn or null

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType where the method shall be executed

methodName string

The instance method to be invoked

signature string

Method signature to use in search criteria

args object[]

Possible arguments

Returns

TReturn

The initilized TReturn or null

Type Parameters

TNewClass

The argument type to be used

TReturn

The 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

methodName string

The instance method to be invoked

signature string

Method signature to use in search criteria

args object[]

Possible arguments

Returns

TReturn

The initilized TReturn or null

Type Parameters

TNewClass

The argument type to be used

TReturn

The 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

type Type

The Type implementing IJVMBridgeBase to be instantiated

clazz IJavaType

The IJavaType where the method shall be executed

methodName string

The instance method to be invoked

signature string

Method signature to use in search criteria

args object[]

Possible arguments

Returns

TReturn

The initilized TReturn or null

Type Parameters

TReturn

The return type: in some condition can be helpful to return a different TReturn

TConverter

The converter to be used to convert from instance of type to TReturn

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

type Type

The Type implementing IJVMBridgeBase to be instantiated

methodName string

The instance method to be invoked

signature string

Method signature to use in search criteria

args object[]

Possible arguments

Returns

TReturn

The initilized TReturn or null

Type Parameters

TReturn

The return type: in some condition can be helpful to return a different TReturn

TConverter

The converter to be used to convert from instance of type to TReturn

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

clazz IJavaType

The IJavaType where the method shall be executed

methodName string

The instance method to be invoked

signature string

Method signature to use in search criteria

args object[]

Possible arguments

Returns

TReturn

The initilized TReturn or null

Type Parameters

TNewClass

The argument type to be used

TReturn

The return type: in some condition can be helpful to return a different TReturn

TConverter

The converter to be used to convert from TNewClass to TReturn

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

methodName string

The instance method to be invoked

signature string

Method signature to use in search criteria

args object[]

Possible arguments

Returns

TReturn

The initilized TReturn or null

Type Parameters

TNewClass

The argument type to be used

TReturn

The return type: in some condition can be helpful to return a different TReturn

TConverter

The converter to be used to convert from TNewClass to TReturn

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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType that owns the static method.

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

arg9 object

Argument 9.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType where the method shall be executed

methodName string

The instance method to be invoked

args object[]

Possible arguments

Returns

TReturn

The initilized TReturn or null

Type Parameters

TReturn

The 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

methodName string

The name of the static method to invoke.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

methodName string

The name of the static method to invoke.

arg0 object

Argument 0.

arg1 object

Argument 1.

arg2 object

Argument 2.

arg3 object

Argument 3.

arg4 object

Argument 4.

arg5 object

Argument 5.

arg6 object

Argument 6.

arg7 object

Argument 7.

arg8 object

Argument 8.

arg9 object

Argument 9.

Returns

TReturn

The method return value converted to TReturn.

Type Parameters

TReturn

The 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

methodName string

The instance method to be invoked

args object[]

Possible arguments

Returns

TReturn

The initilized TReturn or null

Type Parameters

TReturn

The 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

type Type

The Type implementing IJVMBridgeBase to be instantiated

clazz IJavaType

The IJavaType where the method shall be executed

methodName string

The instance method to be invoked

args object[]

Possible arguments

Returns

TReturn

The initilized TReturn or null

Type Parameters

TReturn

The 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

type Type

The Type implementing IJVMBridgeBase to be instantiated

methodName string

The instance method to be invoked

args object[]

Possible arguments

Returns

TReturn

The initilized TReturn or null

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType where the method shall be executed

methodName string

The instance method to be invoked

args object[]

Possible arguments

Returns

TReturn

The initilized TReturn or null

Type Parameters

TNewClass

The argument type to be used

TReturn

The 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

methodName string

The instance method to be invoked

args object[]

Possible arguments

Returns

TReturn

The initilized TReturn or null

Type Parameters

TNewClass

The argument type to be used

TReturn

The 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

type Type

The Type implementing IJVMBridgeBase to be instantiated

clazz IJavaType

The IJavaType where the method shall be executed

methodName string

The instance method to be invoked

args object[]

Possible arguments

Returns

TReturn

The initilized TReturn or null

Type Parameters

TReturn

The return type: in some condition can be helpful to return a different TReturn

TConverter

The converter to be used to convert from instance of type to TReturn

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

type Type

The Type implementing IJVMBridgeBase to be instantiated

methodName string

The instance method to be invoked

args object[]

Possible arguments

Returns

TReturn

The initilized TReturn or null

Type Parameters

TReturn

The return type: in some condition can be helpful to return a different TReturn

TConverter

The converter to be used to convert from instance of type to TReturn

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

clazz IJavaType

The IJavaType where the method shall be executed

methodName string

The instance method to be invoked

args object[]

Possible arguments

Returns

TReturn

The initilized TReturn or null

Type Parameters

TNewClass

The argument type to be used

TReturn

The return type: in some condition can be helpful to return a different TReturn

TConverter

The converter to be used to convert from TNewClass to TReturn

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

methodName string

The instance method to be invoked

args object[]

Possible arguments

Returns

TReturn

The initilized TReturn or null

Type Parameters

TNewClass

The argument type to be used

TReturn

The return type: in some condition can be helpful to return a different TReturn

TConverter

The converter to be used to convert from TNewClass to TReturn

SGetField(IJavaType, string)

Gets the value of a static field on clazz identified by fieldName

public static object SGetField(IJavaType clazz, string fieldName)

Parameters

clazz IJavaType

The IJavaType where the field shall be get

fieldName string

The field name to get

Returns

object

The field value

SGetField(string)

Gets the value of a static field identified by fieldName

public static object SGetField(string fieldName)

Parameters

fieldName string

The 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

clazz IJavaType

The IJavaType on which the static field shall be read.

fieldName string

The name of the static field to read.

Returns

TReturn[]

An array of TReturn, or null if the field contains null or an empty JVM array reference.

Type Parameters

TReturn

The 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

fieldName string

The name of the static field to read.

Returns

TReturn[]

An array of TReturn, or null if the field contains null or an empty JVM array reference.

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType on which the static field shall be read.

fieldName string

The 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

TReturn

The .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

fieldName string

The 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

TReturn

The .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

clazz IJavaType

The IJavaType where the field shall be get

fieldName string

The field name to get

Returns

TReturn

The field value

Type Parameters

TReturn

The 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

fieldName string

The field name to get

Returns

TReturn

The field value

Type Parameters

TReturn

The 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

clazz IJavaType

The IJavaType where the field shall be set

fieldName string

The field name to set

val object

The 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

fieldName string

The field name to set

val object

The value to set on the field

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

clazz IJavaType

The IJavaType where the field shall be set

fieldName string

The field name to set

val TValue

The value to set on the field

Type Parameters

TValue

A 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

fieldName string

The field name to set

val TValue

The value to set on the field

Type Parameters

TValue

A type inherited from IJVMBridgeBase, IJavaObject, Enum or primitive types