Package org.sonar.java.model.declaration
Class RequiresDirectiveTreeImpl
java.lang.Object
org.sonar.java.model.JavaTree
org.sonar.java.model.declaration.ModuleDirectiveTreeImpl
org.sonar.java.model.declaration.RequiresDirectiveTreeImpl
- All Implemented Interfaces:
ModuleDirectiveTree
,RequiresDirectiveTree
,Tree
public class RequiresDirectiveTreeImpl
extends ModuleDirectiveTreeImpl
implements RequiresDirectiveTree
-
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
-
Constructor Summary
ConstructorsConstructorDescriptionRequiresDirectiveTreeImpl(InternalSyntaxToken requiresKeyword, ModifiersTree modifiers, ModuleNameTree moduleName, InternalSyntaxToken semicolonToken)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept(TreeVisitor visitor)
children()
Creates iterable for children of this node.kind()
Methods inherited from class org.sonar.java.model.declaration.ModuleDirectiveTreeImpl
directiveKeyword, semicolonToken
Methods inherited from class org.sonar.java.model.JavaTree
firstToken, getChildren, 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.ModuleDirectiveTree
directiveKeyword, semicolonToken
Methods inherited from interface org.sonar.plugins.java.api.tree.Tree
firstToken, is, lastToken, parent
-
Constructor Details
-
RequiresDirectiveTreeImpl
public RequiresDirectiveTreeImpl(InternalSyntaxToken requiresKeyword, ModifiersTree modifiers, ModuleNameTree moduleName, InternalSyntaxToken semicolonToken)
-
-
Method Details
-
accept
-
kind
-
modifiers
- Specified by:
modifiers
in interfaceRequiresDirectiveTree
-
moduleName
- Specified by:
moduleName
in interfaceRequiresDirectiveTree
-
children
Description copied from class:JavaTree
Creates iterable for children of this node. Note that iterable may containnull
elements.
-