final ClassPool classPool = getClassPool();
try {
CtClass iface = classPool.get(constantsClass.getName());
CtClass baseConstantsImpl = classPool.get(BaseConstantsImpl.class.getName());
CtClass stringClass = classPool.get(String.class.getName());
CtClass impl = classPool.makeClass(ifaceName+"Impl_"+locale.toString(), baseConstantsImpl);
impl.addInterface(iface);
final CtClass resourceBundle = classPool.get(ResourceBundle.class.getName());
CtField resField = new CtField(resourceBundle, "res", impl);
impl.addField(resField);