org.eclipse.emf.codegen.merge.java.facade.ast
Class ASTJMember

java.lang.Object
  extended byorg.eclipse.emf.codegen.merge.java.facade.AbstractJNode
      extended byorg.eclipse.emf.codegen.merge.java.facade.ast.ASTJNode
          extended byorg.eclipse.emf.codegen.merge.java.facade.ast.ASTJMember
All Implemented Interfaces:
JMember, JNode
Direct Known Subclasses:
ASTJField, ASTJInitializer, ASTJMethod, ASTJType

public abstract class ASTJMember
extends ASTJNode
implements JMember

Since:
2.2.0

Field Summary
 
Fields inherited from class org.eclipse.emf.codegen.merge.java.facade.AbstractJNode
EMPTY_STRING_ARRAY, facadeHelper, qualifiedName, wrappedObject
 
Constructor Summary
ASTJMember(org.eclipse.jdt.core.dom.BodyDeclaration bodyDeclaration)
           
 
Method Summary
protected  org.eclipse.jdt.core.dom.BodyDeclaration getASTBodyDeclaration()
           
 String getComment()
          Returns the comment associated with this member (including comment delimiters).
 int getFlags()
          Returns the modifier flags for this node.
 void setComment(String comment)
          Sets the comment associated with this member.
 
Methods inherited from class org.eclipse.emf.codegen.merge.java.facade.ast.ASTJNode
getASTNode, getChildren, getContents, getContents, getParent, setFlags, toString
 
Methods inherited from class org.eclipse.emf.codegen.merge.java.facade.AbstractJNode
computeQualifiedName, computeQualifiedName, computeQualifiedName, computeQualifiedName, dispose, getFacadeHelper, getName, getQualifiedName, getWrappedObject, setFacadeHelper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.codegen.merge.java.facade.JNode
getChildren, getContents, getName, getParent, getQualifiedName, setFlags
 

Constructor Detail

ASTJMember

public ASTJMember(org.eclipse.jdt.core.dom.BodyDeclaration bodyDeclaration)
Method Detail

getASTBodyDeclaration

protected org.eclipse.jdt.core.dom.BodyDeclaration getASTBodyDeclaration()

getFlags

public int getFlags()
Description copied from interface: JNode
Returns the modifier flags for this node. The flags can be examined using class FacadeFlags.

Specified by:
getFlags in interface JNode
Overrides:
getFlags in class ASTJNode

getComment

public String getComment()
Description copied from interface: JMember
Returns the comment associated with this member (including comment delimiters).

Specified by:
getComment in interface JMember
Returns:
the comment, or null if this member has no associated comment

setComment

public void setComment(String comment)
Description copied from interface: JMember
Sets the comment associated with this member. The comment will appear before the member in the source. The comment must be properly formatted, including delimiters. A null comment indicates no comment.

Specified by:
setComment in interface JMember
Parameters:
comment - the comment, including comment delimiters, or null indicating this member should have no associated comment

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.