Table of Contents

Class ModuleDescriptor

Namespace
Java.Lang.ModuleNs
Assembly
MASES.JNet.dll
public class ModuleDescriptor : Comparable<ModuleDescriptor>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IComparable<ModuleDescriptor>
Inheritance
JVMBridgeBase
ModuleDescriptor
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Comparable<ModuleDescriptor>>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Comparable<ModuleDescriptor>>.IsAssignableFrom<T>()
JVMBridgeBase<Comparable<ModuleDescriptor>>.Execute<T>(params T[])
JVMBridgeBase<Comparable<ModuleDescriptor>>.DynBridgeClazz
JVMBridgeBase<Comparable<ModuleDescriptor>>.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

ModuleDescriptor()

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

public ModuleDescriptor()

ModuleDescriptor(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 ModuleDescriptor(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

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

Methods

CompareTo(ModuleDescriptor)

public int CompareTo(ModuleDescriptor arg0)

Parameters

arg0 ModuleDescriptor

ModuleDescriptor

Returns

int

int

CompareTo(object)

public int CompareTo(object arg0)

Parameters

arg0 object

object

Returns

int

int

ExportsMethod()

public Set<ModuleDescriptor.Exports> ExportsMethod()

Returns

Set<ModuleDescriptor.Exports>

Set

IsAutomatic()

public bool IsAutomatic()

Returns

bool

bool

IsOpen()

public bool IsOpen()

Returns

bool

bool

MainClass()

public Optional<String> MainClass()

Returns

Optional<String>

Optional

Modifiers()

public Set<ModuleDescriptor.Modifier> Modifiers()

Returns

Set<ModuleDescriptor.Modifier>

Set

Name()

public String Name()

Returns

String

String

NewAutomaticModule(String)

public static ModuleDescriptor.Builder NewAutomaticModule(String arg0)

Parameters

arg0 String

String

Returns

ModuleDescriptor.Builder

ModuleDescriptor.Builder

NewModule(String)

public static ModuleDescriptor.Builder NewModule(String arg0)

Parameters

arg0 String

String

Returns

ModuleDescriptor.Builder

ModuleDescriptor.Builder

NewModule(String, Set<Modifier>)

public static ModuleDescriptor.Builder NewModule(String arg0, Set<ModuleDescriptor.Modifier> arg1)

Parameters

arg0 String

String

arg1 Set<ModuleDescriptor.Modifier>

Set

Returns

ModuleDescriptor.Builder

ModuleDescriptor.Builder

NewOpenModule(String)

public static ModuleDescriptor.Builder NewOpenModule(String arg0)

Parameters

arg0 String

String

Returns

ModuleDescriptor.Builder

ModuleDescriptor.Builder

OpensMethod()

public Set<ModuleDescriptor.Opens> OpensMethod()

Returns

Set<ModuleDescriptor.Opens>

Set

Packages()

public Set<String> Packages()

Returns

Set<String>

Set

ProvidesMethod()

public Set<ModuleDescriptor.Provides> ProvidesMethod()

Returns

Set<ModuleDescriptor.Provides>

Set

RawVersion()

public Optional<String> RawVersion()

Returns

Optional<String>

Optional

Read(InputStream)

public static ModuleDescriptor Read(InputStream arg0)

Parameters

arg0 InputStream

InputStream

Returns

ModuleDescriptor

ModuleDescriptor

Exceptions

IOException

Read(InputStream, Supplier<Set<String>>)

public static ModuleDescriptor Read(InputStream arg0, Supplier<Set<String>> arg1)

Parameters

arg0 InputStream

InputStream

arg1 Supplier<Set<String>>

Supplier

Returns

ModuleDescriptor

ModuleDescriptor

Exceptions

IOException

Read(ByteBuffer)

public static ModuleDescriptor Read(ByteBuffer arg0)

Parameters

arg0 ByteBuffer

ByteBuffer

Returns

ModuleDescriptor

ModuleDescriptor

Read(ByteBuffer, Supplier<Set<String>>)

public static ModuleDescriptor Read(ByteBuffer arg0, Supplier<Set<String>> arg1)

Parameters

arg0 ByteBuffer

ByteBuffer

arg1 Supplier<Set<String>>

Supplier

Returns

ModuleDescriptor

ModuleDescriptor

RequiresMethod()

public Set<ModuleDescriptor.Requires> RequiresMethod()

Returns

Set<ModuleDescriptor.Requires>

Set

ToNameAndVersion()

public String ToNameAndVersion()

Returns

String

String

Uses()

public Set<String> Uses()

Returns

Set<String>

Set

VersionMethod()

public Optional<ModuleDescriptor.Version> VersionMethod()

Returns

Optional<ModuleDescriptor.Version>

Optional