resolve
public static int resolve(net.bytebuddy.description.type.TypeDescription typeDescription,
java.lang.ClassLoader classLoader)
In versions of the JVM > 1.5 the classes bytecode contain a stack map along with the method code. This map describes the layout of the stack at key points (jump targets) during the method's execution.
In previous versions(JVM < 1.5 bytecode), the JVM would have to compute this information, which is computationally expensive.
By requiring this information, the JVM can just verify that the frames work, which is significantly easier than recalculating everything.
So if JVM < 1.5 ClassWriter.COMPUTE_MAXS otherwise ClassWriter.COMPUTE_FRAME(computeFrames implies computeMaxs).