Table of Contents

Class Module

Namespace
Java.Lang
Assembly
MASES.JNet.dll
public class Module : AnnotatedElement, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IAnnotatedElement
Inheritance
JVMBridgeBase
JVMBridgeBase<AnnotatedElement>
Module
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<AnnotatedElement>.IsAssignableFrom(IJavaType)
JVMBridgeBase<AnnotatedElement>.IsAssignableFrom<T>()
JVMBridgeBase<AnnotatedElement>.Execute<T>(params T[])
JVMBridgeBase<AnnotatedElement>.DynBridgeClazz
JVMBridgeBase<AnnotatedElement>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

Module()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public Module()

Module(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public Module(params object[] args)

Parameters

args object[]

Properties

Annotations

public Annotation[] Annotations { get; }

Property Value

Annotation[]

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

ClassLoader

public ClassLoader ClassLoader { get; }

Property Value

ClassLoader

DeclaredAnnotations

public Annotation[] DeclaredAnnotations { get; }

Property Value

Annotation[]

Descriptor

public ModuleDescriptor Descriptor { get; }

Property Value

ModuleDescriptor

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Layer

public ModuleLayer Layer { get; }

Property Value

ModuleLayer

Name

public String Name { get; }

Property Value

String

Packages

public Set<String> Packages { get; }

Property Value

Set<String>

Methods

AddExports(String, Module)

public Module AddExports(String arg0, Module arg1)

Parameters

arg0 String

String

arg1 Module

Module

Returns

Module

Module

AddExports(string, Module)

If the caller's module is this module then update this module to export the given package to the given module.

public Module AddExports(string pn, Module other)

Parameters

pn string
other Module

Returns

Module

AddOpens(String, Module)

public Module AddOpens(String arg0, Module arg1)

Parameters

arg0 String

String

arg1 Module

Module

Returns

Module

Module

AddOpens(string, Module)

If this module has opened a package to at least the caller module then update this module to open the package to the given module.

public Module AddOpens(string pn, Module other)

Parameters

pn string
other Module

Returns

Module

AddReads(Module)

public Module AddReads(Module arg0)

Parameters

arg0 Module

Module

Returns

Module

Module

AddUses(Class)

public Module AddUses(Class arg0)

Parameters

arg0 Class

Class

Returns

Module

Module

CanRead(Module)

public bool CanRead(Module arg0)

Parameters

arg0 Module

Module

Returns

bool

bool

CanUse(Class)

public bool CanUse(Class arg0)

Parameters

arg0 Class

Class

Returns

bool

bool

GetAnnotation<T>(Class)

public T GetAnnotation<T>(Class arg0) where T : IAnnotation, new()

Parameters

arg0 Class

Class

Returns

T

T

Type Parameters

T

IAnnotation

GetAnnotation<T>(Class<T>)

Returns this element's annotation for the specified type if such an annotation is present, else null.

public T GetAnnotation<T>(Class<T> annotationClass) where T : Annotation

Parameters

annotationClass Class<T>

Returns

T

Type Parameters

T

GetResourceAsStream(String)

public InputStream GetResourceAsStream(String arg0)

Parameters

arg0 String

String

Returns

InputStream

InputStream

Exceptions

IOException

IsExported(String)

public bool IsExported(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

IsExported(String, Module)

public bool IsExported(String arg0, Module arg1)

Parameters

arg0 String

String

arg1 Module

Module

Returns

bool

bool

IsExported(string)

Returns true if this module exports the given package unconditionally.

public bool IsExported(string pn)

Parameters

pn string

Returns

bool

IsExported(string, Module)

Returns true if this module exports the given package to at least the given module.

public bool IsExported(string pn, Module other)

Parameters

pn string
other Module

Returns

bool

IsNamed()

public bool IsNamed()

Returns

bool

bool

IsOpen(String)

public bool IsOpen(String arg0)

Parameters

arg0 String

String

Returns

bool

bool

IsOpen(String, Module)

public bool IsOpen(String arg0, Module arg1)

Parameters

arg0 String

String

arg1 Module

Module

Returns

bool

bool

IsOpen(string)

Returns true if this module has opened a package unconditionally.

public bool IsOpen(string pn)

Parameters

pn string

Returns

bool

IsOpen(string, Module)

Returns true if this module has opened a package to at least the given module.

public bool IsOpen(string pn, Module other)

Parameters

pn string
other Module

Returns

bool