Package org.stianloader.mrjmania
Class MRJMania
java.lang.Object
org.stianloader.mrjmania.MRJMania
Generic meta class for the MRJ-Mania library.
-
Method Summary
Modifier and TypeMethodDescriptionstatic final @org.jetbrains.annotations.Range(from=8L, to=2147483647L) intObtains the MRJ release version that is currently being used by JVM to read this library.
-
Method Details
-
getMRJVersion
public static final @org.jetbrains.annotations.Range(from=8L, to=2147483647L) int getMRJVersion()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.
- Returns:
- The MRJ release version.
-