public class TypeSet extends Object
| Modifier and Type | Class and Description |
|---|---|
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 and Description |
|---|
TypeSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
addImport(String importString) |
Class<?> |
findClass(String name) |
String |
getASTCompilationUnitPackage() |
int |
getImportsCount() |
void |
setASTCompilationUnitPackage(String pkg) |
public void setASTCompilationUnitPackage(String pkg)
public String getASTCompilationUnitPackage()
public void addImport(String importString)
public int getImportsCount()
public Class<?> findClass(String name) throws ClassNotFoundException
ClassNotFoundExceptionCopyright © 2002-2014 InfoEther. All Rights Reserved.