private void generateGetBundleString(StringDescriptor descriptor, GeneratorAdapter generator) {
    generator.push(descriptor.getBundleName());

    String formClass = descriptor.getFormClass();
    if (dynamicBundleType != null && formClass != null) {
      Type type = Type.getType("L" + formClass + ";");
      generator.push(type);
      generator.invokeStatic(dynamicBundleType, getDynamicBundleMethod);
    }
    else {
      generator.invokeStatic(bundleType, getBundleMethod);
    }

    generator.push(descriptor.getKey());
    generator.invokeVirtual(bundleType, myGetStringMethod);
  }
private void generateGetBundleString(StringDescriptor descriptor, GeneratorAdapter generator)