Table of Contents

Class JNetReflectorHelper

Namespace
Org.Mases.Jnet
Assembly
MASES.JNetReflector.dll

An helper class to manage the Java class JNetReflectorHelper

public class JNetReflectorHelper : JVMBridgeBase<JNetReflectorHelper>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JNetReflectorHelper
Implements
Inherited Members

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

EnableLogging

Enable or disable logging

public static bool EnableLogging { get; set; }

Property Value

bool

Methods

ExtractJavaInfo(Class, string, string)

public static IReadOnlyDictionary<string, string> ExtractJavaInfo(Class clazz, string classPath, string javapFullPath = null)

Parameters

clazz Class
classPath string
javapFullPath string

Returns

IReadOnlyDictionary<string, string>

ExtractJavaInfo(IEnumerable<Class>, string, string)

public static void ExtractJavaInfo(IEnumerable<Class> classes, string classPath, string javapFullPath = null)

Parameters

classes IEnumerable<Class>
classPath string
javapFullPath string

Find()

Find all Classes in the classpath

public static Collection<Class> Find()

Returns

Collection<Class>

Collection<E> of Class

Find(string, bool)

Find all Classes with packageOrModuleName

public static Collection<Class> Find(string packageOrModuleName, bool isModule)

Parameters

packageOrModuleName string

Pattern to search

isModule bool

true for modules, otherwise false

Returns

Collection<Class>

Collection<E> of Class

IsFromSuperInterface(Method)

Check if Method comes from one of the super interfaces

public static bool IsFromSuperInterface(Method entry)

Parameters

entry Method

The Method to check

Returns

bool

true if Method comes from super interface

IsOverrideOrConcrete(Method)

Check if Method overrides or it is a concrete method

public static bool IsOverrideOrConcrete(Method entry)

Parameters

entry Method

The Method to check

Returns

bool

true if Method overrides or it is a concrete method

SignatureForClass(Class)

public static IReadOnlyDictionary<string, string> SignatureForClass(Class entry)

Parameters

entry Class

Returns

IReadOnlyDictionary<string, string>