equal
deleted
inserted
replaced
191 */ |
191 */ |
192 public GuardedInvocation(final MethodHandle invocation, final MethodHandle guard, final SwitchPoint[] switchPoints, final Class<? extends Throwable> exception) { |
192 public GuardedInvocation(final MethodHandle invocation, final MethodHandle guard, final SwitchPoint[] switchPoints, final Class<? extends Throwable> exception) { |
193 invocation.getClass(); // NPE check |
193 invocation.getClass(); // NPE check |
194 this.invocation = invocation; |
194 this.invocation = invocation; |
195 this.guard = guard; |
195 this.guard = guard; |
196 this.switchPoints = switchPoints; |
196 this.switchPoints = switchPoints == null ? null : switchPoints.clone(); |
197 this.exception = exception; |
197 this.exception = exception; |
198 } |
198 } |
199 |
199 |
200 /** |
200 /** |
201 * Returns the invocation method handle. |
201 * Returns the invocation method handle. |