Click or drag to resize

JVMBridgeBaseTClassSExecuteTNewClass, TReturn(IJavaType, String, Object) Method

Executes a static method which returns a bridged class

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.5.10.240120-2a3d9d79d92bde9fdf6d46131ee31d20c12fe372
Syntax
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

Type Parameters

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

Return Value

TReturn
The initilized TReturn or null
See Also