public final class UESNamespaceHelper
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
UESNamespaceHelper()
UESNamespaceHelper is utility class and will be never instantiated.
|
Modifier and Type | Method and Description |
---|---|
private static java.lang.Package |
getAnotatedPackage(java.lang.String pkg,
Recursively searches for package annotated by specified annotation.
|
static java.lang.String |
getUESNamespace(java.lang.Class<?> compCls, |
private static java.lang.String |
getUESNamespace(java.lang.String pkg, |
anot
- The annotation searched on package and subpackages.optional
- Determines if the annotation is optional or mandatory -
TRUE=optional and when not found, than NULL as return.
FALSE=mandatory and when not found, than
APTModelRTException
will be thrown.Module
,Submodule
,Subsystem
pkgName
- The qualified name of package, where to start search for
annotation.anot
- The annotation to be searched on packages. (IS declared in
package-info.java file)classLoader
- Used to obtain package-info class. Null could be passed
to use current thread context classloader.