public static class TypeSet.ExplicitImportResolver extends TypeSet.AbstractResolver
pmdClassLoader
Constructor and Description |
---|
TypeSet.ExplicitImportResolver(PMDASMClassLoader pmdClassLoader,
Set<String> importStmts)
Creates a new
TypeSet.ExplicitImportResolver . |
public TypeSet.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-2014 InfoEther. All Rights Reserved.