@ConsumerType public interface CompilationUnit
Modifier and Type | Method and Description |
---|---|
long |
getLastModified()
Return the last modified for the compilation unit.
|
java.lang.String |
getMainClassName()
Returns the name of the top level public type.
|
java.io.Reader |
getSource()
Return a reader for the contents.
|
java.io.Reader getSource() throws java.io.IOException
java.io.IOException
- If the source can't be read.java.lang.String getMainClassName()
long getLastModified()
-1
if
the information can't be detected.Copyright © 2010 - 2020 Adobe. All Rights Reserved