| Modifier | Constructor and Description |
|---|---|
protected |
Modules()
Constructor for subclasses.
|
| Modifier and Type | Method and Description |
|---|---|
ModuleInfo |
findCodeNameBase(String cnb) |
static Modules |
getDefault()
Gets the singleton set of modules.
|
ModuleInfo |
ownerOf(Class<?> clazz)
Finds the module which loaded a class.
|
public static Modules getDefault()
Modules.ownerOf(java.lang.Class<?>) using a linear search.public ModuleInfo findCodeNameBase(String cnb)
public ModuleInfo ownerOf(Class<?> clazz)
clazz - a classModuleInfo.owns(java.lang.Class<?>)