public class JavaFileElement extends FileElement
Iconable.IconFlags, Iconable.LastComputedIcon
EMPTY_ARRAY
FLAGS_LOCKED, ICON_PLACEHOLDER
ICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY
Constructor and Description |
---|
JavaFileElement(java.lang.CharSequence text) |
Modifier and Type | Method and Description |
---|---|
void |
deleteChildInternal(ASTNode child) |
ASTNode |
findChildByRole(int role) |
int |
getChildRole(ASTNode child) |
void |
replaceChildInternal(ASTNode child,
TreeElement newElement) |
clearCaches, copyElement, createPsiNoLock, detachFromFile, get, getCharTable, getLighterAST, getManager, getStubbedSpine, setCharTable
copyTo, getChars, getFirstChildNode, getLastChildNode, getText, getTextLength, hc, isParsed, rawAddChildrenWithoutNotifications, setParsingAllowed, textMatches
acceptTree, addChild, addChild, addChildren, addInternal, addLeaf, clone, countChildren, findChildByRoleAsPsiElement, findChildByType, findChildByType, findChildByType, findChildByType, findLeafElementAt, findPsiChildByType, findPsiChildByType, getCachedLength, getChildren, getChildrenAsPsiElements, getChildrenAsPsiElements, getChildRole, getPsi, getPsi, rawAddChildren, rawFirstChild, rawLastChild, rawRemoveAllChildren, removeAllChildren, removeChild, removeRange, replaceAllChildrenToChildrenOf, replaceChild, setPsi, subtreeChanged, textContains, textToCharArray
equals, getElementType, getStartOffset, getStartOffsetInParent, getTextOffset, getTextRange, getTreeNext, getTreeParent, getTreePrev, invalidate, onInvalidated, rawInsertAfterMe, rawInsertBeforeMe, rawRemove, rawRemoveUpTo, rawRemoveUpToLast, rawReplaceWithList, textMatches, textMatches, textMatches, toString
buildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getElementIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, overlayIcons, registerIconLayer, transformFlags
changeUserMap, clearUserData, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isParsed
addChild, addChild, addChildren, addLeaf, clone, findChildByType, findChildByType, findChildByType, findChildByType, findLeafElementAt, getChars, getChildren, getCopyableUserData, getElementType, getFirstChildNode, getLastChildNode, getPsi, getPsi, getStartOffset, getStartOffsetInParent, getText, getTextLength, getTextRange, getTreeNext, getTreeParent, getTreePrev, putCopyableUserData, removeChild, removeRange, replaceAllChildrenToChildrenOf, replaceChild, textContains
getUserData, putUserData
public void deleteChildInternal(ASTNode child)
deleteChildInternal
in class CompositeElement
public ASTNode findChildByRole(int role)
findChildByRole
in class CompositeElement
public int getChildRole(ASTNode child)
getChildRole
in class CompositeElement
public void replaceChildInternal(ASTNode child, TreeElement newElement)
replaceChildInternal
in class CompositeElement