public final class ModuleOpensStmt extends ModuleStmt implements NodeWithName<ModuleOpensStmt>
opens R.S to T1.U1, T2.U2;Node.BreadthFirstIterator, Node.DirectChildrenIterator, Node.ObserverRegistrationMode, Node.ParentsVisitor, Node.Parsedness, Node.PostOrderIterator, Node.PreOrderIterator, Node.TreeTraversalABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE, NODE_BY_BEGIN_POSITION, prettyPrinterNoCommentsConfiguration, SYMBOL_RESOLVER_KEY| Constructor and Description |
|---|
ModuleOpensStmt() |
ModuleOpensStmt(Name name,
NodeList<Name> moduleNames) |
ModuleOpensStmt(TokenRange tokenRange,
Name name,
NodeList<Name> moduleNames)
This constructor is used by the parser and is considered private.
|
| Modifier and Type | Method and Description |
|---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
ModuleOpensStmt |
asModuleOpensStmt() |
ModuleOpensStmt |
clone() |
ModuleOpensStmtMetaModel |
getMetaModel() |
NodeList<Name> |
getModuleNames() |
Name |
getName() |
void |
ifModuleOpensStmt(Consumer<ModuleOpensStmt> action) |
boolean |
isModuleOpensStmt() |
boolean |
remove(Node node) |
boolean |
replace(Node node,
Node replacementNode) |
ModuleOpensStmt |
setModuleNames(NodeList<Name> moduleNames) |
ModuleOpensStmt |
setName(Name name) |
Optional<ModuleOpensStmt> |
toModuleOpensStmt() |
asModuleExportsStmt, asModuleProvidesStmt, asModuleRequiresStmt, asModuleUsesStmt, ifModuleExportsStmt, ifModuleProvidesStmt, ifModuleRequiresStmt, ifModuleUsesStmt, isModuleExportsStmt, isModuleProvidesStmt, isModuleRequiresStmt, isModuleUsesStmt, toModuleExportsStmt, toModuleProvidesStmt, toModuleRequiresStmt, toModuleUsesStmtaddOrphanComment, containsData, customInitialization, equals, findAll, findAll, findCompilationUnit, findFirst, findFirst, findFirst, findRootNode, getAllContainedComments, getChildNodes, getChildNodesByType, getComment, getData, getNodesByType, getOrphanComments, getParentNode, getParentNodeForChildren, getParsed, getRange, getSymbolResolver, getTokenRange, hasComment, hashCode, isRegistered, notifyPropertyChange, register, register, registerForSubtree, remove, removeComment, removeForced, removeOrphanComment, replace, setAsParentNodeOf, setAsParentNodeOf, setBlockComment, setComment, setData, setLineComment, setParentNode, setParsed, setRange, setTokenRange, stream, stream, toString, toString, tryAddImportToParentCompilationUnit, unregister, walk, walk, walkfinalize, getClass, notify, notifyAll, wait, wait, waitgetNameAsString, setNamefindAncestor, findAncestor, findParent, getAncestorOfTypecontainsWithin, getBegin, getEnd, isPositionedAfter, isPositionedBeforepublic ModuleOpensStmt()
public ModuleOpensStmt(TokenRange tokenRange, Name name, NodeList<Name> moduleNames)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Visitableaccept in interface VisitableR - the type of the return value of the visitorA - the type the user argument passed to the visitorv - the visitor implementationarg - the argument passed to the visitor (of type A)public <A> void accept(VoidVisitor<A> v, A arg)
Visitablepublic boolean remove(Node node)
remove in class ModuleStmtpublic Name getName()
getName in interface NodeWithName<ModuleOpensStmt>public ModuleOpensStmt setName(Name name)
setName in interface NodeWithName<ModuleOpensStmt>public ModuleOpensStmt setModuleNames(NodeList<Name> moduleNames)
public ModuleOpensStmt clone()
clone in class ModuleStmtpublic ModuleOpensStmtMetaModel getMetaModel()
getMetaModel in class ModuleStmtpublic boolean replace(Node node, Node replacementNode)
replace in class ModuleStmtpublic boolean isModuleOpensStmt()
isModuleOpensStmt in class ModuleStmtpublic ModuleOpensStmt asModuleOpensStmt()
asModuleOpensStmt in class ModuleStmtpublic void ifModuleOpensStmt(Consumer<ModuleOpensStmt> action)
ifModuleOpensStmt in class ModuleStmtpublic Optional<ModuleOpensStmt> toModuleOpensStmt()
toModuleOpensStmt in class ModuleStmtCopyright © 2007–2018. All rights reserved.