|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pmd.symboltable.TypeSet
Keeps track of the types encountered in a ASTCompilationUnit
Nested Class Summary | |
static class |
TypeSet.CurrentPackageResolver
|
static class |
TypeSet.ExplicitImportResolver
|
static class |
TypeSet.FullyQualifiedNameResolver
|
static class |
TypeSet.ImplicitImportResolver
|
static class |
TypeSet.ImportOnDemandResolver
|
static class |
TypeSet.PrimitiveTypeResolver
|
static interface |
TypeSet.Resolver
TODO should Resolver provide a canResolve() and a resolve()? Requiring 2 calls seems clunky... |
static class |
TypeSet.VoidResolver
|
Constructor Summary | |
TypeSet()
|
Method Summary | |
void |
addImport(java.lang.String importString)
|
java.lang.Class |
findClass(java.lang.String name)
|
java.lang.String |
getASTCompilationUnitPackage()
|
int |
getImportsCount()
|
void |
setASTCompilationUnitPackage(java.lang.String pkg)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TypeSet()
Method Detail |
public void setASTCompilationUnitPackage(java.lang.String pkg)
public java.lang.String getASTCompilationUnitPackage()
public void addImport(java.lang.String importString)
public int getImportsCount()
public java.lang.Class findClass(java.lang.String name) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |