public class CustomJavaManager extends JavaManager
CustomJavaManager is an extension of the JavaManager
API to support the notion of a "SYSTEM_CLASSPATH" as it was in old JOT.
All this really is, is a backup URLPath to resort for locating *.class
files.
It is the responsibility of the client to keep track of this backup
URLPath, and to create a new SystemJavaManager instance if the URLPath
changes.JavaManager.TransactionCommandJavaModel.CacheTracker_project_cacheSupport, _classLocator, _fileProvider| Modifier and Type | Method and Description |
|---|---|
JavaClassLocator |
getJavaClassLocator()
Fetch a JavaClassLocator instance for fetching package and class
information.
|
JavaFile |
getOwningFile(JavaClass javaClass)
Fetch the JavaFile containing the given JavaClass instance.
|
static CustomJavaManager |
newInstance(Project project,
URLPath systemURLPath)
Gets a new CustomJavaManager for the given project and backup URL
path.
|
void |
reloadProjectPaths()
Force the combined provider to reload all its path information.
|
beginTransaction, commitTransaction, commitTransaction, commitTransaction, commitTransactionNoUndo, getAnyInstance, getAnyInstance, getAnyJavaManager, getDefiningLibrary, getDefiningProject, getDependencies, getInstance, getInstance, getInstance, getJavaManager, getJavaManager, isDefinedIncreateSourceFile, finalize, getArrayType, getCacheSupport, getClass, getClass, getClassByVMName, getClassLoader, getClassLoader, getFile, getJdkVersion, getPackage, getSourceClass, getSourceFile, getSourceFile, getTextBufferpublic static CustomJavaManager newInstance(Project project, URLPath systemURLPath)
public JavaFile getOwningFile(JavaClass javaClass)
public void reloadProjectPaths()
public JavaClassLocator getJavaClassLocator()
getJavaClassLocator in class JavaModel