package org.stianloader.mrjmania; import org.jetbrains.annotations.Range; /** * Generic meta class for the MRJ-Mania library. */ public final class MRJMania { private MRJMania() { throw new UnsupportedOperationException(); } /** * Obtains the MRJ release version that is currently being used by JVM to read this library. * *

The increments are dependent on the used version of MRJMania, though at the point of writing * it is 8, 9, 11, 16 and 21. Please note that version 8 is always used if for one reason or another * multi-release-jars are disabled - for example due to MRJ being disabled in the MANIFEST.MF file. * * @return The MRJ release version. */ @Range(from = 8, to = Integer.MAX_VALUE) public static final int getMRJVersion() { return 21; } }