int setMajorVersionAndClassName ( final int majorVersion , final String className ) { this . majorVersion = majorVersion ; this . className = className ; return addConstantClass ( className ) . index ; }
Sets the major version and the name of the class to which this symbol table belongs . Also adds the class name to the constant pool .