public class PsiJavaDirectoryImpl extends PsiDirectoryImpl
Iconable.IconFlags, Iconable.LastComputedIconQueryable.Contributor, Queryable.PrintInfo, Queryable.UtilFLAGS_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 | 
|---|
PsiJavaDirectoryImpl(PsiManagerImpl manager,
                    VirtualFile file)  | 
| Modifier and Type | Method and Description | 
|---|---|
PsiElement | 
add(PsiElement element)
Adds a child to this PSI element. 
 | 
void | 
checkAdd(PsiElement element)
Checks if it is possible to add the specified element as a child to this element,
 and throws an exception if the add is not possible. 
 | 
void | 
checkCreateFile(java.lang.String name)
Checks if it's possible to create a file with the specified name in the directory,
 and throws an exception if the creation is not possible. 
 | 
ItemPresentation | 
getPresentation()  | 
accept, addAfter, addBefore, canNavigateToSource, checkCreateSubdirectory, checkDelete, checkSetName, copy, copyFileFrom, createFile, createSubdirectory, delete, equals, executeWithUpdatingAddedFilesDisabled, findElementAt, findFile, findSubdirectory, getChildren, getContainingFile, getElementIcon, getFiles, getLanguage, getManager, getName, getNode, getParent, getParentDirectory, getStartOffsetInParent, getSubdirectories, getText, getTextLength, getTextOffset, getTextRange, getVirtualFile, hashCode, isDirectory, isPhysical, isValid, isWritable, navigate, processChildren, putInfo, replace, setName, textMatches, textMatches, textToCharArray, toStringacceptChildren, addRange, addRangeAfter, addRangeBefore, canNavigate, deleteChildRange, findChildByClass, findChildrenByClass, findNotNullChildByClass, findReferenceAt, getContext, getFirstChild, getLastChild, getNavigationElement, getNextSibling, getOriginalElement, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getUseScope, isEquivalentTo, notNullChild, processDeclarations, textContainsbuildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, overlayIcons, registerIconLayer, transformFlagschangeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMapfinalize, getClass, notify, notifyAll, wait, wait, waitacceptChildren, addRange, addRangeAfter, addRangeBefore, deleteChildRange, findReferenceAt, getContext, getCopyableUserData, getFirstChild, getLastChild, getNavigationElement, getNextSibling, getOriginalElement, getOwnReferences, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getTextRangeInParent, getUseScope, isEquivalentTo, processDeclarations, putCopyableUserData, textContainsgetUserData, putUserDatacanNavigatepublic PsiJavaDirectoryImpl(PsiManagerImpl manager, VirtualFile file)
public void checkCreateFile(java.lang.String name)
                     throws IncorrectOperationException
PsiDirectorycheckCreateFile in interface PsiDirectorycheckCreateFile in class PsiDirectoryImplname - the name of the file to check creation possibility.IncorrectOperationException - if the creation is not possible.public PsiElement add(PsiElement element) throws IncorrectOperationException
PsiElementadd in interface PsiElementadd in class PsiDirectoryImplelement - the child element to add.element or its copy).IncorrectOperationException - if the modification is not supported or not possible for some reason.public void checkAdd(PsiElement element) throws IncorrectOperationException
PsiElementcheckAdd in interface PsiElementcheckAdd in class PsiDirectoryImplelement - the child element to check the add possibility.IncorrectOperationException - if the modification is not supported or not possible for some reason.public ItemPresentation getPresentation()
getPresentation in interface NavigationItemgetPresentation in class PsiDirectoryImpl