 | JVMBridgeBaseTClassNewWithSignatureAndWrapsDirectTNewClass(String, String, Object, Object) Method |
Creates a new JVM instance of className with 2 arguments and wraps it directly in TNewClass without type-safety checks.
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.6.9.260611-9a148513a79c26cdd7f1dde468f4f9e06ef3bc7e
Syntaxpublic static TNewClass NewWithSignatureAndWrapsDirect<TNewClass>(
string className,
string signature,
Object arg0,
Object arg1
)
where TNewClass : IJVMBridgeBase
Public Shared Function NewWithSignatureAndWrapsDirect(Of TNewClass As IJVMBridgeBase) (
className As String,
signature As String,
arg0 As Object,
arg1 As Object
) As TNewClass
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.
Type Parameters
- TNewClass
- The bridge wrapper type to instantiate. Must expose a constructor accepting IJVMBridgeBaseInitializer. No runtime compatibility check is performed.
Return Value
TNewClassA new
TNewClass wrapping the freshly created JVM instance. No type-safety check is performed; ensure the class name matches the wrapper.
See Also