// 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);
mb.appendReturn(Type.STRING);
mb.codeComplete(false);
mb.addMethod();
// add the type mapping index lookup method
mb = new ExceptionMethodBuilder(GETTYPEINDEX_METHODNAME,
Type.INT, new Type[] { Type.STRING }, cf, Constants.ACC_PUBLIC);