Replace Opcodes.ASM4 with Opcodes.ASM5 when constructing ASM classes, as it mainly concerns annotations.