equal
deleted
inserted
replaced
119 */ |
119 */ |
120 public boolean hasInvokedynamic() { |
120 public boolean hasInvokedynamic() { |
121 return compareTo(JDK1_7) >= 0; |
121 return compareTo(JDK1_7) >= 0; |
122 } |
122 } |
123 |
123 |
|
124 /** Does the target JDK contains the java.util.Objects class? |
|
125 */ |
|
126 public boolean hasObjects() { |
|
127 return compareTo(JDK1_7) >= 0; |
|
128 } |
|
129 |
124 /** Does the VM support polymorphic method handle invocation? |
130 /** Does the VM support polymorphic method handle invocation? |
125 * Affects the linkage information output to the classfile. |
131 * Affects the linkage information output to the classfile. |
126 * An alias for {@code hasInvokedynamic}, since all the JSR 292 features appear together. |
132 * An alias for {@code hasInvokedynamic}, since all the JSR 292 features appear together. |
127 */ |
133 */ |
128 public boolean hasMethodHandles() { |
134 public boolean hasMethodHandles() { |