jltools.main
Class Version
java.lang.Object
|
+--jltools.main.Version
- Direct Known Subclasses:
- Version, Version
- public abstract class Version
- extends java.lang.Object
This class encapsulates the version of the compiler.
Method Summary |
abstract int |
major()
Marks major changes in the output format of the files produced by the
compiler. |
abstract int |
minor()
Indicates a change in the compiler that does not affect the output
format. |
abstract int |
patch_level()
Denote minor changes and bugfixes to the compiler. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Version
public Version()
major
public abstract int major()
- Marks major changes in the output format of the files produced by the
compiler. Files produced be different major versions are considered
incompatible and will not be used as source of class information.
minor
public abstract int minor()
- Indicates a change in the compiler that does not affect the output
format. Source files will be prefered over class files build by
compilers with different minor versions, but if no source file is
available, then the class file will be used.
patch_level
public abstract int patch_level()
- Denote minor changes and bugfixes to the compiler. Class files compiled
with versions of the compiler that only differ in patchlevel (from the
current instantiation) will always be preferred over source files
(unless the source files have newer modification dates).
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object