Factorial Function Generator

This Java project generates the bytecode for a factorial function. The generated bytecode is then executed by the JVM.

The factorial function is defined as:

public static int factorial(int n) {
    if (n == 0) {
        return 1;
    } else {
        return n * factorial(n - 1);
    }
}