|
org.netbeans.modules.java.source 0.80.1 17 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ClasspathInfo | |
---|---|
org.netbeans.api.java.source | Permits inspection and modification of the structure of Java sources. |
Uses of ClasspathInfo in org.netbeans.api.java.source |
---|
Methods in org.netbeans.api.java.source that return ClasspathInfo | |
---|---|
static ClasspathInfo |
ClasspathInfo.create(ClassPath bootPath,
ClassPath classPath,
ClassPath sourcePath)
|
static ClasspathInfo |
ClasspathInfo.create(Document doc)
Creates a new instance of the ClasspathInfo for given Document. |
static ClasspathInfo |
ClasspathInfo.create(File file)
Creates new interface to the compiler |
static ClasspathInfo |
ClasspathInfo.create(FileObject fo)
Creates new interface to the compiler |
ClasspathInfo |
JavaSource.getClasspathInfo()
Returns the classpaths ( ClasspathInfo ) used by this
JavaSource |
ClasspathInfo |
CompilationInfo.getClasspathInfo()
Returns ClasspathInfo for which this CompilationInfo was created. |
Methods in org.netbeans.api.java.source with parameters of type ClasspathInfo | |
---|---|
static JavaSource |
JavaSource.create(ClasspathInfo cpInfo,
Collection<? extends FileObject> files)
Returns a JavaSource instance representing given FileObject s
and classpath represented by given ClasspathInfo . |
static JavaSource |
JavaSource.create(ClasspathInfo cpInfo,
FileObject... files)
Returns a JavaSource instance representing given FileObject s
and classpath represented by given ClasspathInfo . |
static TreePathHandle |
TreePathHandle.from(ElementHandle<?> handle,
ClasspathInfo cpInfo)
Constructs a TreePathHandle that corresponds to the given ElementHandle . |
static FileObject |
SourceUtils.getFile(Element element,
ClasspathInfo cpInfo)
Deprecated. use SourceUtils.getFile(ElementHandle, ClasspathInfo) |
static FileObject |
SourceUtils.getFile(ElementHandle<? extends Element> handle,
ClasspathInfo cpInfo)
Returns a FileObject of the source file in which the handle is declared. |
static URL |
SourceUtils.getJavadoc(Element element,
ClasspathInfo cpInfo)
Finds URL of a javadoc page for given element when available. |
static boolean |
SourceUtils.isMainClass(String qualifiedName,
ClasspathInfo cpInfo)
Returns true when the class contains main method. |
static boolean |
SourceUtils.isMainClass(String qualifiedName,
ClasspathInfo cpInfo,
boolean optimistic)
Returns true when the class contains main method. |
static boolean |
UiUtils.open(ClasspathInfo cpInfo,
Element el)
Deprecated. Use org.netbeans.api.java.source.ui.ElementOpen#open(org.netbeans.api.java.source.ClasspathInfo, org.netbeans.api.java.source.ElementHandle)
of the org.netbeans.modules.java.sourceui module |
|
org.netbeans.modules.java.source 0.80.1 17 | |||||||||
PREV NEXT | FRAMES NO FRAMES |