Package org.sonar.java.model.statement
Class BreakStatementTreeImpl
- java.lang.Object
-
- org.sonar.java.model.JavaTree
-
- org.sonar.java.model.statement.BreakStatementTreeImpl
-
- All Implemented Interfaces:
BreakStatementTree
,StatementTree
,Tree
public class BreakStatementTreeImpl extends JavaTree implements BreakStatementTree
-
-
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.JavaTree
grammarRuleKey
-
-
Constructor Summary
Constructors Constructor Description BreakStatementTreeImpl(InternalSyntaxToken breakToken, IdentifierTreeImpl label, InternalSyntaxToken semicolonToken)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(TreeVisitor visitor)
SyntaxToken
breakKeyword()
Iterable<Tree>
children()
Creates iterable for children of this node.Tree.Kind
kind()
IdentifierTree
label()
SyntaxToken
semicolonToken()
-
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.Tree
firstToken, is, lastToken, parent
-
-
-
-
Constructor Detail
-
BreakStatementTreeImpl
public BreakStatementTreeImpl(InternalSyntaxToken breakToken, @Nullable IdentifierTreeImpl label, InternalSyntaxToken semicolonToken)
-
-
Method Detail
-
breakKeyword
public SyntaxToken breakKeyword()
- Specified by:
breakKeyword
in interfaceBreakStatementTree
-
label
@Nullable public IdentifierTree label()
- Specified by:
label
in interfaceBreakStatementTree
-
semicolonToken
public SyntaxToken semicolonToken()
- Specified by:
semicolonToken
in interfaceBreakStatementTree
-
accept
public void accept(TreeVisitor visitor)
-
-