Class TargetDirectoryLocator


  • public class TargetDirectoryLocator
    extends java.lang.Object
    Date: 10/18/2016
    Author:
    Yaron Yamin
    See Also:
    CreateTestDialog
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void collectSuitableDestinationSourceRoots​(@NotNull com.intellij.openapi.module.Module module, @NotNull java.util.List<com.intellij.openapi.vfs.VirtualFile> result)  
      com.intellij.psi.PsiDirectory getOrCreateDirectory​(@NotNull com.intellij.openapi.project.Project project, com.intellij.psi.PsiPackage targetPackage, com.intellij.openapi.module.Module targetModule)  
      static boolean isForGeneratedSources​(com.intellij.openapi.roots.SourceFolder sourceFolder)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TargetDirectoryLocator

        public TargetDirectoryLocator()
    • Method Detail

      • getOrCreateDirectory

        public com.intellij.psi.PsiDirectory getOrCreateDirectory​(@NotNull
                                                                  @NotNull com.intellij.openapi.project.Project project,
                                                                  com.intellij.psi.PsiPackage targetPackage,
                                                                  com.intellij.openapi.module.Module targetModule)
      • collectSuitableDestinationSourceRoots

        public static void collectSuitableDestinationSourceRoots​(@NotNull
                                                                 @NotNull com.intellij.openapi.module.Module module,
                                                                 @NotNull
                                                                 @NotNull java.util.List<com.intellij.openapi.vfs.VirtualFile> result)
        See Also:
        (*added in v15)
      • isForGeneratedSources

        public static boolean isForGeneratedSources​(com.intellij.openapi.roots.SourceFolder sourceFolder)
        See Also:
        JavaProjectRootsUtil.isForGeneratedSources(com.intellij.openapi.roots.SourceFolder)