mb = new ExceptionMethodBuilder(GETVERSION_METHODNAME,
Type.INT, new Type[0], cf, Constants.ACC_PUBLIC);
mb.appendLoadConstant(IBindingFactory.CURRENT_VERSION_NUMBER);
mb.appendReturn("int");
mb.codeComplete(false);
mb.addMethod();
// add the compiler distribution access method
mb = new ExceptionMethodBuilder(GETDISTRIB_METHODNAME,
Type.STRING, new Type[0], cf, Constants.ACC_PUBLIC);
mb.appendLoadConstant(CURRENT_VERSION_NAME);