org.eclipse.gmt.modisco.java
Interface ASTNode

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

public interface ASTNode

A representation of the model object 'AST Node'.

The following features are supported:

See Also:
JavaPackage.getASTNode()
Generated:
Model:
abstract="true"

Method Summary
  getComments()
          Returns the value of the 'Comments' containment reference list.
 ClassFile getOriginalClassFile()
          Returns the value of the 'Original Class File' reference.
 CompilationUnit getOriginalCompilationUnit()
          Returns the value of the 'Original Compilation Unit' reference.
 void setOriginalClassFile(ClassFile value)
          Sets the value of the 'Original Class File' reference.
 void setOriginalCompilationUnit(CompilationUnit value)
          Sets the value of the 'Original Compilation Unit' reference.
 

Method Detail

getComments

 getComments()
Returns the value of the 'Comments' containment reference list. The list contents are of type Comment.

If the meaning of the 'Comments' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Comments' containment reference list.
See Also:
JavaPackage.getASTNode_Comments()
Generated:
Model:
containment="true"

getOriginalCompilationUnit

CompilationUnit getOriginalCompilationUnit()
Returns the value of the 'Original Compilation Unit' reference.

If the meaning of the 'Original Compilation Unit' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Original Compilation Unit' reference.
See Also:
setOriginalCompilationUnit(CompilationUnit), JavaPackage.getASTNode_OriginalCompilationUnit()
Generated:
Model:
ordered="false"

setOriginalCompilationUnit

void setOriginalCompilationUnit(CompilationUnit value)
Sets the value of the 'Original Compilation Unit' reference.

Parameters:
value - the new value of the 'Original Compilation Unit' reference.
See Also:
getOriginalCompilationUnit()
Generated:

getOriginalClassFile

ClassFile getOriginalClassFile()
Returns the value of the 'Original Class File' reference.

If the meaning of the 'Original Class File' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Original Class File' reference.
See Also:
setOriginalClassFile(ClassFile), JavaPackage.getASTNode_OriginalClassFile()
Generated:
Model:
ordered="false"

setOriginalClassFile

void setOriginalClassFile(ClassFile value)
Sets the value of the 'Original Class File' reference.

Parameters:
value - the new value of the 'Original Class File' reference.
See Also:
getOriginalClassFile()
Generated: