public class ClsRequiresStatementImpl extends ClsRepositoryPsiElement<PsiRequiresStatementStub> implements PsiRequiresStatement
ClsElementImpl.InvalidMirrorExceptionIconable.IconFlags, Iconable.LastComputedIconCOMPILED_ELEMENT, NEXT_LINEFLAGS_LOCKED, ICON_PLACEHOLDEREMPTY_ARRAYARRAY_FACTORYICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITYEMPTY_NAVIGATABLE_ELEMENT_ARRAYEMPTY_NAVIGATION_ITEM_ARRAY| Constructor and Description |
|---|
ClsRequiresStatementImpl(PsiRequiresStatementStub stub) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendMirrorText(int indentLevel,
java.lang.StringBuilder buffer) |
PsiModifierList |
getModifierList()
Returns the list of modifiers for the element.
|
java.lang.String |
getModuleName() |
PsiJavaModuleReference |
getModuleReference() |
PsiJavaModuleReferenceElement |
getReferenceElement() |
boolean |
hasModifierProperty(java.lang.String name)
Checks if the element has the specified modifier.
|
void |
setMirror(TreeElement element) |
java.lang.String |
toString()
toString() should never be presented to the user.
|
getChildren, getContainingFile, getElementType, getFirstChild, getLastChild, getManager, getNextSibling, getParent, getPrevSibling, getStub, isPhysicaladd, addAfter, addBefore, appendText, appendText, checkAdd, checkDelete, copy, delete, findElementAt, findReferenceAt, getChildren, getIndentSize, getLanguage, getMirror, getNode, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, isValid, isWritable, replace, setMirror, setMirrorCheckingType, setMirrorIfPresent, setMirrors, setMirrors, textMatches, textMatches, textToCharArrayaccept, acceptChildren, addRange, addRangeAfter, addRangeBefore, canNavigate, canNavigateToSource, deleteChildRange, findChildByClass, findChildrenByClass, findNotNullChildByClass, getContext, getName, getNavigationElement, getOriginalElement, getPresentation, getProject, getReference, getReferences, getResolveScope, getUseScope, isEquivalentTo, navigate, notNullChild, processDeclarations, textContainsbuildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getElementIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, overlayIcons, registerIconLayer, transformFlagschangeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMapequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitresolvegetAnnotation, getAnnotations, hasAnnotation, hasModifieraccept, acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getCopyableUserData, getFirstChild, getLanguage, getLastChild, getManager, getNavigationElement, getNextSibling, getNode, getOriginalElement, getOwnReferences, getParent, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, getTextRangeInParent, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArraygetUserData, putUserDatapublic ClsRequiresStatementImpl(PsiRequiresStatementStub stub)
public PsiJavaModuleReferenceElement getReferenceElement()
getReferenceElement in interface PsiRequiresStatementpublic java.lang.String getModuleName()
getModuleName in interface PsiRequiresStatementpublic PsiJavaModuleReference getModuleReference()
getModuleReference in interface PsiRequiresStatementpublic void appendMirrorText(int indentLevel,
java.lang.StringBuilder buffer)
appendMirrorText in class ClsElementImplpublic void setMirror(TreeElement element) throws ClsElementImpl.InvalidMirrorException
setMirror in class ClsElementImplClsElementImpl.InvalidMirrorExceptionpublic PsiModifierList getModifierList()
PsiModifierListOwnergetModifierList in interface PsiModifierListOwnerpublic boolean hasModifierProperty(java.lang.String name)
PsiModifierListOwnerPsiModifier class.hasModifierProperty in interface PsiModifierListOwnername - the name of the modifier to check.public java.lang.String toString()
PsiElementtoString in interface PsiElementtoString in class java.lang.Object