[Java] Class PackageNode
- org.codehaus.groovy.ast.PackageNode
public class PackageNode
extends AnnotatedNode
Represents a package in the AST.
Constructor Summary
Methods Summary
Inherited Methods Summary
Inherited Methods
Methods inherited from class | Name |
class AnnotatedNode | addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, getGroovydoc, getInstance, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic |
class ASTNode | copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, getText, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePosition, visit |
Constructor Detail
public PackageNode(String name)
Method Detail
public String getName()
public String getText()
- Returns:
- the text display of this package definition