org.fife.rsta.ac.java.rjc.ast
Interface Member

All Superinterfaces:
ASTNode
All Known Implementing Classes:
CodeBlock, Field, Method

public interface Member
extends ASTNode

A marker for a member of a class or interface.

Version:
1.0
Author:
Robert Futrell

Method Summary
 String getDocComment()
           
 Modifiers getModifiers()
           
 String getName()
          Returns the "name" of this node.
 int getNameEndOffset()
          Returns the end offset of the "name" of this node.
 int getNameStartOffset()
          Returns the start offset of the "name" of this node.
 TypeDeclaration getParentTypeDeclaration()
           
 Type getType()
           
 boolean isDeprecated()
           
 void setParentTypeDeclaration(TypeDeclaration dec)
           
 

Method Detail

getDocComment

String getDocComment()

getNameEndOffset

int getNameEndOffset()
Description copied from interface: ASTNode
Returns the end offset of the "name" of this node.

Specified by:
getNameEndOffset in interface ASTNode
Returns:
The end offset.

getNameStartOffset

int getNameStartOffset()
Description copied from interface: ASTNode
Returns the start offset of the "name" of this node.

Specified by:
getNameStartOffset in interface ASTNode
Returns:
The start offset.

getModifiers

Modifiers getModifiers()

getName

String getName()
Description copied from interface: ASTNode
Returns the "name" of this node. This will be the name of the method, the name of the member or local variable, etc. For CodeBlocks it will be CodeBlock.NAME.

Note that this may not be unique. For example, a class with an overloaded method will have multiple methods with the same "name," just with different signatures.

Specified by:
getName in interface ASTNode
Returns:
The "name" of this node.

getParentTypeDeclaration

TypeDeclaration getParentTypeDeclaration()

getType

Type getType()

isDeprecated

boolean isDeprecated()

setParentTypeDeclaration

void setParentTypeDeclaration(TypeDeclaration dec)


Copyright © 2003-2011. All Rights Reserved.