| java.lang.Object net.sourceforge.jrefactory.ast.SimpleNode net.sourceforge.jrefactory.ast.ASTActualTypeArgument
ASTActualTypeArgument | public class ASTActualTypeArgument extends SimpleNode (Code) | | Stores an Actual Type Parameter (new to JDK 1.5). Created by the parser.
author: Mike Atkinson since: jRefactory 2.9.0, created October 16, 2003 |
Method Summary | |
public boolean | hasExtends() | public boolean | hasSuper() | public boolean | hasWildcard() Does the actual type argument take the form <?,> or <? extends ReferenceType> or <? super
ReferenceType>? If not it is a ReferenceType. | public Object | jjtAccept(JavaParserVisitor visitor, Object data) Accept the visitor.
Parameters: visitor - An implementation of JavaParserVisitor that processes the ASTActualTypeArgument node. Parameters: data - Some data being passed between the visitor methods. | public void | setExtends() Sets the extends attribute of the ASTActualTypeArgument node. | public void | setSuper() Sets the super attribute of the ASTActualTypeArgument node. | public void | setWildcard() Sets the wildcard attribute of the ASTActualTypeArgument node. |
ASTActualTypeArgument | public ASTActualTypeArgument(int identifier)(Code) | | Constructor for the ASTActualTypeArgument node.
Parameters: identifier - The id of this node (JJTACTUALTYPEARGUMENT). |
ASTActualTypeArgument | public ASTActualTypeArgument(JavaParser parser, int identifier)(Code) | | Constructor for the ASTActualTypeArgument node.
Parameters: parser - The JavaParser that created this ASTActualTypeArgument node. Parameters: identifier - The id of this node (JJTACTUALTYPEARGUMENT) |
hasExtends | public boolean hasExtends()(Code) | | Does the actual type argument take the form <? extends ReferenceType>?
true if the type argument has an extends part. |
hasSuper | public boolean hasSuper()(Code) | | Does the actual type argument take the form <? super ReferenceType>?
true if the type argument has a super part. |
hasWildcard | public boolean hasWildcard()(Code) | | Does the actual type argument take the form <?,> or <? extends ReferenceType> or <? super
ReferenceType>? If not it is a ReferenceType.
true if the type argument is a wildcard ("?"). |
jjtAccept | public Object jjtAccept(JavaParserVisitor visitor, Object data)(Code) | | Accept the visitor.
Parameters: visitor - An implementation of JavaParserVisitor that processes the ASTActualTypeArgument node. Parameters: data - Some data being passed between the visitor methods. Usually the data parameter (possibly modified). |
setExtends | public void setExtends()(Code) | | Sets the extends attribute of the ASTActualTypeArgument node.
|
setSuper | public void setSuper()(Code) | | Sets the super attribute of the ASTActualTypeArgument node.
|
setWildcard | public void setWildcard()(Code) | | Sets the wildcard attribute of the ASTActualTypeArgument node.
|
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)
|
|
|