public final class JavaExecutionUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static PsiClass |
findMainClass(Module module,
java.lang.String mainClassName) |
static PsiClass |
findMainClass(Project project,
java.lang.String mainClassName,
GlobalSearchScope scope) |
static Module |
findModule(Module contextModule,
java.util.Set<java.lang.String> patterns,
Project project,
Condition<? super PsiClass> isTestMethod) |
static Module |
findModule(PsiClass psiClass) |
static java.lang.String |
getPresentableClassName(java.lang.String rtClassName) |
static java.lang.String |
getPresentableClassName(java.lang.String rtClassName,
JavaRunConfigurationModule configurationModule)
Deprecated.
|
static java.lang.String |
getRuntimeQualifiedName(PsiClass aClass) |
static java.lang.String |
getShortClassName(java.lang.String fqName) |
static java.lang.String |
handleSpacesInAgentPath(java.lang.String agentPath,
java.lang.String copyDirName,
java.lang.String agentPathPropertyKey) |
static java.lang.String |
handleSpacesInAgentPath(java.lang.String agentPath,
java.lang.String copyDirName,
java.lang.String agentPathPropertyKey,
java.io.FileFilter fileFilter) |
static boolean |
isNewName(java.lang.String name) |
static void |
showExecutionErrorMessage(ExecutionException e,
java.lang.String title,
Project project)
Deprecated.
|
static Location |
stepIntoSingleClass(Location location) |
public static Module findModule(Module contextModule, java.util.Set<java.lang.String> patterns, Project project, Condition<? super PsiClass> isTestMethod)
public static java.lang.String getRuntimeQualifiedName(PsiClass aClass)
public static java.lang.String getPresentableClassName(java.lang.String rtClassName)
@Deprecated public static java.lang.String getPresentableClassName(java.lang.String rtClassName, JavaRunConfigurationModule configurationModule)
getPresentableClassName(String)
public static PsiClass findMainClass(Project project, java.lang.String mainClassName, GlobalSearchScope scope)
public static boolean isNewName(java.lang.String name)
public static java.lang.String getShortClassName(java.lang.String fqName)
@Deprecated public static void showExecutionErrorMessage(ExecutionException e, java.lang.String title, Project project)
public static java.lang.String handleSpacesInAgentPath(java.lang.String agentPath, java.lang.String copyDirName, java.lang.String agentPathPropertyKey)
public static java.lang.String handleSpacesInAgentPath(java.lang.String agentPath, java.lang.String copyDirName, java.lang.String agentPathPropertyKey, java.io.FileFilter fileFilter)