Class ASTMemberValuePairs
- java.lang.Object
-
- net.sourceforge.pmd.lang.ast.AbstractNode
-
- net.sourceforge.pmd.lang.java.ast.AbstractJavaNode
-
- net.sourceforge.pmd.lang.java.ast.ASTMemberValuePairs
-
- All Implemented Interfaces:
java.lang.Iterable<ASTMemberValuePair>
,net.sourceforge.pmd.lang.ast.Node
,JavaNode
,net.sourceforge.pmd.lang.symboltable.ScopedNode
public class ASTMemberValuePairs extends AbstractJavaNode implements java.lang.Iterable<ASTMemberValuePair>
Represents a list of member values in an annotation.MemberValuePairs ::= MemberValuePair ( "," MemberValuePair )*
-
-
Field Summary
-
Fields inherited from class net.sourceforge.pmd.lang.java.ast.AbstractJavaNode
parser
-
-
Constructor Summary
Constructors Constructor Description ASTMemberValuePairs(int id)
ASTMemberValuePairs(JavaParser p, int id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<ASTMemberValuePair>
iterator()
java.lang.Object
jjtAccept(JavaParserVisitor visitor, java.lang.Object data)
Accept the visitorASTMemberValuePair
jjtGetChild(int index)
ASTNormalAnnotation
jjtGetParent()
-
Methods inherited from class net.sourceforge.pmd.lang.java.ast.AbstractJavaNode
childrenAccept, comment, comment, getScope, getXPathNodeName, jjtClose, jjtOpen, setScope
-
Methods inherited from class net.sourceforge.pmd.lang.ast.AbstractNode
appendElement, findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, getXPathAttributesIterator, hasDecendantOfAnyType, hasDescendantMatchingXPath, hasDescendantOfAnyType, hasDescendantOfType, hasImageEqualTo, isFindBoundary, isSingleLine, jjtAddChild, jjtGetChildIndex, jjtGetFirstToken, jjtGetId, jjtGetLastToken, jjtGetNumChildren, jjtSetChildIndex, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData, testingOnlySetBeginColumn, testingOnlySetBeginLine, testingOnlySetEndColumn, testingOnlySetEndLine, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sourceforge.pmd.lang.ast.Node
findChildNodesWithXPath, findChildrenOfType, findDescendantsOfType, findDescendantsOfType, getAsDocument, getBeginColumn, getBeginLine, getDataFlowNode, getEndColumn, getEndLine, getFirstChildOfType, getFirstDescendantOfType, getFirstParentOfAnyType, getFirstParentOfType, getImage, getNthParent, getParentsOfType, getUserData, getXPathAttributesIterator, hasDescendantMatchingXPath, hasDescendantOfType, hasImageEqualTo, isFindBoundary, jjtAddChild, jjtGetChildIndex, jjtGetId, jjtGetNumChildren, jjtSetChildIndex, jjtSetParent, remove, removeChildAtIndex, setDataFlowNode, setImage, setUserData
-
-
-
-
Constructor Detail
-
ASTMemberValuePairs
public ASTMemberValuePairs(int id)
-
ASTMemberValuePairs
public ASTMemberValuePairs(JavaParser p, int id)
-
-
Method Detail
-
jjtAccept
public java.lang.Object jjtAccept(JavaParserVisitor visitor, java.lang.Object data)
Description copied from class:AbstractJavaNode
Accept the visitor. *- Specified by:
jjtAccept
in interfaceJavaNode
- Overrides:
jjtAccept
in classAbstractJavaNode
-
jjtGetChild
public ASTMemberValuePair jjtGetChild(int index)
- Specified by:
jjtGetChild
in interfacenet.sourceforge.pmd.lang.ast.Node
- Overrides:
jjtGetChild
in classnet.sourceforge.pmd.lang.ast.AbstractNode
-
jjtGetParent
public ASTNormalAnnotation jjtGetParent()
- Specified by:
jjtGetParent
in interfacenet.sourceforge.pmd.lang.ast.Node
- Overrides:
jjtGetParent
in classnet.sourceforge.pmd.lang.ast.AbstractNode
-
iterator
public java.util.Iterator<ASTMemberValuePair> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<ASTMemberValuePair>
-
-