public interface SourceModuleOpens extends JavaModuleOpens, SourceHasName
EMPTY_ARRAYCHILDREN_ALL, CHILDREN_BLANKLINES, CHILDREN_COMMENTS, CHILDREN_default, CHILDREN_none, CHILDREN_REGULAR, EMPTY_ARRAY, PRINT_ALL, REFORMAT_ALL, REFORMAT_INDENT| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPackageName()
Get the package name of this module opens statement.
|
SourceModuleOpensTo |
getSourceModuleOpensTo()
Get the to clause of the module opens statement.
|
boolean |
hasSourceModuleOpensTo()
Determine if this module opens has a to clause.
|
void |
setPackageName(java.lang.String packageName)
Change the package name of this module opens statement.
|
getModuleNamesgetElementKind, getFile, getModifiers, getOwner, getSourceElement, isDeprecated, isFinal, isHidden, isMandated, isSourceElement, isSynthetic, printCompiledInfogetName, getNameElement, setName, setNameElementaddSelf, addSelf, addSelfAfter, addSelfBefore, adjustTextIndentation, clearBinding, cloneSelf, compile, createContext, getBinding, getChildren, getChildren, getCompiledObject, getContainedElements, getContext, getEndOffset, getFirstToken, getJdkVersion, getLastToken, getOwningFile, getOwningSourceFile, getParent, getSiblingAfter, getSiblingAfter, getSiblingBefore, getSiblingBefore, getSiblings, getSiblings, getStartOffset, getSymbolKind, getText, getTokens, getTokens, hasErrors, print, print, print, print, reformatSelf, removeSelf, replaceSelf, resolve, setBinding, setContext, visitSelfjava.lang.String getPackageName()
getPackageName in interface JavaModuleOpensvoid setPackageName(java.lang.String packageName)
packageName - The new package namejava.lang.IllegalArgumentException - if the incoming packageName is
not a valid package nameboolean hasSourceModuleOpensTo()
SourceModuleOpensTo getSourceModuleOpensTo()