|
org.netbeans.modules.java.source 0.13.0 1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.api.java.source.CompilationInfo
public class CompilationInfo
Asorted information about the JavaSource.
Method Summary | |
---|---|
ClasspathInfo |
getClasspathInfo()
|
CompilationUnitTree |
getCompilationUnit()
Returns the javac tree representing the source file. |
List<Diagnostic> |
getDiagnostics()
Returns the errors in the file represented by the JavaSource . |
Document |
getDocument()
|
Elements |
getElements()
|
ElementUtilities |
getElementUtilities()
|
FileObject |
getFileObject()
|
JavaSource |
getJavaSource()
|
JavaSource.Phase |
getPhase()
Returns the current phase of the JavaSource . |
String |
getText()
Returns the content of the file represented by the JavaSource . |
TokenHierarchy<Void> |
getTokenHierarchy()
|
Trees |
getTrees()
|
TreeUtilities |
getTreeUtilities()
|
Types |
getTypes()
|
TypeUtilities |
getTypeUtilities()
Get the TypeUtilities. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public JavaSource.Phase getPhase()
JavaSource
.
JavaSource.Phase
the state which was reached by the JavaSource
.public CompilationUnitTree getCompilationUnit()
CompilationUnitTree
the compilation unit cantaining the top level classes contained in the,
java source file. It may return null when the phase is less than JavaSource.Phase.PARSED
public String getText()
JavaSource
.
public TokenHierarchy<Void> getTokenHierarchy()
public List<Diagnostic> getDiagnostics()
JavaSource
.
Diagnostic
public Trees getTrees()
public Types getTypes()
public Elements getElements()
public JavaSource getJavaSource()
public ClasspathInfo getClasspathInfo()
public FileObject getFileObject()
public Document getDocument() throws IOException
IOException
public TreeUtilities getTreeUtilities()
public ElementUtilities getElementUtilities()
public TypeUtilities getTypeUtilities()
|
org.netbeans.modules.java.source 0.13.0 1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |