|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TypeDeclaration
| Method Summary | |
|---|---|
boolean |
getBodyContainsOffset(int offs)
|
int |
getBodyEndOffset()
|
int |
getBodyStartOffset()
|
TypeDeclaration |
getChildType(int index)
|
TypeDeclaration |
getChildTypeAtOffset(int offs)
Returns the child type declaration of this one that contains the specified offset, if any. |
int |
getChildTypeCount()
|
String |
getDocComment()
|
Iterator |
getFieldIterator()
Returns an iterator over all fields defined in this type. |
int |
getMemberCount()
|
Iterator |
getMemberIterator()
Returns an iterator over all members of this type. |
Iterator |
getMethodIterator()
Returns an iterator over all methods defined in this type. |
List |
getMethodsByName(String name)
Returns all methods declared in this type with the given name. |
Modifiers |
getModifiers()
|
String |
getName()
Returns the "name" of this node. |
Package |
getPackage()
Returns the package this type is in. |
String |
getTypeString()
|
boolean |
isDeprecated()
|
void |
setDocComment(String comment)
|
| Methods inherited from interface org.fife.rsta.ac.java.rjc.ast.ASTNode |
|---|
getNameEndOffset, getNameStartOffset |
| Methods inherited from interface org.fife.rsta.ac.java.rjc.ast.TypeDeclarationContainer |
|---|
addTypeDeclaration |
| Method Detail |
|---|
boolean getBodyContainsOffset(int offs)
int getBodyEndOffset()
int getBodyStartOffset()
TypeDeclaration getChildType(int index)
TypeDeclaration getChildTypeAtOffset(int offs)
offs - The offset.
null if the offset is
outside of any child type declaration.int getChildTypeCount()
String getDocComment()
Iterator getFieldIterator()
getMethodIterator(),
getMemberIterator()int getMemberCount()
Iterator getMemberIterator()
getMethodIterator()Iterator getMethodIterator()
getFieldIterator(),
getMemberIterator()List getMethodsByName(String name)
name - The name to check for.
Modifiers getModifiers()
String getName()
ASTNodeCodeBlocks
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.
getName in interface ASTNodePackage getPackage()
null if it's in the default package.String getTypeString()
boolean isDeprecated()
void setDocComment(String comment)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||