public static class TypeSet.ImplicitImportResolver extends TypeSet.AbstractResolver
java.lang.*.pmdClassLoader| Constructor and Description |
|---|
ImplicitImportResolver(PMDASMClassLoader pmdClassLoader)
Creates a
TypeSet.ImplicitImportResolver |
| Modifier and Type | Method and Description |
|---|---|
boolean |
couldResolve(java.lang.String name)
Checks if the given class could be resolved by this resolver.
|
java.lang.Class<?> |
resolve(java.lang.String name)
Resolve the class by the given name
|
resolveMaybeInnerpublic ImplicitImportResolver(PMDASMClassLoader pmdClassLoader)
TypeSet.ImplicitImportResolverpmdClassLoader - the class loaderpublic java.lang.Class<?> resolve(java.lang.String name)
throws java.lang.ClassNotFoundException
TypeSet.Resolvername - the name of the class, might be fully classified or not.java.lang.ClassNotFoundException - if the class couldn't be foundpublic boolean couldResolve(java.lang.String name)
TypeSet.ResolvercouldResolve in interface TypeSet.ResolvercouldResolve in class TypeSet.AbstractResolvername - the name of the class, might be fully classified or not.Copyright © 2002–2017 PMD. All rights reserved.