Move RuntimeMetaData.VERSION field to the top of the source file

This commit is contained in:
Sam Harwell 2014-06-18 17:07:43 -05:00
parent 6701202f66
commit f7a840c764
1 changed files with 16 additions and 16 deletions

View File

@ -63,6 +63,22 @@ import java.util.concurrent.CopyOnWriteArraySet;
* may be re-registered by calling {@link #addListener}.</p>
*/
public class RuntimeMetaData {
/**
* A compile-time constant containing the current version of the ANTLR 4
* runtime library.
*
* <p>
* This compile-time constant value allows generated parsers and other
* libraries to include a literal reference to the version of the ANTLR 4
* runtime library the code was compiled against.</p>
*
* <p>
* During development (between releases), this value contains the
* <em>expected</em> next release version. For official releases, the value
* will be the actual published version of the library.</p>
*/
public static final String VERSION = "4.3";
/**
* This class provides detailed information about a mismatch between the
* version of the tool a parser was generated with, the version of the
@ -210,22 +226,6 @@ public class RuntimeMetaData {
listeners.clear();
}
/**
* A compile-time constant containing the current version of the ANTLR 4
* runtime library.
*
* <p>
* This compile-time constant value allows generated parsers and other
* libraries to include a literal reference to the version of the ANTLR 4
* runtime library the code was compiled against.</p>
*
* <p>
* During development (between releases), this value contains the
* <em>expected</em> next release version. For official releases, the value
* will be the actual published version of the library.</p>
*/
public static final String VERSION = "4.3";
/**
* Gets the currently executing version of the ANTLR 4 runtime library.
*