Program: 928
Project: 928
Buggy source:
@Override @SuppressWarnings("String_Node_Str") public void initialise(){
  UIDropdown<VideoQuality> videoQuality=find("String_Node_Str",UIDropdown.class);
  if (videoQuality != null) {
    videoQuality.setOptions(Lists.newArrayList(VideoQuality.NICE,VideoQuality.EPIC,VideoQuality.INSANE,VideoQuality.UBER));
    videoQuality.bindSelection(new VideoQualityBinding(config.getRendering()));
  }
  UIDropdown<EnvironmentalEffects> environmentalEffects=find("String_Node_Str",UIDropdown.class);
  if (environmentalEffects != null) {
    environmentalEffects.setOptions(Lists.newArrayList(EnvironmentalEffects.OFF,EnvironmentalEffects.LOW,EnvironmentalEffects.HIGH));
    environmentalEffects.bindSelection(new EnvironmentEffectsBinding(config.getRendering()));
  }
  UIDropdown<ViewDistance> viewDistance=find("String_Node_Str",UIDropdown.class);
  if (viewDistance != null) {
    viewDistance.setOptions(Arrays.asList(ViewDistance.values()));
    viewDistance.bindSelection(BindHelper.bindBeanProperty("String_Node_Str",config.getRendering(),ViewDistance.class));
  }
  UIDropdown<WaterReflection> waterReflection=find("String_Node_Str",UIDropdown.class);
  if (waterReflection != null) {
    waterReflection.setOptions(Lists.newArrayList(WaterReflection.SKY,WaterReflection.GLOBAL,WaterReflection.LOCAL));
    waterReflection.bindSelection(new WaterReflectionBinding(config.getRendering()));
  }
  UIDropdown<Integer> blur=find("String_Node_Str",UIDropdown.class);
  if (blur != null) {
    blur.setOptions(Lists.newArrayList(0,1,2,3));
    blur.bindSelection(BindHelper.bindBeanProperty("String_Node_Str",config.getRendering(),Integer.TYPE));
    blur.setOptionRenderer(new StringTextRenderer<Integer>(){
      @Override public String getString(      Integer value){
switch (value) {
case 1:
          return "String_Node_Str";
case 2:
        return "String_Node_Str";
case 3:
      return "String_Node_Str";
default :
    return "String_Node_Str";
}
}
}
);
}
UIDropdown<DynamicShadows> dynamicShadows=find("String_Node_Str",UIDropdown.class);
if (dynamicShadows != null) {
dynamicShadows.setOptions(Arrays.asList(DynamicShadows.values()));
dynamicShadows.bindSelection(new DynamicShadowsBinding(config.getRendering()));
}
UISlider fovSlider=find("String_Node_Str",UISlider.class);
if (fovSlider != null) {
fovSlider.setIncrement(5.0f);
fovSlider.setPrecision(0);
fovSlider.setMinimum(70);
fovSlider.setRange(50);
fovSlider.bindValue(BindHelper.bindBeanProperty("String_Node_Str",config.getRendering(),Float.TYPE));
}
UIDropdown<CameraSetting> cameraSetting=find("String_Node_Str",UIDropdown.class);
if (cameraSetting != null) {
cameraSetting.setOptions(Arrays.asList(CameraSetting.values()));
cameraSetting.bindSelection(new CameraSettingBinding(config.getRendering()));
}
WidgetUtil.tryBindCheckbox(this,"String_Node_Str",BindHelper.bindBeanProperty("String_Node_Str",engine,Boolean.TYPE));
WidgetUtil.tryBindCheckbox(this,"String_Node_Str",BindHelper.bindBeanProperty("String_Node_Str",config.getRendering(),Boolean.TYPE));
WidgetUtil.tryBindCheckbox(this,"String_Node_Str",BindHelper.bindBeanProperty("String_Node_Str",config.getRendering(),Boolean.TYPE));
WidgetUtil.tryBindCheckbox(this,"String_Node_Str",BindHelper.bindBeanProperty("String_Node_Str",config.getRendering(),Boolean.TYPE));
WidgetUtil.trySubscribe(this,"String_Node_Str",new ActivateEventListener(){
@Override public void onActivated(UIWidget button){
getManager().popScreen();
}
}
);
}

Fixed version (ground truth):
@Override @SuppressWarnings("String_Node_Str") public void initialise(){
  final UITooltip tooltip=new UITooltip();
  boolean testBoolean=true;
  windowHeight=config.getRendering().getWindowHeight();
  windowWidth=config.getRendering().getWindowWidth();
  UIDropdown<Preset> videoQuality=find("String_Node_Str",UIDropdown.class);
  if (videoQuality != null) {
    videoQuality.setOptions(Lists.newArrayList(Preset.CUSTOM,Preset.MINIMAL,Preset.NICE,Preset.EPIC,Preset.INSANE,Preset.UBER));
    videoQuality.bindSelection(new PresetBinding(config.getRendering()));
  }
  UIDropdown<EnvironmentalEffects> environmentalEffects=find("String_Node_Str",UIDropdown.class);
  if (environmentalEffects != null) {
    environmentalEffects.setOptions(Lists.newArrayList(EnvironmentalEffects.OFF,EnvironmentalEffects.LOW,EnvironmentalEffects.HIGH));
    environmentalEffects.bindSelection(new EnvironmentEffectsBinding(config.getRendering()));
  }
  UIDropdown<ViewDistance> viewDistance=find("String_Node_Str",UIDropdown.class);
  if (viewDistance != null) {
    viewDistance.setOptions(Arrays.asList(ViewDistance.values()));
    viewDistance.bindSelection(BindHelper.bindBeanProperty("String_Node_Str",config.getRendering(),ViewDistance.class));
  }
  UIDropdown<WaterReflection> waterReflection=find("String_Node_Str",UIDropdown.class);
  if (waterReflection != null) {
    waterReflection.setOptions(Lists.newArrayList(WaterReflection.SKY,WaterReflection.GLOBAL,WaterReflection.LOCAL));
    waterReflection.bindSelection(new WaterReflectionBinding(config.getRendering()));
  }
  UIDropdown<Integer> blur=find("String_Node_Str",UIDropdown.class);
  if (blur != null) {
    blur.setOptions(Lists.newArrayList(0,1,2,3));
    blur.bindSelection(BindHelper.bindBeanProperty("String_Node_Str",config.getRendering(),Integer.TYPE));
    blur.setOptionRenderer(new StringTextRenderer<Integer>(){
      @Override public String getString(      Integer value){
switch (value) {
case 1:
          return "String_Node_Str";
case 2:
        return "String_Node_Str";
case 3:
      return "String_Node_Str";
default :
    return "String_Node_Str";
}
}
}
);
}
UIDropdown<DynamicShadows> dynamicShadows=find("String_Node_Str",UIDropdown.class);
if (dynamicShadows != null) {
dynamicShadows.setOptions(Arrays.asList(DynamicShadows.values()));
dynamicShadows.bindSelection(new DynamicShadowsBinding(config.getRendering()));
}
final UISlider fovSlider=find("String_Node_Str",UISlider.class);
if (fovSlider != null) {
fovSlider.setIncrement(5.0f);
fovSlider.setPrecision(0);
fovSlider.setMinimum(70);
fovSlider.setRange(50);
fovSlider.bindValue(BindHelper.bindBeanProperty("String_Node_Str",config.getRendering(),Float.TYPE));
}
UIDropdown<CameraSetting> cameraSetting=find("String_Node_Str",UIDropdown.class);
if (cameraSetting != null) {
cameraSetting.setOptions(Arrays.asList(CameraSetting.values()));
cameraSetting.bindSelection(new CameraSettingBinding(config.getRendering()));
}
WidgetUtil.tryBindCheckbox(this,"String_Node_Str",BindHelper.bindBeanProperty("String_Node_Str",config.getRendering(),Boolean.TYPE));
WidgetUtil.tryBindCheckbox(this,"String_Node_Str",BindHelper.bindBeanProperty("String_Node_Str",config.getRendering(),Boolean.TYPE));
WidgetUtil.tryBindCheckbox(this,"String_Node_Str",BindHelper.bindBeanProperty("String_Node_Str",config.getRendering(),Boolean.TYPE));
WidgetUtil.tryBindCheckbox(this,"String_Node_Str",BindHelper.bindBeanProperty("String_Node_Str",config.getRendering(),Boolean.TYPE));
WidgetUtil.tryBindCheckbox(this,"String_Node_Str",BindHelper.bindBeanProperty("String_Node_Str",config.getRendering(),Boolean.TYPE));
WidgetUtil.tryBindCheckbox(this,"String_Node_Str",BindHelper.bindBeanProperty("String_Node_Str",config.getRendering(),Boolean.TYPE));
WidgetUtil.tryBindCheckbox(this,"String_Node_Str",BindHelper.bindBeanProperty("String_Node_Str",config.getRendering(),Boolean.TYPE));
WidgetUtil.tryBindCheckbox(this,"String_Node_Str",BindHelper.bindBeanProperty("String_Node_Str",config.getRendering(),Boolean.TYPE));
WidgetUtil.tryBindCheckbox(this,"String_Node_Str",BindHelper.bindBeanProperty("String_Node_Str",config.getRendering(),Boolean.TYPE));
WidgetUtil.trySubscribe(this,"String_Node_Str",new ActivateEventListener(){
@Override public void onActivated(UIWidget widget){
CameraSettingBinding cam;
fovSlider.setValue(100.0f);
}
}
);
WidgetUtil.trySubscribe(this,"String_Node_Str",new ActivateEventListener(){
@Override public void onActivated(UIWidget button){
getManager().popScreen();
}
}
);
}