@JavaDispatcher.Proxied(value="java.lang.Module") protected static interface ModuleDescription.ForLoadedModule.Module
java.lang.Module.| Modifier and Type | Method and Description |
|---|---|
Object |
getDescriptor(Object value)
Returns the module descriptor.
|
String |
getName(Object value)
Returns the module's name.
|
Set<String> |
getPackages(Object value)
Returns the module's exported packages.
|
boolean |
isInstance(Object value)
Returns
true if the supplied instance is of type java.lang.Module. |
boolean |
isNamed(Object value)
Returns
true if the supplied module is named. |
@JavaDispatcher.Instance boolean isInstance(Object value)
true if the supplied instance is of type java.lang.Module.value - The instance to investigate.true if the supplied value is a java.lang.Module.boolean isNamed(Object value)
true if the supplied module is named.value - The java.lang.Module to check for the existence of a name.true if the supplied module is named.String getName(Object value)
value - The java.lang.Module to check for its name.Set<String> getPackages(Object value)
value - The java.lang.Module to check for its packages.Copyright © 2014–2025. All rights reserved.