public interface SourceModuleRequires extends JavaModuleRequires, SourceHasName, SourceHasVersion
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 |
|---|---|
void |
setStaticPhase(boolean isStaticPhase)
Add or remove the static phase modifier of the requires statement.
|
void |
setTransitive(boolean isTransitive)
Add or remove the transitive modifier of the requires statement.
|
getModuleName, getVersion, isStaticPhase, isTransitivegetNamegetElementKind, getFile, getModifiers, getOwner, getSourceElement, isDeprecated, isFinal, isHidden, isMandated, isSourceElement, isSynthetic, printCompiledInfogetName, getNameElement, setName, setNameElementgetVersion, getVersionElement, setVersion, setVersionElementaddSelf, 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, visitSelfvoid setTransitive(boolean isTransitive)
isTransitive - True if the requires should have the transitive modifiervoid setStaticPhase(boolean isStaticPhase)
isStaticPhase - True if the requires should have the static phase modifier