public abstract static class TypeSet.AbstractResolver extends Object implements TypeSet.Resolver
PMDASMClassLoader
class
loader.Modifier and Type | Field and Description |
---|---|
protected PMDASMClassLoader |
pmdClassLoader
the class loader.
|
Constructor and Description |
---|
TypeSet.AbstractResolver(PMDASMClassLoader pmdClassLoader)
Creates a new AbstractResolver that uses the given class loader.
|
Modifier and Type | Method and Description |
---|---|
boolean |
couldResolve(String name)
Checks if the given class could be resolved by this resolver.
|
protected Class<?> |
resolveMaybeInner(String name,
String fqName)
Resolves the given class name with the given FQCN, considering it may
be an inner class.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resolve
protected final PMDASMClassLoader pmdClassLoader
public TypeSet.AbstractResolver(PMDASMClassLoader pmdClassLoader)
pmdClassLoader
- the class loader to useprotected Class<?> resolveMaybeInner(String name, String fqName)
name
- The name of the class to load.fqName
- The proposed FQCN for the class.public boolean couldResolve(String name)
TypeSet.Resolver
couldResolve
in interface TypeSet.Resolver
name
- the name of the class, might be fully classified or not.Copyright © 2002–2017 PMD. All rights reserved.