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