public static class TypeSet.ImportOnDemandResolver extends TypeSet.AbstractResolver
pmdClassLoader| Constructor and Description |
|---|
ImportOnDemandResolver(PMDASMClassLoader pmdClassLoader,
Set<String> importStmts)
Creates a
TypeSet.ImportOnDemandResolver |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
resolve(String name)
Resolve the class by the given name
|
public ImportOnDemandResolver(PMDASMClassLoader pmdClassLoader, Set<String> importStmts)
TypeSet.ImportOnDemandResolverpmdClassLoader - the class loader to useimportStmts - the import statementspublic 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.