Click or drag to resize

JVMBridgeBaseTClassSExecuteWithSignatureTReturn, TConverter(Type, IJavaType, String, String, Object) Method

Executes a static method which returns a bridged class

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.5.12.240512-4d4b2fafd3df13602ccdeccef07b026ccf8b47b0
Syntax
public static TReturn SExecuteWithSignature<TReturn, TConverter>(
	Type type,
	IJavaType clazz,
	string methodName,
	string signature,
	params Object[] args
)
where TConverter : new(), Object, IJVMBridgeBaseConvert<Object, TReturn>

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

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

Return Value

TReturn
The initilized TReturn or null
See Also