SourceVersion.java (435B) - raw


      1 package javax.lang.model;
      2 
      3 // Rhino misses this class in the android platform
      4 @SuppressWarnings("unused")
      5 public enum SourceVersion {
      6     RELEASE_0,
      7     RELEASE_1,
      8     RELEASE_2,
      9     RELEASE_3,
     10     RELEASE_4,
     11     RELEASE_5,
     12     RELEASE_6,
     13     RELEASE_7,
     14     RELEASE_8,
     15     RELEASE_9,
     16     RELEASE_10,
     17     RELEASE_11;
     18 
     19     @SuppressWarnings("unused")
     20     public static SourceVersion latestSupported() {
     21         return RELEASE_8;
     22     }
     23 }