Version.jrag 397 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
aspect Version {

    /* An auxilliary class for handling naming and prefixes connected
     * to the LabComm version
     */
    class LabCommVersion {
        public static String versionString(int version) {
            return (version == 2006) ? "2006" : "";
        }       

        public static boolean versionHasPragma(int version) {
            return version != 2006;
        }
    }
}