Constructor and Description |
---|
CompiledSourceInfo(Source source,
String mainClassName,
Set<String> classNames,
long lastModifiedAtCompileTime)
constructor.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getClassNames()
gets all class names.
|
long |
getLastModifiedAtCompileTime()
gets the last modified at compile time.
|
String |
getMainClassName()
gets the main class name.
|
Source |
getSource()
gets the originating
Source instance. |
String |
toString()
returns a string suitable for logging.
|
public CompiledSourceInfo(Source source, String mainClassName, Set<String> classNames, long lastModifiedAtCompileTime)
source
- the originating Source
instancemainClassName
- the main class nameclassNames
- all class nameslastModifiedAtCompileTime
- the last modified at compile timeNullPointerException
- if source or main class name are nullpublic Source getSource()
Source
instance.public String getMainClassName()
public Set<String> getClassNames()
public long getLastModifiedAtCompileTime()