Class Module
public class Module : AnnotatedElement, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IAnnotatedElement
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<AnnotatedElement>Module
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<AnnotatedElement>.IsAssignableFrom(IJavaType)JVMBridgeBase<AnnotatedElement>.IsAssignableFrom<T>()JVMBridgeBase<AnnotatedElement>.Execute<T>(params T[])JVMBridgeBase<AnnotatedElement>.DynBridgeClazzJVMBridgeBase<AnnotatedElement>.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
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
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
ClassLoader
public ClassLoader ClassLoader { get; }
Property Value
DeclaredAnnotations
public Annotation[] DeclaredAnnotations { get; }
Property Value
Descriptor
public ModuleDescriptor Descriptor { 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
Layer
public ModuleLayer Layer { get; }
Property Value
Name
public String Name { get; }
Property Value
Packages
public Set<String> Packages { get; }
Property Value
Methods
AddExports(String, Module)
public Module AddExports(String arg0, Module arg1)
Parameters
Returns
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
Returns
AddOpens(String, Module)
public Module AddOpens(String arg0, Module arg1)
Parameters
Returns
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
Returns
AddReads(Module)
public Module AddReads(Module arg0)
Parameters
Returns
AddUses(Class)
public Module AddUses(Class arg0)
Parameters
Returns
CanRead(Module)
public bool CanRead(Module arg0)
Parameters
Returns
CanUse(Class)
public bool CanUse(Class arg0)
Parameters
Returns
GetAnnotation<T>(Class)
public T GetAnnotation<T>(Class arg0) where T : IAnnotation, new()
Parameters
Returns
- T
T
Type Parameters
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
Returns
Exceptions
IsExported(String)
public bool IsExported(String arg0)
Parameters
Returns
IsExported(String, Module)
public bool IsExported(String arg0, Module arg1)
Parameters
Returns
IsExported(string)
Returns true if this module exports the given package unconditionally.
public bool IsExported(string pn)
Parameters
pn
string
Returns
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
Returns
IsNamed()
public bool IsNamed()
Returns
IsOpen(String)
public bool IsOpen(String arg0)
Parameters
Returns
IsOpen(String, Module)
public bool IsOpen(String arg0, Module arg1)
Parameters
Returns
IsOpen(string)
Returns true if this module has opened a package unconditionally.
public bool IsOpen(string pn)
Parameters
pn
string
Returns
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)