Java/java/lang/Runtime.fz
# Fuzion interface to instance members of Java instance class 'java.lang.Runtime'
#
# !!!!!! 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.lang.Runtime(redef forbidden void) ref : Java.java.lang.Object(forbidden), fuzion.java.Java_Object(forbidden) is
# call Java instance method 'public void java.lang.Runtime.addShutdownHook(java.lang.Thread)':
#
public addShutdownHook_Ljava_7_lang_7_Thread_s_(arg0 Java.java.lang.Thread) unit =>
fuzion.java.call_virtual (unit) "java.lang.Runtime" "addShutdownHook" "(Ljava/lang/Thread;)V" Runtime.this [(Java.java.lang.Runtime.addShutdownHook_Ljava_7_lang_7_Thread_s_.this.arg0)]
# call Java instance method 'public native int java.lang.Runtime.availableProcessors()':
#
public availableProcessors i32 =>
fuzion.java.call_virtual (i32) "java.lang.Runtime" "availableProcessors" "()I" Runtime.this []
# call Java instance method 'public java.lang.Process java.lang.Runtime.exec(java.lang.String) throws java.io.IOException':
#
public exec_Ljava_7_lang_7_String_s_(arg0 String) outcome (Java.java.lang.Process) =>
fuzion.java.call_virtual (outcome (Java.java.lang.Process)) "java.lang.Runtime" "exec" "(Ljava/lang/String;)Ljava/lang/Process;" Runtime.this [(fuzion.java.string_to_java_object Java.java.lang.Runtime.exec_Ljava_7_lang_7_String_s_.this.arg0)]
# call Java instance method 'public java.lang.Process java.lang.Runtime.exec(java.lang.String,java.lang.String[]) throws java.io.IOException':
#
public exec_Ljava_7_lang_7_String_s__u00005b_Ljava_7_lang_7_String_s_(arg0 String, arg1 Sequence (Java.java.lang.__jString)) outcome (Java.java.lang.Process) =>
fuzion.java.call_virtual (outcome (Java.java.lang.Process)) "java.lang.Runtime" "exec" "(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/Process;" Runtime.this [(fuzion.java.string_to_java_object Java.java.lang.Runtime.exec_Ljava_7_lang_7_String_s__u00005b_Ljava_7_lang_7_String_s_.this.arg0); (fuzion.java.array_to_java_object (Java.java.lang.__jString) Java.java.lang.Runtime.exec_Ljava_7_lang_7_String_s__u00005b_Ljava_7_lang_7_String_s_.this.arg1)]
# call Java instance method 'public java.lang.Process java.lang.Runtime.exec(java.lang.String,java.lang.String[],java.io.File) throws java.io.IOException':
#
public exec_Ljava_7_lang_7_String_s__u00005b_Ljava_7_lang_7_String_s_Ljava_7_io_7_File_s_(arg0 String, arg1 Sequence (Java.java.lang.__jString), arg2 Java.java.io.File) outcome (Java.java.lang.Process) =>
fuzion.java.call_virtual (outcome (Java.java.lang.Process)) "java.lang.Runtime" "exec" "(Ljava/lang/String;[Ljava/lang/String;Ljava/io/File;)Ljava/lang/Process;" Runtime.this [(fuzion.java.string_to_java_object Java.java.lang.Runtime.exec_Ljava_7_lang_7_String_s__u00005b_Ljava_7_lang_7_String_s_Ljava_7_io_7_File_s_.this.arg0); (fuzion.java.array_to_java_object (Java.java.lang.__jString) Java.java.lang.Runtime.exec_Ljava_7_lang_7_String_s__u00005b_Ljava_7_lang_7_String_s_Ljava_7_io_7_File_s_.this.arg1); (Java.java.lang.Runtime.exec_Ljava_7_lang_7_String_s__u00005b_Ljava_7_lang_7_String_s_Ljava_7_io_7_File_s_.this.arg2)]
# call Java instance method 'public java.lang.Process java.lang.Runtime.exec(java.lang.String[]) throws java.io.IOException':
#
public exec__u00005b_Ljava_7_lang_7_String_s_(arg0 Sequence (Java.java.lang.__jString)) outcome (Java.java.lang.Process) =>
fuzion.java.call_virtual (outcome (Java.java.lang.Process)) "java.lang.Runtime" "exec" "([Ljava/lang/String;)Ljava/lang/Process;" Runtime.this [(fuzion.java.array_to_java_object (Java.java.lang.__jString) Java.java.lang.Runtime.exec__u00005b_Ljava_7_lang_7_String_s_.this.arg0)]
# call Java instance method 'public java.lang.Process java.lang.Runtime.exec(java.lang.String[],java.lang.String[]) throws java.io.IOException':
#
public exec__u00005b_Ljava_7_lang_7_String_s__u00005b_Ljava_7_lang_7_String_s_(arg0 Sequence (Java.java.lang.__jString), arg1 Sequence (Java.java.lang.__jString)) outcome (Java.java.lang.Process) =>
fuzion.java.call_virtual (outcome (Java.java.lang.Process)) "java.lang.Runtime" "exec" "([Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/Process;" Runtime.this [(fuzion.java.array_to_java_object (Java.java.lang.__jString) Java.java.lang.Runtime.exec__u00005b_Ljava_7_lang_7_String_s__u00005b_Ljava_7_lang_7_String_s_.this.arg0); (fuzion.java.array_to_java_object (Java.java.lang.__jString) Java.java.lang.Runtime.exec__u00005b_Ljava_7_lang_7_String_s__u00005b_Ljava_7_lang_7_String_s_.this.arg1)]
# call Java instance method 'public java.lang.Process java.lang.Runtime.exec(java.lang.String[],java.lang.String[],java.io.File) throws java.io.IOException':
#
public exec__u00005b_Ljava_7_lang_7_String_s__u00005b_Ljava_7_lang_7_String_s_Ljava_7_io_7_File_s_(arg0 Sequence (Java.java.lang.__jString), arg1 Sequence (Java.java.lang.__jString), arg2 Java.java.io.File) outcome (Java.java.lang.Process) =>
fuzion.java.call_virtual (outcome (Java.java.lang.Process)) "java.lang.Runtime" "exec" "([Ljava/lang/String;[Ljava/lang/String;Ljava/io/File;)Ljava/lang/Process;" Runtime.this [(fuzion.java.array_to_java_object (Java.java.lang.__jString) Java.java.lang.Runtime.exec__u00005b_Ljava_7_lang_7_String_s__u00005b_Ljava_7_lang_7_String_s_Ljava_7_io_7_File_s_.this.arg0); (fuzion.java.array_to_java_object (Java.java.lang.__jString) Java.java.lang.Runtime.exec__u00005b_Ljava_7_lang_7_String_s__u00005b_Ljava_7_lang_7_String_s_Ljava_7_io_7_File_s_.this.arg1); (Java.java.lang.Runtime.exec__u00005b_Ljava_7_lang_7_String_s__u00005b_Ljava_7_lang_7_String_s_Ljava_7_io_7_File_s_.this.arg2)]
# call Java instance method 'public void java.lang.Runtime.exit(int)':
#
public exit_I(arg0 i32) unit =>
fuzion.java.call_virtual (unit) "java.lang.Runtime" "exit" "(I)V" Runtime.this [(fuzion.java.i32_to_java_object Java.java.lang.Runtime.exit_I.this.arg0)]
# call Java instance method 'public native long java.lang.Runtime.freeMemory()':
#
public freeMemory i64 =>
fuzion.java.call_virtual (i64) "java.lang.Runtime" "freeMemory" "()J" Runtime.this []
# call Java instance method 'public native void java.lang.Runtime.gc()':
#
public gc unit =>
fuzion.java.call_virtual (unit) "java.lang.Runtime" "gc" "()V" Runtime.this []
# call Java instance method 'public void java.lang.Runtime.halt(int)':
#
public halt_I(arg0 i32) unit =>
fuzion.java.call_virtual (unit) "java.lang.Runtime" "halt" "(I)V" Runtime.this [(fuzion.java.i32_to_java_object Java.java.lang.Runtime.halt_I.this.arg0)]
# call Java instance method 'public void java.lang.Runtime.loadLibrary(java.lang.String)':
#
public loadLibrary_Ljava_7_lang_7_String_s_(arg0 String) unit =>
fuzion.java.call_virtual (unit) "java.lang.Runtime" "loadLibrary" "(Ljava/lang/String;)V" Runtime.this [(fuzion.java.string_to_java_object Java.java.lang.Runtime.loadLibrary_Ljava_7_lang_7_String_s_.this.arg0)]
# call Java instance method 'public void java.lang.Runtime.load(java.lang.String)':
#
public load_Ljava_7_lang_7_String_s_(arg0 String) unit =>
fuzion.java.call_virtual (unit) "java.lang.Runtime" "load" "(Ljava/lang/String;)V" Runtime.this [(fuzion.java.string_to_java_object Java.java.lang.Runtime.load_Ljava_7_lang_7_String_s_.this.arg0)]
# call Java instance method 'public native long java.lang.Runtime.maxMemory()':
#
public maxMemory i64 =>
fuzion.java.call_virtual (i64) "java.lang.Runtime" "maxMemory" "()J" Runtime.this []
# call Java instance method 'public boolean java.lang.Runtime.removeShutdownHook(java.lang.Thread)':
#
public removeShutdownHook_Ljava_7_lang_7_Thread_s_(arg0 Java.java.lang.Thread) bool =>
fuzion.java.call_virtual (bool) "java.lang.Runtime" "removeShutdownHook" "(Ljava/lang/Thread;)Z" Runtime.this [(Java.java.lang.Runtime.removeShutdownHook_Ljava_7_lang_7_Thread_s_.this.arg0)]
# call Java instance method 'public void java.lang.Runtime.runFinalization()':
#
public runFinalization unit =>
fuzion.java.call_virtual (unit) "java.lang.Runtime" "runFinalization" "()V" Runtime.this []
# call Java instance method 'public native long java.lang.Runtime.totalMemory()':
#
public totalMemory i64 =>
fuzion.java.call_virtual (i64) "java.lang.Runtime" "totalMemory" "()J" Runtime.this []
# short-hand to call Java method 'public void java.lang.Runtime.addShutdownHook(java.lang.Thread)':
#
public addShutdownHook(arg0 Java.java.lang.Thread) (unit) =>
addShutdownHook_Ljava_7_lang_7_Thread_s_ Java.java.lang.Runtime.addShutdownHook.this.arg0
# short-hand to call Java method 'public java.lang.Process java.lang.Runtime.exec(java.lang.String) throws java.io.IOException':
#
public exec(arg0 String) (outcome (Java.java.lang.Process)) =>
exec_Ljava_7_lang_7_String_s_ Java.java.lang.Runtime.exec.this.arg0
# short-hand to call Java method 'public java.lang.Process java.lang.Runtime.exec(java.lang.String,java.lang.String[]) throws java.io.IOException':
#
public exec(arg0 String, arg1 Sequence (Java.java.lang.__jString)) (outcome (Java.java.lang.Process)) =>
exec_Ljava_7_lang_7_String_s__u00005b_Ljava_7_lang_7_String_s_ Java.java.lang.Runtime.exec.this.arg0 Java.java.lang.Runtime.exec.this.arg1
# short-hand to call Java method 'public java.lang.Process java.lang.Runtime.exec(java.lang.String,java.lang.String[],java.io.File) throws java.io.IOException':
#
public exec(arg0 String, arg1 Sequence (Java.java.lang.__jString), arg2 Java.java.io.File) (outcome (Java.java.lang.Process)) =>
exec_Ljava_7_lang_7_String_s__u00005b_Ljava_7_lang_7_String_s_Ljava_7_io_7_File_s_ Java.java.lang.Runtime.exec.this.arg0 Java.java.lang.Runtime.exec.this.arg1 Java.java.lang.Runtime.exec.this.arg2
# short-hand to call Java method 'public void java.lang.Runtime.exit(int)':
#
public exit(arg0 i32) (unit) =>
exit_I Java.java.lang.Runtime.exit.this.arg0
# short-hand to call Java method 'public void java.lang.Runtime.halt(int)':
#
public halt(arg0 i32) (unit) =>
halt_I Java.java.lang.Runtime.halt.this.arg0
# short-hand to call Java method 'public void java.lang.Runtime.load(java.lang.String)':
#
public load(arg0 String) (unit) =>
load_Ljava_7_lang_7_String_s_ Java.java.lang.Runtime.load.this.arg0
# short-hand to call Java method 'public void java.lang.Runtime.loadLibrary(java.lang.String)':
#
public loadLibrary(arg0 String) (unit) =>
loadLibrary_Ljava_7_lang_7_String_s_ Java.java.lang.Runtime.loadLibrary.this.arg0
# short-hand to call Java method 'public boolean java.lang.Runtime.removeShutdownHook(java.lang.Thread)':
#
public removeShutdownHook(arg0 Java.java.lang.Thread) (bool) =>
removeShutdownHook_Ljava_7_lang_7_Thread_s_ Java.java.lang.Runtime.removeShutdownHook.this.arg0
last changed: 2024-03-07