|
org.netbeans.modules.java.source 0.60.2 10 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use JavaSource | |
|---|---|
| org.netbeans.api.java.source | Permits inspection and modification of the structure of Java sources. |
| Uses of JavaSource in org.netbeans.api.java.source |
|---|
| Methods in org.netbeans.api.java.source that return JavaSource | |
|---|---|
static JavaSource |
JavaSource.create(ClasspathInfo cpInfo,
Collection<? extends FileObject> files)
Returns a JavaSource instance representing given FileObjects
and classpath represented by given ClasspathInfo. |
static JavaSource |
JavaSource.create(ClasspathInfo cpInfo,
FileObject... files)
Returns a JavaSource instance representing given FileObjects
and classpath represented by given ClasspathInfo. |
static JavaSource |
JavaSource.forDocument(Document doc)
Returns a JavaSource instance associated to the given Document,
it returns null if the Document is not
associated with data type providing the JavaSource. |
static JavaSource |
JavaSource.forFileObject(FileObject fileObject)
Returns a JavaSource instance associated to given FileObject,
it returns null if the Document is not associated with data type providing the JavaSource. |
JavaSource |
CompilationInfo.getJavaSource()
Deprecated. Works only when the CompilationInfo was created by JavaSource using the compatibility bridge, when the CompilationInfo was created by the parsing api it returns null. Use CompilationInfo.getSnapshot() instead. |
|
org.netbeans.modules.java.source 0.60.2 10 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||