public class JavaRunConfigurationModule extends RunConfigurationModule
Constructor and Description |
---|
JavaRunConfigurationModule(Project project,
boolean classesInLibs) |
Modifier and Type | Method and Description |
---|---|
PsiClass |
checkClassName(java.lang.String className,
java.lang.String errorMessage) |
PsiClass |
checkModuleAndClassName(java.lang.String className,
java.lang.String expectedClassMessage) |
PsiClass |
findClass(java.lang.String qualifiedName) |
PsiClass |
findNotNullClass(java.lang.String className) |
static java.util.Collection<Module> |
getModulesForClass(Project project,
java.lang.String className) |
GlobalSearchScope |
getSearchScope() |
checkForWarning, findModule, getModule, getModuleName, getProject, init, readExternal, setModule, setModuleName, setModuleToAnyFirstIfNotSpecified, writeExternal
public JavaRunConfigurationModule(Project project, boolean classesInLibs)
public PsiClass findClass(java.lang.String qualifiedName)
public GlobalSearchScope getSearchScope()
public static java.util.Collection<Module> getModulesForClass(Project project, java.lang.String className)
public PsiClass findNotNullClass(java.lang.String className) throws RuntimeConfigurationWarning
RuntimeConfigurationWarning
public PsiClass checkModuleAndClassName(java.lang.String className, java.lang.String expectedClassMessage) throws RuntimeConfigurationException
RuntimeConfigurationException
public PsiClass checkClassName(java.lang.String className, java.lang.String errorMessage) throws RuntimeConfigurationException
RuntimeConfigurationException