public class JavaModuleGraphUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static boolean |
exports(PsiJavaModule source,
java.lang.String packageName,
PsiJavaModule target) |
static Trinity<java.lang.String,PsiJavaModule,PsiJavaModule> |
findConflict(PsiJavaModule module) |
static java.util.Collection<PsiJavaModule> |
findCycle(PsiJavaModule module) |
static PsiJavaModule |
findDescriptorByElement(PsiElement element) |
static PsiJavaModule |
findDescriptorByFile(VirtualFile file,
Project project) |
static PsiJavaModule |
findDescriptorByModule(Module module,
boolean inTests) |
static PsiJavaModule |
findOrigin(PsiJavaModule module,
java.lang.String packageName) |
static java.util.Set<PsiJavaModule> |
getAllDependencies(PsiJavaModule source) |
static boolean |
reads(PsiJavaModule source,
PsiJavaModule destination) |
public static PsiJavaModule findDescriptorByElement(PsiElement element)
public static PsiJavaModule findDescriptorByFile(VirtualFile file, Project project)
public static PsiJavaModule findDescriptorByModule(Module module, boolean inTests)
public static java.util.Collection<PsiJavaModule> findCycle(PsiJavaModule module)
public static boolean exports(PsiJavaModule source, java.lang.String packageName, PsiJavaModule target)
public static boolean reads(PsiJavaModule source, PsiJavaModule destination)
public static java.util.Set<PsiJavaModule> getAllDependencies(PsiJavaModule source)
public static Trinity<java.lang.String,PsiJavaModule,PsiJavaModule> findConflict(PsiJavaModule module)
public static PsiJavaModule findOrigin(PsiJavaModule module, java.lang.String packageName)