Class ModuleDescriptor
.NET implementations of https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/module/ModuleDescriptor.html
public class ModuleDescriptor : Comparable<ModuleDescriptor>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IComparable<ModuleDescriptor>
- Inheritance
-
JVMBridgeBaseModuleDescriptor
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Comparable<ModuleDescriptor>>.IsAssignableFrom(IJavaType)JVMBridgeBase<Comparable<ModuleDescriptor>>.IsAssignableFrom<T>()JVMBridgeBase<Comparable<ModuleDescriptor>>.Execute<T>(params T[])JVMBridgeBase<Comparable<ModuleDescriptor>>.DynBridgeClazzJVMBridgeBase<Comparable<ModuleDescriptor>>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
CompareTo(ModuleDescriptor)
public int CompareTo(ModuleDescriptor arg0)
Parameters
Returns
CompareTo(object)
public int CompareTo(object arg0)
Parameters
Returns
ExportsMethod()
public Set<ModuleDescriptor.Exports> ExportsMethod()
Returns
IsAutomatic()
public bool IsAutomatic()
Returns
IsOpen()
public bool IsOpen()
Returns
MainClass()
public Optional<String> MainClass()
Returns
Modifiers()
public Set<ModuleDescriptor.Modifier> Modifiers()
Returns
Name()
public String Name()
Returns
NewAutomaticModule(String)
public static ModuleDescriptor.Builder NewAutomaticModule(String arg0)
Parameters
Returns
NewModule(String)
public static ModuleDescriptor.Builder NewModule(String arg0)
Parameters
Returns
NewModule(String, Set<Modifier>)
public static ModuleDescriptor.Builder NewModule(String arg0, Set<ModuleDescriptor.Modifier> arg1)
Parameters
Returns
NewOpenModule(String)
public static ModuleDescriptor.Builder NewOpenModule(String arg0)
Parameters
Returns
OpensMethod()
public Set<ModuleDescriptor.Opens> OpensMethod()
Returns
Packages()
public Set<String> Packages()
Returns
ProvidesMethod()
public Set<ModuleDescriptor.Provides> ProvidesMethod()
Returns
RawVersion()
public Optional<String> RawVersion()
Returns
Read(InputStream)
public static ModuleDescriptor Read(InputStream arg0)
Parameters
arg0
InputStream
Returns
Exceptions
Read(InputStream, Supplier<Set<String>>)
public static ModuleDescriptor Read(InputStream arg0, Supplier<Set<String>> arg1)
Parameters
arg0
InputStreamarg1
Supplier<Set<String>>
Returns
Exceptions
Read(ByteBuffer)
public static ModuleDescriptor Read(ByteBuffer arg0)
Parameters
arg0
ByteBuffer
Returns
Read(ByteBuffer, Supplier<Set<String>>)
public static ModuleDescriptor Read(ByteBuffer arg0, Supplier<Set<String>> arg1)
Parameters
arg0
ByteBufferarg1
Supplier<Set<String>>
Returns
RequiresMethod()
public Set<ModuleDescriptor.Requires> RequiresMethod()
Returns
ToNameAndVersion()
public String ToNameAndVersion()
Returns
Uses()
public Set<String> Uses()
Returns
VersionMethod()
public Optional<ModuleDescriptor.Version> VersionMethod()