Click or drag to resize

JVMBridgeBaseTClassSExecuteWithSignatureTNewClass, TReturn, TConverter(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.21.241219-a6a144ea07c497c3a9a1be842408e852afb458be
Syntax
public static TReturn SExecuteWithSignature<TNewClass, TReturn, TConverter>(
	IJavaType clazz,
	string methodName,
	string signature,
	params Object[] args
)
where TNewClass : IJVMBridgeBase
where TConverter : new(), Object, IJVMBridgeBaseConvert<TNewClass, 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

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

Return Value

TReturn
The initilized TReturn or null
See Also