| |
|
| java.lang.Object org.codehaus.groovy.ast.ASTNode org.codehaus.groovy.ast.ModuleNode
ModuleNode | public class ModuleNode extends ASTNode implements Opcodes(Code) | | Represents a module, which consists typically of a class declaration
but could include some imports, some statements and multiple classes
intermixed with statements like scripts in Python or Ruby
author: Jochen Theodorou author: James Strachan version: $Revision: 3841 $ |
extractClassFromFileDescription | protected String extractClassFromFileDescription()(Code) | | |
getDescription | public String getDescription()(Code) | | the underlying character stream description |
getImport | public ClassNode getImport(String alias)(Code) | | the class name for the given alias or null if none is available |
getImportPackages | public List getImportPackages()(Code) | | |
hasImportsResolved | public boolean hasImportsResolved()(Code) | | |
hasPackageName | public boolean hasPackageName()(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
setDescription | public void setDescription(String description)(Code) | | |
setImportsResolved | public void setImportsResolved(boolean importsResolved)(Code) | | |
setPackageName | public void setPackageName(String packageName)(Code) | | |
sortClasses | public void sortClasses()(Code) | | |
|
|
|