@ConsumerType
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 a reader for the contents.
|
Reader getSource() throws IOException
IOException - If the source can't be read.String getMainClassName()
long getLastModified()
-1 if
the information can't be detected.Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.