| java.lang.Object net.sourceforge.jrefactory.ast.SimpleNode net.sourceforge.jrefactory.ast.NamedNode net.sourceforge.jrefactory.ast.ASTMethodDeclarator
ASTMethodDeclarator | public class ASTMethodDeclarator extends NamedNode (Code) | | Constains the name and the parameters associated with this method
author: Mike Atkinson since: jRefactory 2.9.0, created October 16, 2003 |
Method Summary | |
public void | finish() Makes sure all the java doc components are present. | public int | getArrayCount() | public int | getParameterCount() Gets the parameterCount attribute of the ASTMethodDeclarator node. | public Object | jjtAccept(JavaParserVisitor visitor, Object data) Accept the visitor.
Parameters: visitor - An implementation of JavaParserVisitor that processes the ASTMethodDeclarator node. Parameters: data - Some data being passed between the visitor methods. | public void | setArrayCount(int count) |
ASTMethodDeclarator | public ASTMethodDeclarator(int identifier)(Code) | | Constructor for the ASTMethodDeclarator node.
Parameters: identifier - The id of this node (JJTMETHODDECLARATOR). |
ASTMethodDeclarator | public ASTMethodDeclarator(JavaParser parser, int identifier)(Code) | | Constructor for the ASTMethodDeclarator node.
Parameters: parser - The JavaParser that created this ASTMethodDeclarator node Parameters: identifier - The id of this node (JJTMETHODDECLARATOR). |
finish | public void finish()(Code) | | Makes sure all the java doc components are present. For methods and constructors we need to do more work -
checking parameters, return types, and exceptions.
|
getArrayCount | public int getArrayCount()(Code) | | Return the number of array brackets
the levels of indirection |
getParameterCount | public int getParameterCount()(Code) | | Gets the parameterCount attribute of the ASTMethodDeclarator node.
The parameterCount value |
jjtAccept | public Object jjtAccept(JavaParserVisitor visitor, Object data)(Code) | | Accept the visitor.
Parameters: visitor - An implementation of JavaParserVisitor that processes the ASTMethodDeclarator node. Parameters: data - Some data being passed between the visitor methods. Usually the data parameter (possibly modified). |
setArrayCount | public void setArrayCount(int count)(Code) | | Set the number of levels of array indirection
Parameters: count - the number of [] |
Methods inherited from net.sourceforge.jrefactory.ast.SimpleNode | public void addSpecial(String key, Token value)(Code)(Java Doc) public Object childrenAccept(JavaParserVisitor visitor, Object data)(Code)(Java Doc) public void dump(String prefix)(Code)(Java Doc) public String dumpString(String prefix)(Code)(Java Doc) public List findChildrenOfType(Class targetType)(Code)(Java Doc) public void findChildrenOfType(Class targetType, List results)(Code)(Java Doc) public void findChildrenOfType(Class targetType, List results, boolean descendIntoNestedClasses)(Code)(Java Doc) public int getBeginColumn()(Code)(Java Doc) public int getBeginLine()(Code)(Java Doc) public int getEndColumn()(Code)(Java Doc) public int getEndLine()(Code)(Java Doc) public String getImage()(Code)(Java Doc) public String getName()(Code)(Java Doc) public Scope getScope()(Code)(Java Doc) public Token getSpecial(String key)(Code)(Java Doc) public boolean hasAnyChildren()(Code)(Java Doc) protected void init()(Code)(Java Doc) public boolean isRequired()(Code)(Java Doc) public Object jjtAccept(JavaParserVisitor visitor, Object data)(Code)(Java Doc) public void jjtAddChild(Node n, int i)(Code)(Java Doc) public void jjtAddFirstChild(Node n)(Code)(Java Doc) public void jjtClose()(Code)(Java Doc) public void jjtDeleteChild(int i)(Code)(Java Doc) public Node jjtGetChild(int i)(Code)(Java Doc) public Node jjtGetFirstChild()(Code)(Java Doc) public int jjtGetID()(Code)(Java Doc) public int jjtGetNumChildren()(Code)(Java Doc) public Node jjtGetParent()(Code)(Java Doc) public void jjtInsertChild(Node n, int i)(Code)(Java Doc) public void jjtOpen()(Code)(Java Doc) public void jjtSetParent(Node n)(Code)(Java Doc) protected String printModifiers()(Code)(Java Doc) public void removeSpecial(String key)(Code)(Java Doc) public void setLineAndColumnInfo(int beginLine, int beginColumn, int endLine, int endColumn)(Code)(Java Doc) public void setScope(Scope scope)(Code)(Java Doc) public void testingOnly__setBeginColumn(int i)(Code)(Java Doc) public void testingOnly__setBeginLine(int i)(Code)(Java Doc) public String toString()(Code)(Java Doc) public String toString(String prefix)(Code)(Java Doc)
|
|
|