Package org.eclipse.gmt.modisco.java
Interface ASTNode
- All Superinterfaces:
org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
AbstractMethodDeclaration,AbstractMethodInvocation,AbstractTypeDeclaration,AbstractTypeQualifiedExpression,AbstractVariablesContainer,Annotation,AnnotationMemberValuePair,AnnotationTypeDeclaration,AnnotationTypeMemberDeclaration,AnonymousClassDeclaration,Archive,ArrayAccess,ArrayCreation,ArrayInitializer,ArrayLengthAccess,ArrayType,AssertStatement,Assignment,Block,BlockComment,BodyDeclaration,BooleanLiteral,BreakStatement,CastExpression,CatchClause,CharacterLiteral,ClassDeclaration,ClassFile,ClassInstanceCreation,Comment,CompilationUnit,ConditionalExpression,ConstructorDeclaration,ConstructorInvocation,ContinueStatement,DoStatement,EmptyStatement,EnhancedForStatement,EnumConstantDeclaration,EnumDeclaration,Expression,ExpressionStatement,FieldAccess,FieldDeclaration,ForStatement,IfStatement,ImportDeclaration,InfixExpression,Initializer,InstanceofExpression,InterfaceDeclaration,Javadoc,LabeledStatement,LineComment,MemberRef,MethodDeclaration,MethodInvocation,MethodRef,MethodRefParameter,Modifier,NamedElement,NamespaceAccess,NullLiteral,NumberLiteral,Package,PackageAccess,ParameterizedType,ParenthesizedExpression,PostfixExpression,PrefixExpression,PrimitiveType,PrimitiveTypeBoolean,PrimitiveTypeByte,PrimitiveTypeChar,PrimitiveTypeDouble,PrimitiveTypeFloat,PrimitiveTypeInt,PrimitiveTypeLong,PrimitiveTypeShort,PrimitiveTypeVoid,ReturnStatement,SingleVariableAccess,SingleVariableDeclaration,Statement,StringLiteral,SuperConstructorInvocation,SuperFieldAccess,SuperMethodInvocation,SwitchCase,SwitchStatement,SynchronizedStatement,TagElement,TextElement,ThisExpression,ThrowStatement,TryStatement,Type,TypeAccess,TypeDeclaration,TypeDeclarationStatement,TypeLiteral,TypeParameter,UnresolvedAnnotationDeclaration,UnresolvedAnnotationTypeMemberDeclaration,UnresolvedClassDeclaration,UnresolvedEnumDeclaration,UnresolvedInterfaceDeclaration,UnresolvedItem,UnresolvedItemAccess,UnresolvedLabeledStatement,UnresolvedMethodDeclaration,UnresolvedSingleVariableDeclaration,UnresolvedType,UnresolvedTypeDeclaration,UnresolvedVariableDeclarationFragment,VariableDeclaration,VariableDeclarationExpression,VariableDeclarationFragment,VariableDeclarationStatement,WhileStatement,WildCardType
- All Known Implementing Classes:
AbstractMethodDeclarationImpl,AbstractMethodInvocationImpl,AbstractTypeDeclarationImpl,AbstractTypeQualifiedExpressionImpl,AbstractVariablesContainerImpl,AnnotationImpl,AnnotationMemberValuePairImpl,AnnotationTypeDeclarationImpl,AnnotationTypeMemberDeclarationImpl,AnonymousClassDeclarationImpl,ArchiveImpl,ArrayAccessImpl,ArrayCreationImpl,ArrayInitializerImpl,ArrayLengthAccessImpl,ArrayTypeImpl,AssertStatementImpl,AssignmentImpl,ASTNodeImpl,BlockCommentImpl,BlockImpl,BodyDeclarationImpl,BooleanLiteralImpl,BreakStatementImpl,CastExpressionImpl,CatchClauseImpl,CharacterLiteralImpl,ClassDeclarationImpl,ClassFileImpl,ClassInstanceCreationImpl,CommentImpl,CompilationUnitImpl,ConditionalExpressionImpl,ConstructorDeclarationImpl,ConstructorInvocationImpl,ContinueStatementImpl,DoStatementImpl,EmptyStatementImpl,EnhancedForStatementImpl,EnumConstantDeclarationImpl,EnumDeclarationImpl,ExpressionImpl,ExpressionStatementImpl,FieldAccessImpl,FieldDeclarationImpl,ForStatementImpl,IfStatementImpl,ImportDeclarationImpl,InfixExpressionImpl,InitializerImpl,InstanceofExpressionImpl,InterfaceDeclarationImpl,JavadocImpl,LabeledStatementImpl,LineCommentImpl,MemberRefImpl,MethodDeclarationImpl,MethodInvocationImpl,MethodRefImpl,MethodRefParameterImpl,ModifierImpl,NamedElementImpl,NamespaceAccessImpl,NullLiteralImpl,NumberLiteralImpl,PackageAccessImpl,PackageImpl,ParameterizedTypeImpl,ParenthesizedExpressionImpl,PostfixExpressionImpl,PrefixExpressionImpl,PrimitiveTypeBooleanImpl,PrimitiveTypeByteImpl,PrimitiveTypeCharImpl,PrimitiveTypeDoubleImpl,PrimitiveTypeFloatImpl,PrimitiveTypeImpl,PrimitiveTypeIntImpl,PrimitiveTypeLongImpl,PrimitiveTypeShortImpl,PrimitiveTypeVoidImpl,ReturnStatementImpl,SingleVariableAccessImpl,SingleVariableDeclarationImpl,StatementImpl,StringLiteralImpl,SuperConstructorInvocationImpl,SuperFieldAccessImpl,SuperMethodInvocationImpl,SwitchCaseImpl,SwitchStatementImpl,SynchronizedStatementImpl,TagElementImpl,TextElementImpl,ThisExpressionImpl,ThrowStatementImpl,TryStatementImpl,TypeAccessImpl,TypeDeclarationImpl,TypeDeclarationStatementImpl,TypeImpl,TypeLiteralImpl,TypeParameterImpl,UnresolvedAnnotationDeclarationImpl,UnresolvedAnnotationTypeMemberDeclarationImpl,UnresolvedClassDeclarationImpl,UnresolvedEnumDeclarationImpl,UnresolvedInterfaceDeclarationImpl,UnresolvedItemAccessImpl,UnresolvedItemImpl,UnresolvedLabeledStatementImpl,UnresolvedMethodDeclarationImpl,UnresolvedSingleVariableDeclarationImpl,UnresolvedTypeDeclarationImpl,UnresolvedTypeImpl,UnresolvedVariableDeclarationFragmentImpl,VariableDeclarationExpressionImpl,VariableDeclarationFragmentImpl,VariableDeclarationImpl,VariableDeclarationStatementImpl,WhileStatementImpl,WildCardTypeImpl
public interface ASTNode
extends org.eclipse.emf.ecore.EObject
A representation of the model object 'AST Node'.
The following features are supported:
- See Also:
JavaPackage.getASTNode()
-
Method Summary
Modifier and Type Method Description org.eclipse.emf.common.util.EList<Comment>getComments()Returns the value of the 'Comments' containment reference list.ClassFilegetOriginalClassFile()Returns the value of the 'Original Class File' reference.CompilationUnitgetOriginalCompilationUnit()Returns the value of the 'Original Compilation Unit' reference.voidsetOriginalClassFile(ClassFile value)Sets the value of the 'Original Class File' reference.voidsetOriginalCompilationUnit(CompilationUnit value)Sets the value of the 'Original Compilation Unit' reference.Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getComments
org.eclipse.emf.common.util.EList<Comment> getComments()Returns the value of the 'Comments' containment reference list. The list contents are of typeComment.- Returns:
- the value of the 'Comments' containment reference list.
- See Also:
JavaPackage.getASTNode_Comments()
-
getOriginalCompilationUnit
CompilationUnit getOriginalCompilationUnit()Returns the value of the 'Original Compilation Unit' reference.- Returns:
- the value of the 'Original Compilation Unit' reference.
- See Also:
setOriginalCompilationUnit(CompilationUnit),JavaPackage.getASTNode_OriginalCompilationUnit()
-
setOriginalCompilationUnit
Sets the value of the 'Original Compilation Unit' reference.- Parameters:
value- the new value of the 'Original Compilation Unit' reference.- See Also:
getOriginalCompilationUnit()
-
getOriginalClassFile
ClassFile getOriginalClassFile()Returns the value of the 'Original Class File' reference.- Returns:
- the value of the 'Original Class File' reference.
- See Also:
setOriginalClassFile(ClassFile),JavaPackage.getASTNode_OriginalClassFile()
-
setOriginalClassFile
Sets the value of the 'Original Class File' reference.- Parameters:
value- the new value of the 'Original Class File' reference.- See Also:
getOriginalClassFile()
-