public CtClass makeNestedClass(String name, boolean isStatic)
I have an original file with Java major version 45 for Java ME on which CTClass instance this is invoked. Internal CtNewNestedClass(classname, this, false, null); is called than and finally public ClassFile(boolean isInterface, String classname, String superclass) sets the major version to 49. So Java ME complains with Bad Version Number error. Is is somehow possible to detect it automatically for these method which class version from the nesting CtClass should be used?