equal
deleted
inserted
replaced
199 } |
199 } |
200 public boolean allowMethodReferences() { |
200 public boolean allowMethodReferences() { |
201 return compareTo(JDK1_8) >= 0; |
201 return compareTo(JDK1_8) >= 0; |
202 } |
202 } |
203 public boolean allowEffectivelyFinalInInnerClasses() { |
203 public boolean allowEffectivelyFinalInInnerClasses() { |
|
204 return compareTo(JDK1_8) >= 0; |
|
205 } |
|
206 public boolean allowRepeatedAnnotations() { |
204 return compareTo(JDK1_8) >= 0; |
207 return compareTo(JDK1_8) >= 0; |
205 } |
208 } |
206 public static SourceVersion toSourceVersion(Source source) { |
209 public static SourceVersion toSourceVersion(Source source) { |
207 switch(source) { |
210 switch(source) { |
208 case JDK1_2: |
211 case JDK1_2: |