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()
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<?>)
Built on June 4 2024. | Copyright © 2017-2024 Apache Software Foundation. All Rights Reserved.