- All Superinterfaces:
PsiElement,PsiExternalReferenceHost,UrlReferenceHost
Represents a comment in a code.
-
Field Summary
Fields inherited from interface com.intellij.psi.PsiElement
EMPTY_ARRAY -
Method Summary
Modifier and TypeMethodDescription@NotNull IElementTypeReturns the token type of the comment (likeJavaTokenType.END_OF_LINE_COMMENTorJavaTokenType.C_STYLE_COMMENT).Methods inherited from interface com.intellij.psi.PsiElement
add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getFirstChild, getLanguage, getLastChild, getNavigationElement, getNextSibling, getNode, getOriginalElement, getParent, getPrevSibling, getReference, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, isEquivalentTo, isPhysical, isValid, isWritable, replace, textContains, textMatches, textMatches, textToCharArray, toString
-
Method Details
-
getTokenType
Returns the token type of the comment (likeJavaTokenType.END_OF_LINE_COMMENTorJavaTokenType.C_STYLE_COMMENT).
-