| Modifier and Type | Field and Description |
|---|---|
| private ClassLoader | classLoader
Our ClassLoader, which provides information on external types |
| private SourceUnit | controller
The SourceUnit controlling us |
| protected ModuleNode | |
| private String | packageName
The package name in which the module sits |
| protected static final Map |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| public static String | |
| protected String | |
| public ClassLoader | |
| public SourceUnit | |
| public String | |
| protected void | |
| public void | |
| public void | |
| public PackageNode | |
| public void |
| classLoader | back to summary |
|---|---|
| private ClassLoader classLoader Our ClassLoader, which provides information on external types | |
| controller | back to summary |
|---|---|
| private SourceUnit controller The SourceUnit controlling us | |
| output | back to summary |
|---|---|
| protected ModuleNode output | |
| packageName | back to summary |
|---|---|
| private String packageName The package name in which the module sits | |
| resolutions | back to summary |
|---|---|
| protected static final Map<K, V> resolutions | |
| ASTHelper | back to summary |
|---|---|
| public ASTHelper(SourceUnit controller, ClassLoader classLoader) | |
| ASTHelper | back to summary |
|---|---|
| public ASTHelper() | |
| addImport | back to summary |
|---|---|
| protected void addImport(ClassNode type, String name, String aliasName) | |
| addImport | back to summary |
|---|---|
| protected void addImport(ClassNode type, String name, String aliasName, List<AnnotationNode> annotations) | |
| addStarImport | back to summary |
|---|---|
| protected void addStarImport(String importPackage) | |
| addStarImport | back to summary |
|---|---|
| protected void addStarImport(String importPackage, List<AnnotationNode> annotations) | |
| addStaticImport | back to summary |
|---|---|
| protected void addStaticImport(ClassNode type, String name, String alias) | |
| addStaticImport | back to summary |
|---|---|
| protected void addStaticImport(ClassNode type, String name, String alias, List<AnnotationNode> annotations) | |
| addStaticStarImport | back to summary |
|---|---|
| protected void addStaticStarImport(ClassNode type, String importClass) | |
| addStaticStarImport | back to summary |
|---|---|
| protected void addStaticStarImport(ClassNode type, String importClass, List<AnnotationNode> annotations) | |
| dot | back to summary |
|---|---|
| public static String dot(String base, String name) | |
| dot | back to summary |
|---|---|
| protected String dot(String base) A synonym for | |
| getClassLoader | back to summary |
|---|---|
| public ClassLoader getClassLoader() Returns our class loader (as supplied on construction). | |
| getController | back to summary |
|---|---|
| public SourceUnit getController() | |
| getPackageName | back to summary |
|---|---|
| public String getPackageName() | |
| makeModule | back to summary |
|---|---|
| protected void makeModule() | |
| setClassLoader | back to summary |
|---|---|
| public void setClassLoader(ClassLoader classLoader) | |
| setController | back to summary |
|---|---|
| public void setController(SourceUnit controller) | |
| setPackage | back to summary |
|---|---|
| public PackageNode setPackage(String packageName, List<AnnotationNode> annotations) | |
| setPackageName | back to summary |
|---|---|
| public void setPackageName(String packageName) | |