public static class TypeSet.ImportOnDemandResolver extends TypeSet.AbstractResolver
pmdClassLoader
Constructor and Description |
---|
TypeSet.ImportOnDemandResolver(PMDASMClassLoader pmdClassLoader,
Set<String> importStmts)
Creates a
TypeSet.ImportOnDemandResolver |
public TypeSet.ImportOnDemandResolver(PMDASMClassLoader pmdClassLoader, Set<String> importStmts)
TypeSet.ImportOnDemandResolver
pmdClassLoader
- the class loader to useimportStmts
- 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.