protected void addSourceCodeRemarkOnAttribute(TestSolution testSolution,Element element,String messageCode,String attributeName){
  if (attributeName != null) {
    Collection<EvidenceElement> evidenceElementList=new ArrayList<>();
    EvidenceElement ee=getEvidenceElement(EvidenceStore.TARGETTED_ELEMENT_FROM_SCOPE_EE,attributeName);
    evidenceElementList.add(ee);
    processRemarkService.addSourceCodeRemarkOnElement(testSolution,element,messageCode,evidenceElementList);
  }
}

protected void addSourceCodeRemarkOnAttribute ( TestSolution testSolution , Element element , String messageCode , String attributeName ) { if ( attributeName != null ) { Collection < EvidenceElement > evidenceElementList = new ArrayList < > ( ) ; EvidenceElement ee = getEvidenceElement ( EvidenceStore . TARGETTED_ELEMENT_FROM_SCOPE_EE , attributeName ) ; evidenceElementList . add ( ee ) ; processRemarkService . addSourceCodeRemarkOnElement ( testSolution , element , messageCode , evidenceElementList ) ; } }
add a sourcecoderemark on the given element with a preset evidence element collection
