Source:
private void updateLayout() { if (PluginParameterType.BOOLEAN.equals(parameter.getType())) { createBooleanLayout(); } else if (PluginParameterType.STRING.equals(parameter.getType())) { createStringLayout(); } else if (PluginParameterType.PLUGIN_SIP_TO_AIP.equals(parameter.getType())) { createPluginSipToAipLayout(); } else if (PluginParameterType.AIP_ID.equals(parameter.getType())) { createSelectAipLayout(); }else if (PluginParameterType.DISPOSAL.equals(parameter.getType())) { createDisposalLayout(); } else if (PluginParameterType.RISK_ID.equals(parameter.getType())) { createSelectRiskLayout(); } else if (PluginParameterType.SEVERITY.equals(parameter.getType())) { createSelectSeverityLayout(); } else if (PluginParameterType.REPRESENTATION_TYPE.equals(parameter.getType())) { createRepresentationTypeLayout(); } else if (PluginParameterType.RODA_OBJECT.equals(parameter.getType())) { createSelectRodaObjectLayout(); } else if (PluginParameterType.INTEGER.equals(parameter.getType())) { createIntegerLayout(); } else if (PluginParameterType.AIP_FIELDS.equals(parameter.getType())) { createPluginObjectFieldsLayout(AIP.class.getSimpleName()); } else if (PluginParameterType.REPRESENTATION_FIELDS.equals(parameter.getType())) { createPluginObjectFieldsLayout(Representation.class.getSimpleName()); } else if (PluginParameterType.FILE_FIELDS.equals(parameter.getType())) { createPluginObjectFieldsLayout(File.class.getSimpleName()); } else if (PluginParameterType.PERMISSION_TYPES.equals(parameter.getType())) { createPermissionTypesLayout(); } else { LOGGER .warn("Unsupported plugin parameter type: " + parameter.getType() + ". Reverting to default parameter editor."); createStringLayout(); } }

Target:
private void updateLayout() { if (PluginParameterType.BOOLEAN.equals(parameter.getType())) { createBooleanLayout(); } else if (PluginParameterType.STRING.equals(parameter.getType())) { createStringLayout(); } else if (PluginParameterType.PLUGIN_SIP_TO_AIP.equals(parameter.getType())) { createPluginSipToAipLayout(); } else if (PluginParameterType.AIP_ID.equals(parameter.getType())) { createSelectAipLayout(); } else if (PluginParameterType.RISK_ID.equals(parameter.getType())) { createSelectRiskLayout(); } else if (PluginParameterType.SEVERITY.equals(parameter.getType())) { createSelectSeverityLayout(); } else if (PluginParameterType.REPRESENTATION_TYPE.equals(parameter.getType())) { createRepresentationTypeLayout(); } else if (PluginParameterType.RODA_OBJECT.equals(parameter.getType())) { createSelectRodaObjectLayout(); } else if (PluginParameterType.INTEGER.equals(parameter.getType())) { createIntegerLayout(); } else if (PluginParameterType.AIP_FIELDS.equals(parameter.getType())) { createPluginObjectFieldsLayout(AIP.class.getSimpleName()); } else if (PluginParameterType.REPRESENTATION_FIELDS.equals(parameter.getType())) { createPluginObjectFieldsLayout(Representation.class.getSimpleName()); } else if (PluginParameterType.FILE_FIELDS.equals(parameter.getType())) { createPluginObjectFieldsLayout(File.class.getSimpleName()); } else if (PluginParameterType.PERMISSION_TYPES.equals(parameter.getType())) { createPermissionTypesLayout(); } else { LOGGER .warn("Unsupported plugin parameter type: " + parameter.getType() + ". Reverting to default parameter editor."); createStringLayout(); } }