public interface CompilationUnit extends NamedElement
The following features are supported:
JavaPackage.getCompilationUnit()| Modifier and Type | Method and Description |
|---|---|
|
getCommentList()
Returns the value of the 'Comment List' reference list.
|
|
getImports()
Returns the value of the 'Imports' containment reference list.
|
java.lang.String |
getOriginalFilePath()
Returns the value of the 'Original File Path' attribute.
|
Package |
getPackage()
Returns the value of the 'Package' reference.
|
|
getTypes()
Returns the value of the 'Types' reference list.
|
void |
setOriginalFilePath(java.lang.String value)
Sets the value of the '
Original File Path' attribute. |
void |
setPackage(Package value)
Sets the value of the '
Package' reference. |
getName, getUsagesInImports, isProxy, setName, setProxygetComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnitjava.lang.String getOriginalFilePath()
If the meaning of the 'Original File Path' attribute isn't clear, there really should be more of a description here...
setOriginalFilePath(String),
JavaPackage.getCompilationUnit_OriginalFilePath()void setOriginalFilePath(java.lang.String value)
Original File Path' attribute.
value - the new value of the 'Original File Path' attribute.getOriginalFilePath()getCommentList()
Comment.
If the meaning of the 'Comment List' reference list isn't clear, there really should be more of a description here...
JavaPackage.getCompilationUnit_CommentList()getImports()
ImportDeclaration.
If the meaning of the 'Imports' containment reference list isn't clear, there really should be more of a description here...
JavaPackage.getCompilationUnit_Imports()Package getPackage()
If the meaning of the 'Package' reference isn't clear, there really should be more of a description here...
setPackage(org.eclipse.gmt.modisco.java.Package),
JavaPackage.getCompilationUnit_Package()void setPackage(Package value)
Package' reference.
value - the new value of the 'Package' reference.getPackage()getTypes()
AbstractTypeDeclaration.
If the meaning of the 'Types' reference list isn't clear, there really should be more of a description here...
JavaPackage.getCompilationUnit_Types()