src/share/classes/com/sun/tools/javac/code/Source.java

changeset 1313
873ddd9f4900
parent 1305
9d47f4850714
child 1347
1408af4cd8b0
equal deleted inserted replaced
1310:542c87b8ce7f 1313:873ddd9f4900
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:

mercurial