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 TypeMethodDescriptionvoidaccept(TreeVisitor visitor) children()Creates iterable for children of this node.kind()Methods inherited from class org.sonar.java.model.declaration.ModuleDirectiveTreeImpl
directiveKeyword, semicolonTokenMethods inherited from class org.sonar.java.model.JavaTree
allTokens, firstToken, getChildren, getLine, is, isLeaf, lastToken, parent, setParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.sonar.plugins.java.api.tree.ModuleDirectiveTree
directiveKeyword, semicolonTokenMethods 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:
modifiersin interfaceRequiresDirectiveTree
-
moduleName
- Specified by:
moduleNamein interfaceRequiresDirectiveTree
-
children
-