private static ReferenceHolder nrh(String id, String value, Boolean booleanValue, String type)
{
Boolean booleanValue2= ScriptHelper.evalBoolean("booleanValue", null);
ScriptHelper.put("booleanValue2", booleanValue2, null);
booleanValue2= (Boolean) ScriptHelper.eval("booleanValue != null ? booleanValue2 : null", null);
ReferenceHolder referenceHolder= new ReferenceHolder(id, ServiceLocator.getInstance().getReflectionService().forName(type), value, booleanValue2);
return referenceHolder;
}