mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-06-12 13:17:42 +02:00
refactor: move SourceVersion to common
This commit is contained in:
23
common/src/main/java/javax/lang/model/SourceVersion.java
Normal file
23
common/src/main/java/javax/lang/model/SourceVersion.java
Normal file
@ -0,0 +1,23 @@
|
||||
package javax.lang.model;
|
||||
|
||||
// Rhino misses this class in the android platform
|
||||
@SuppressWarnings("unused")
|
||||
public enum SourceVersion {
|
||||
RELEASE_0,
|
||||
RELEASE_1,
|
||||
RELEASE_2,
|
||||
RELEASE_3,
|
||||
RELEASE_4,
|
||||
RELEASE_5,
|
||||
RELEASE_6,
|
||||
RELEASE_7,
|
||||
RELEASE_8,
|
||||
RELEASE_9,
|
||||
RELEASE_10,
|
||||
RELEASE_11;
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
public static SourceVersion latestSupported() {
|
||||
return RELEASE_8;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user