public interface CompilationUnit
| Modifier and Type | Method and Description |
|---|---|
long |
getLastModified()
Return the last modified for the compilation unit.
|
String |
getMainClassName()
Returns the name of the top level public type.
|
Reader |
getSource()
Return an input stream for the contents.
|
Reader getSource() throws IOException
IOExceptionString getMainClassName()
long getLastModified()
-1 if
the information can't be detected.Copyright © 2017 The Apache Software Foundation. All rights reserved.