Program: 23281
Project: 23281
Buggy source:
@SuppressWarnings("String_Node_Str") @Override public <T extends Resource>T fetchResourceWithException(Class<T> class_,String uri) throws FHIRException {
  if (class_ == null) {
    return null;
  }
  if (class_ == Questionnaire.class)   return (T)questionnaire;
  if (class_ == StructureDefinition.class && !uri.contains("String_Node_Str"))   uri="String_Node_Str" + uri;
  if (uri.startsWith("String_Node_Str") || uri.startsWith("String_Node_Str")) {
    if (uri.contains("String_Node_Str"))     uri=uri.substring(0,uri.indexOf("String_Node_Str"));
    if (class_ == StructureDefinition.class) {
      if (structures.containsKey(uri))       return (T)structures.get(uri);
 else       return null;
    }
 else     if (class_ == ValueSet.class) {
      if (valueSets.containsKey(uri))       return (T)valueSets.get(uri);
 else       return null;
    }
 else     if (class_ == CodeSystem.class) {
      if (codeSystems.containsKey(uri))       return (T)codeSystems.get(uri);
 else       return null;
    }
 else     if (class_ == OperationDefinition.class) {
      OperationDefinition od=operations.get(uri);
      return (T)od;
    }
 else     if (class_ == SearchParameter.class) {
      SearchParameter od=searchParameters.get(uri);
      return (T)od;
    }
 else     if (class_ == ConceptMap.class) {
      if (maps.containsKey(uri))       return (T)maps.get(uri);
 else       return null;
    }
 else     if (class_ == StructureMap.class) {
      if (transforms.containsKey(uri))       return (T)transforms.get(uri);
 else       return null;
    }
  }
  throw new FHIRException("String_Node_Str" + class_.getName() + "String_Node_Str"+ uri+ "String_Node_Str");
}

Fixed version (ground truth):
@SuppressWarnings("String_Node_Str") @Override public <T extends Resource>T fetchResourceWithException(Class<T> class_,String uri) throws FHIRException {
  if (class_ == null) {
    return null;
  }
  if (class_ == Questionnaire.class)   return (T)questionnaire;
  if (class_ == StructureDefinition.class && !uri.contains("String_Node_Str"))   uri="String_Node_Str" + uri;
  if (uri.startsWith("String_Node_Str") || uri.startsWith("String_Node_Str")) {
    if (uri.contains("String_Node_Str"))     uri=uri.substring(0,uri.indexOf("String_Node_Str"));
    if (class_ == Resource.class) {
      if (structures.containsKey(uri))       return (T)structures.get(uri);
      if (valueSets.containsKey(uri))       return (T)valueSets.get(uri);
      if (codeSystems.containsKey(uri))       return (T)codeSystems.get(uri);
      if (operations.containsKey(uri))       return (T)operations.get(uri);
      if (searchParameters.containsKey(uri))       return (T)searchParameters.get(uri);
      if (maps.containsKey(uri))       return (T)maps.get(uri);
      if (transforms.containsKey(uri))       return (T)transforms.get(uri);
      return null;
    }
    if (class_ == StructureDefinition.class) {
      if (structures.containsKey(uri))       return (T)structures.get(uri);
 else       return null;
    }
 else     if (class_ == ValueSet.class) {
      if (valueSets.containsKey(uri))       return (T)valueSets.get(uri);
 else       return null;
    }
 else     if (class_ == CodeSystem.class) {
      if (codeSystems.containsKey(uri))       return (T)codeSystems.get(uri);
 else       return null;
    }
 else     if (class_ == OperationDefinition.class) {
      OperationDefinition od=operations.get(uri);
      return (T)od;
    }
 else     if (class_ == SearchParameter.class) {
      SearchParameter od=searchParameters.get(uri);
      return (T)od;
    }
 else     if (class_ == ConceptMap.class) {
      if (maps.containsKey(uri))       return (T)maps.get(uri);
 else       return null;
    }
 else     if (class_ == StructureMap.class) {
      if (transforms.containsKey(uri))       return (T)transforms.get(uri);
 else       return null;
    }
  }
  throw new FHIRException("String_Node_Str" + class_.getName() + "String_Node_Str"+ uri+ "String_Node_Str");
}