Program: 769
Project: 769
Buggy source:
@Override @SuppressWarnings("String_Node_Str") public void initialise(){
  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(new Binding<ViewDistance>(){
      @Override public ViewDistance get(){
        return config.getRendering().getViewDistance();
      }
      @Override public void set(      ViewDistance value){
        localPlayer.getClientEntity().send(new ViewDistanceChangeRequest(value));
      }
    }
);
  }
  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<ScreenshotSize> screenshotSize=find("String_Node_Str",UIDropdown.class);
  if (screenshotSize != null) {
    screenshotSize.setOptions(Arrays.asList(ScreenshotSize.values()));
    screenshotSize.bindSelection(BindHelper.bindBeanProperty("String_Node_Str",config.getRendering(),ScreenshotSize.class));
  }
  UIDropdown<String> screenshotFormat=find("String_Node_Str",UIDropdown.class);
  if (screenshotFormat != null) {
    screenshotFormat.setOptions(Arrays.asList(ImageIO.getWriterFileSuffixes()));
    screenshotFormat.bindSelection(BindHelper.bindBeanProperty("String_Node_Str",config.getRendering(),String.class));
  }
  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));
}
final UISlider frameLimitSlider=find("String_Node_Str",UISlider.class);
if (frameLimitSlider != null) {
frameLimitSlider.setIncrement(5.0f);
frameLimitSlider.setPrecision(0);
frameLimitSlider.setMinimum(30);
frameLimitSlider.setRange(175);
frameLimitSlider.setLabelFunction(new Function<Float,String>(){
@Override public String apply(Float input){
if (input > 200) {
  return "String_Node_Str";
}
 else {
  return String.valueOf(input.intValue());
}
}
}
);
frameLimitSlider.bindValue(new Binding<Float>(){
@Override public Float get(){
if (config.getRendering().getFrameLimit() == -1) {
  return 205f;
}
 else {
  return (float)config.getRendering().getFrameLimit();
}
}
@Override public void set(Float value){
int frameLimit=value.intValue();
if (frameLimit > 200) {
  config.getRendering().setFrameLimit(-1);
}
 else {
  config.getRendering().setFrameLimit(frameLimit);
}
}
}
);
}
final UISlider fboScaleSlider=find("String_Node_Str",UISlider.class);
if (fboScaleSlider != null) {
fboScaleSlider.setIncrement(5.0f);
fboScaleSlider.setPrecision(0);
fboScaleSlider.setMinimum(25);
fboScaleSlider.setRange(200);
fboScaleSlider.setLabelFunction(new Function<Float,String>(){
@Override public String apply(Float input){
return String.valueOf(input.intValue()) + "String_Node_Str";
}
}
);
fboScaleSlider.bindValue(new Binding<Float>(){
@Override public Float get(){
return (float)config.getRendering().getFboScale();
}
@Override public void set(Float value){
config.getRendering().setFboScale(value.intValue());
}
}
);
}
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.tryBindCheckbox(this,"String_Node_Str",BindHelper.bindBeanProperty("String_Node_Str",displayDevice,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));
if (fovSlider != null) {
WidgetUtil.trySubscribe(this,"String_Node_Str",widget -> fovSlider.setValue(100.0f));
}
WidgetUtil.trySubscribe(this,"String_Node_Str",button -> getManager().popScreen());
}

Fixed version (ground truth):
@Override @SuppressWarnings("String_Node_Str") public void initialise(){
  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<ScreenshotSize> screenshotSize=find("String_Node_Str",UIDropdown.class);
  if (screenshotSize != null) {
    screenshotSize.setOptions(Arrays.asList(ScreenshotSize.values()));
    screenshotSize.bindSelection(BindHelper.bindBeanProperty("String_Node_Str",config.getRendering(),ScreenshotSize.class));
  }
  UIDropdown<String> screenshotFormat=find("String_Node_Str",UIDropdown.class);
  if (screenshotFormat != null) {
    screenshotFormat.setOptions(Arrays.asList(ImageIO.getWriterFileSuffixes()));
    screenshotFormat.bindSelection(BindHelper.bindBeanProperty("String_Node_Str",config.getRendering(),String.class));
  }
  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));
}
final UISlider frameLimitSlider=find("String_Node_Str",UISlider.class);
if (frameLimitSlider != null) {
frameLimitSlider.setIncrement(5.0f);
frameLimitSlider.setPrecision(0);
frameLimitSlider.setMinimum(30);
frameLimitSlider.setRange(175);
frameLimitSlider.setLabelFunction(new Function<Float,String>(){
@Override public String apply(Float input){
if (input > 200) {
  return "String_Node_Str";
}
 else {
  return String.valueOf(input.intValue());
}
}
}
);
frameLimitSlider.bindValue(new Binding<Float>(){
@Override public Float get(){
if (config.getRendering().getFrameLimit() == -1) {
  return 205f;
}
 else {
  return (float)config.getRendering().getFrameLimit();
}
}
@Override public void set(Float value){
int frameLimit=value.intValue();
if (frameLimit > 200) {
  config.getRendering().setFrameLimit(-1);
}
 else {
  config.getRendering().setFrameLimit(frameLimit);
}
}
}
);
}
final UISlider fboScaleSlider=find("String_Node_Str",UISlider.class);
if (fboScaleSlider != null) {
fboScaleSlider.setIncrement(5.0f);
fboScaleSlider.setPrecision(0);
fboScaleSlider.setMinimum(25);
fboScaleSlider.setRange(200);
fboScaleSlider.setLabelFunction(new Function<Float,String>(){
@Override public String apply(Float input){
return String.valueOf(input.intValue()) + "String_Node_Str";
}
}
);
fboScaleSlider.bindValue(new Binding<Float>(){
@Override public Float get(){
return (float)config.getRendering().getFboScale();
}
@Override public void set(Float value){
config.getRendering().setFboScale(value.intValue());
}
}
);
}
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.tryBindCheckbox(this,"String_Node_Str",BindHelper.bindBeanProperty("String_Node_Str",displayDevice,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));
if (fovSlider != null) {
WidgetUtil.trySubscribe(this,"String_Node_Str",widget -> fovSlider.setValue(100.0f));
}
WidgetUtil.trySubscribe(this,"String_Node_Str",button -> getManager().popScreen());
}