IJavaReflection
Overview
Location
- Reference: RemObjects.Hydra.Host.dll
- Namespace: RemObjects.Hydra.Host.Java
- Ancestry: IJavaReflection
Required Methods
CallMethod (IntPtr, IntPtr, Type, array of Object): Object
method CallMethod(instanceId: IntPtr; methodId: IntPtr; resultType: Type; params args: array of Object): Object
Object CallMethod(IntPtr instanceId, IntPtr methodId, Type resultType, params Object[] args)
Function CallMethod(instanceId As IntPtr, methodId As IntPtr, resultType As Type, ParamArray args As Object()) As Object
Parameters:
- instanceId:
- methodId:
- resultType:
- args:
CallMethod (IntPtr, IntPtr, array of Object)
method CallMethod(instanceId: IntPtr; methodId: IntPtr; params args: array of Object)
void CallMethod(IntPtr instanceId, IntPtr methodId, params Object[] args)
Sub CallMethod(instanceId As IntPtr, methodId As IntPtr, ParamArray args As Object())
Parameters:
- instanceId:
- methodId:
- args:
CallMethod<T>
method CallMethod<T>(instanceId: IntPtr; methodId: IntPtr; params args: array of Object): T
T CallMethod<T>(IntPtr instanceId, IntPtr methodId, params Object[] args)
Function CallMethod<T>(instanceId As IntPtr, methodId As IntPtr, ParamArray args As Object()) As T
Parameters:
- instanceId:
- methodId:
- args:
CallStaticMethod (IntPtr, IntPtr, Type, array of Object): Object
method CallStaticMethod(classId: IntPtr; methodId: IntPtr; resultType: Type; params args: array of Object): Object
Object CallStaticMethod(IntPtr classId, IntPtr methodId, Type resultType, params Object[] args)
Function CallStaticMethod(classId As IntPtr, methodId As IntPtr, resultType As Type, ParamArray args As Object()) As Object
Parameters:
- classId:
- methodId:
- resultType:
- args:
CallStaticMethod (IntPtr, IntPtr, array of Object)
method CallStaticMethod(classId: IntPtr; methodId: IntPtr; params args: array of Object)
void CallStaticMethod(IntPtr classId, IntPtr methodId, params Object[] args)
Sub CallStaticMethod(classId As IntPtr, methodId As IntPtr, ParamArray args As Object())
Parameters:
- classId:
- methodId:
- args:
CallStaticMethod<T>
method CallStaticMethod<T>(classId: IntPtr; methodId: IntPtr; params args: array of Object): T
T CallStaticMethod<T>(IntPtr classId, IntPtr methodId, params Object[] args)
Function CallStaticMethod<T>(classId As IntPtr, methodId As IntPtr, ParamArray args As Object()) As T
Parameters:
- classId:
- methodId:
- args:
CreateInstance
method CreateInstance(classId: IntPtr): JavaObjectHandle
JavaObjectHandle CreateInstance(IntPtr classId)
Function CreateInstance(classId As IntPtr) As JavaObjectHandle
Parameters:
- classId:
GetClassId (String): IntPtr
method GetClassId(className: String): IntPtr
IntPtr GetClassId(String className)
Function GetClassId(className As String) As IntPtr
Parameters:
- className:
GetClassId (IntPtr): IntPtr
method GetClassId(instanceId: IntPtr): IntPtr
IntPtr GetClassId(IntPtr instanceId)
Function GetClassId(instanceId As IntPtr) As IntPtr
Parameters:
- instanceId:
GetMethodId
method GetMethodId(classId: IntPtr; name: String; signature: String): IntPtr
IntPtr GetMethodId(IntPtr classId, String name, String signature)
Function GetMethodId(classId As IntPtr, name As String, signature As String) As IntPtr
Parameters:
- classId:
- name:
- signature:
GetStaticMethodId
method GetStaticMethodId(classId: IntPtr; name: String; signature: String): IntPtr
IntPtr GetStaticMethodId(IntPtr classId, String name, String signature)
Function GetStaticMethodId(classId As IntPtr, name As String, signature As String) As IntPtr
Parameters:
- classId:
- name:
- signature:
IsAssignableFrom (IntPtr, IntPtr): Boolean
method IsAssignableFrom(classId: IntPtr; baseClassId: IntPtr): Boolean
Boolean IsAssignableFrom(IntPtr classId, IntPtr baseClassId)
Function IsAssignableFrom(classId As IntPtr, baseClassId As IntPtr) As Boolean
Parameters:
- classId:
- baseClassId:
IsAssignableFrom (String, String): Boolean
method IsAssignableFrom(className: String; baseClassName: String): Boolean
Boolean IsAssignableFrom(String className, String baseClassName)
Function IsAssignableFrom(className As String, baseClassName As String) As Boolean
Parameters:
- className:
- baseClassName: