Consider this function:
public static final int F(int a, int b) { a = a - 1 + b; // and some stuff return a; }
Is it required
It would actually not be the JVM implementation that matters, since they just execute a list of instructions from the class file.