Click or drag to resize

IJavaType Interface

Generic interface for all types implemented

Namespace: MASES.JCOBridge.C2JBridge.JVMInterop
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.5.13.240514-86ea0fe57add44a0d4dc719a1a99f3379a320f2e
Syntax
public interface IJavaType : IDisposable

The IJavaType type exposes the following members.

Properties
 NameDescription
Public propertyIsArray if the IJavaType is an array
Public propertyIsPrimitiveConvertible if the IJavaType is primitive convertible, i.e. it is bool, byte, ... and string
Public propertyIsRawPrimitive if the IJavaType is a raw primitive type, i.e. it is boolean, byte, and so on
Public propertyJniClassName The name in the JNI form
Public propertyName The type name
Public propertySuperClass The superclass IJavaType of this IJavaType
Top
Methods
 NameDescription
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodGetField(String) Gets a static field
Public methodGetFieldTReturn(String) Gets a static field
Public methodInvoke(String, Object) Invokes a static member on this IJavaType using methodName and search criteria based on args
Public methodInvokeTReturn(String, Object) Invokes a static member on this IJavaType using methodName and search criteria based on args
Public methodInvokeWithSignature(String, String, Object) Invokes a static member on this IJavaType using methodName and search criteria based on signature
Public methodInvokeWithSignatureTReturn(String, String, Object) Invokes a static member on this IJavaType using methodName and search criteria based on signature
Public methodNew Creates a new object of this IJavaType with search criteria based on args
Public methodNewWithSignature Creates a new object of this IJavaType with search criteria based on signature
Public methodSetField Sets a static field
Top
Extension Methods
 NameDescription
Public Extension MethodIsPrimitiveConvertible Returns true if the class represents a primitive type
(Defined by JCOBridgeExtensions)
Public Extension MethodIsRawPrimitive Returns true if the class represents a primitive type
(Defined by JCOBridgeExtensions)
Top
See Also