Lines Matching refs:SwitchPoint
89 import java.lang.invoke.SwitchPoint;
117 private final SwitchPoint[] switchPoints;
128 this(invocation, null, (SwitchPoint)null, null);
144 this(invocation, guard, (SwitchPoint)null, null);
158 public GuardedInvocation(final MethodHandle invocation, final SwitchPoint switchPoint) {
178 public GuardedInvocation(final MethodHandle invocation, final MethodHandle guard, final SwitchPoint switchPoint) {
201 public GuardedInvocation(final MethodHandle invocation, final MethodHandle guard, final SwitchPoint switchPoint, final Class<? extends Throwable> exception) {
204 this.switchPoints = switchPoint == null ? null : new SwitchPoint[] { switchPoint };
230 public GuardedInvocation(final MethodHandle invocation, final MethodHandle guard, final SwitchPoint[] switchPoints, final Class<? extends Throwable> exception) {
265 public SwitchPoint[] getSwitchPoints() {
290 for (final SwitchPoint sp : switchPoints) {
315 public GuardedInvocation addSwitchPoint(final SwitchPoint newSwitchPoint) {
320 final SwitchPoint[] newSwitchPoints;
322 newSwitchPoints = new SwitchPoint[switchPoints.length + 1];
326 newSwitchPoints = new SwitchPoint[] { newSwitchPoint };
489 for (final SwitchPoint sp : switchPoints) {