Package org.sonar.java.model.expression
Class ParenthesizedTreeImpl
- java.lang.Object
-
- org.sonar.java.model.JavaTree
-
- org.sonar.java.model.AbstractTypedTree
-
- org.sonar.java.model.expression.ParenthesizedTreeImpl
-
- All Implemented Interfaces:
ExpressionTree
,ParenthesizedTree
,Tree
public class ParenthesizedTreeImpl extends AbstractTypedTree implements ParenthesizedTree
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.sonar.java.model.JavaTree
JavaTree.AnnotatedTypeTree, JavaTree.ArrayTypeTreeImpl, JavaTree.CompilationUnitTreeImpl, JavaTree.ImportTreeImpl, JavaTree.NotImplementedTreeImpl, JavaTree.PackageDeclarationTreeImpl, JavaTree.ParameterizedTypeTreeImpl, JavaTree.PrimitiveTypeTreeImpl, JavaTree.UnionTypeTreeImpl, JavaTree.WildcardTreeImpl
-
-
Field Summary
-
Fields inherited from class org.sonar.java.model.AbstractTypedTree
typeBinding
-
Fields inherited from class org.sonar.java.model.JavaTree
grammarRuleKey, root
-
-
Constructor Summary
Constructors Constructor Description ParenthesizedTreeImpl(InternalSyntaxToken openParenToken, ExpressionTree expression, InternalSyntaxToken closeParenToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(TreeVisitor visitor)
Iterable<Tree>
children()
Creates iterable for children of this node.SyntaxToken
closeParenToken()
ExpressionTree
expression()
Tree.Kind
kind()
SyntaxToken
openParenToken()
-
Methods inherited from class org.sonar.java.model.AbstractTypedTree
symbolType
-
Methods inherited from class org.sonar.java.model.JavaTree
firstToken, getChildren, getGrammarRuleKey, getLine, is, isLeaf, lastToken, parent, setParent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.sonar.plugins.java.api.tree.ExpressionTree
symbolType
-
Methods inherited from interface org.sonar.plugins.java.api.tree.Tree
firstToken, is, lastToken, parent
-
-
-
-
Constructor Detail
-
ParenthesizedTreeImpl
public ParenthesizedTreeImpl(InternalSyntaxToken openParenToken, ExpressionTree expression, InternalSyntaxToken closeParenToken)
-
-
Method Detail
-
openParenToken
public SyntaxToken openParenToken()
- Specified by:
openParenToken
in interfaceParenthesizedTree
-
expression
public ExpressionTree expression()
- Specified by:
expression
in interfaceParenthesizedTree
-
closeParenToken
public SyntaxToken closeParenToken()
- Specified by:
closeParenToken
in interfaceParenthesizedTree
-
accept
public void accept(TreeVisitor visitor)
-
-