Package ch.grengine.code
Interface SingleSourceCode
- All Superinterfaces:
Code
- All Known Implementing Classes:
DefaultSingleSourceCode
Interface for code created by compiling a single
Source script.- Since:
- 1.0
- Author:
- Alain Stalder, Made in Switzerland.
-
Method Summary
Modifier and TypeMethodDescriptiongets all class names for the single source.longgets the last modified at compile time for the single source.gets the main class name for the single source.gets the source.Methods inherited from interface ch.grengine.code.Code
getBytecode, getClassNames, getClassNameSet, getLastModifiedAtCompileTime, getMainClassName, getSourceSet, getSourcesName, isForSource, toString
-
Method Details
-
getMainClassName
String getMainClassName()gets the main class name for the single source.- Returns:
- main class name
- Since:
- 1.0
-
getClassNames
gets all class names for the single source.- Returns:
- all class names
- Since:
- 1.0
-
getLastModifiedAtCompileTime
long getLastModifiedAtCompileTime()gets the last modified at compile time for the single source.- Returns:
- last modified at compile time
- Since:
- 1.0
-
getSource
Source getSource()gets the source.- Returns:
- source
- Since:
- 1.0
-