refactor: move SourceVersion to common

This commit is contained in:
rhunk
2023-10-17 18:44:32 +02:00
parent de1b80c2a4
commit 26a1bdd7f9
6 changed files with 1 additions and 19 deletions

View 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;
}
}