public static class TypeSet.CurrentPackageResolver extends TypeSet.AbstractResolver
pmdClassLoader| Constructor and Description |
|---|
CurrentPackageResolver(PMDASMClassLoader pmdClassLoader,
String pkg)
Creates a new
TypeSet.CurrentPackageResolver |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
resolve(String name)
Resolve the class by the given name
|
public CurrentPackageResolver(PMDASMClassLoader pmdClassLoader, String pkg)
TypeSet.CurrentPackageResolverpmdClassLoader - the class loader to usepkg - the package namepublic Class<?> resolve(String name) throws ClassNotFoundException
TypeSet.Resolvername - the name of the class, might be fully classified or not.ClassNotFoundException - if the class couldn't be foundCopyright © 2002–2016 InfoEther. All rights reserved.