public interface CompilationUnit extends NamedElement
The following features are supported:
JavaPackage.getCompilationUnit()| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.common.util.EList<Comment> |
getCommentList()
Returns the value of the 'Comment List' reference list.
|
org.eclipse.emf.common.util.EList<ImportDeclaration> |
getImports()
Returns the value of the 'Imports' containment reference list.
|
String |
getOriginalFilePath()
Returns the value of the 'Original File Path' attribute.
|
Package |
getPackage()
Returns the value of the 'Package' reference.
|
org.eclipse.emf.common.util.EList<AbstractTypeDeclaration> |
getTypes()
Returns the value of the 'Types' reference list.
|
void |
setOriginalFilePath(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, setOriginalCompilationUniteInternalContainer, from, id, id, iterator, resource, resourceeBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainerFeatureID, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSet, eSetClass, eSetProxyURI, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegmenteAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliverforEach, spliteratorString getOriginalFilePath()
setOriginalFilePath(String),
JavaPackage.getCompilationUnit_OriginalFilePath()void setOriginalFilePath(String value)
Original File Path' attribute.
value - the new value of the 'Original File Path' attribute.getOriginalFilePath()org.eclipse.emf.common.util.EList<Comment> getCommentList()
Comment.
JavaPackage.getCompilationUnit_CommentList()org.eclipse.emf.common.util.EList<ImportDeclaration> getImports()
ImportDeclaration.
JavaPackage.getCompilationUnit_Imports()Package getPackage()
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()org.eclipse.emf.common.util.EList<AbstractTypeDeclaration> getTypes()
AbstractTypeDeclaration.
JavaPackage.getCompilationUnit_Types()Copyright © 2018–2020 Atlanmod. All rights reserved.