1 /* |
1 /* |
2 * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
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 allowDefaultMethods() { |
203 public boolean allowDefaultMethods() { |
204 return compareTo(JDK1_8) >= 0; |
204 return compareTo(JDK1_8) >= 0; |
|
205 } |
|
206 public boolean allowDefaultMethodsResolution() { |
|
207 return compareTo(JDK1_7) >= 0; |
205 } |
208 } |
206 public boolean allowStaticInterfaceMethods() { |
209 public boolean allowStaticInterfaceMethods() { |
207 return compareTo(JDK1_8) >= 0; |
210 return compareTo(JDK1_8) >= 0; |
208 } |
211 } |
209 public boolean allowStrictMethodClashCheck() { |
212 public boolean allowStrictMethodClashCheck() { |