public interface SourceLocation
| Modifier and Type | Method and Description |
|---|---|
CompilationUnit |
getCompilationUnit(ClassFile cf)
Returns an AST for the specified class file.
|
java.lang.String |
getLocationAsString()
Returns a string representation of this source location.
|
CompilationUnit getCompilationUnit(ClassFile cf) throws java.io.IOException
cf - The class file to grab the AST for.null if it cannot be found.java.io.IOException - If an IO error occurs.java.lang.String getLocationAsString()
null if
it is not an accessible location.