Java/java/util/concurrent/StructuredTaskScope_S_ShutdownOnFailure.fz
# Fuzion interface to instance members of Java instance class 'java.util.concurrent.StructuredTaskScope$ShutdownOnFailure'
#
# !!!!!! DO NOT EDIT, GENERATED CODE !!!!!!
#
# This code was generated automatically using the fzjava tool V0.087 called
# as follows:
#
# ./build/bin/fzjava java.base -to=build/modules/java.base -verbose=0
#
public Java.java.util.concurrent.StructuredTaskScope_S_ShutdownOnFailure(redef forbidden void) ref : Java.java.util.concurrent.StructuredTaskScope(forbidden), fuzion.java.Java_Object(forbidden) is
# call Java instance method 'public java.util.Optional java.util.concurrent.StructuredTaskScope$ShutdownOnFailure.exception()':
#
public exception Java.java.util.Optional =>
fuzion.java.call_virtual (Java.java.util.Optional) "java.util.concurrent.StructuredTaskScope\$ShutdownOnFailure" "exception" "()Ljava/util/Optional;" StructuredTaskScope_S_ShutdownOnFailure.this []
# call Java instance method 'public void java.util.concurrent.StructuredTaskScope$ShutdownOnFailure.throwIfFailed() throws java.util.concurrent.ExecutionException':
#
public throwIfFailed outcome (unit) =>
fuzion.java.call_virtual (outcome (unit)) "java.util.concurrent.StructuredTaskScope\$ShutdownOnFailure" "throwIfFailed" "()V" StructuredTaskScope_S_ShutdownOnFailure.this []
# call Java instance method 'public void java.util.concurrent.StructuredTaskScope$ShutdownOnFailure.throwIfFailed(java.util.function.Function) throws java.lang.Throwable':
#
public throwIfFailed_Ljava_7_util_7_function_7_Function_s_(arg0 Java.java.util.function.Function) outcome (unit) =>
fuzion.java.call_virtual (outcome (unit)) "java.util.concurrent.StructuredTaskScope\$ShutdownOnFailure" "throwIfFailed" "(Ljava/util/function/Function;)V" StructuredTaskScope_S_ShutdownOnFailure.this [(Java.java.util.concurrent.StructuredTaskScope_S_ShutdownOnFailure.throwIfFailed_Ljava_7_util_7_function_7_Function_s_.this.arg0)]
# short-hand to call Java method 'public void java.util.concurrent.StructuredTaskScope$ShutdownOnFailure.throwIfFailed(java.util.function.Function) throws java.lang.Throwable':
#
public throwIfFailed(arg0 Java.java.util.function.Function) (outcome (unit)) =>
throwIfFailed_Ljava_7_util_7_function_7_Function_s_ Java.java.util.concurrent.StructuredTaskScope_S_ShutdownOnFailure.throwIfFailed.this.arg0