private void initializeRawSourceCodeMap(String rawSource){
  rawSourceCodeWithLine=new LinkedHashMap<>();
  int lineNumber=1;
  StringReader sr=new StringReader(rawSource);
  BufferedReader br=new BufferedReader(sr);
  String line;
  try {
    while ((line=br.readLine()) != null) {
      if (StringUtils.isNotBlank(line)) {
        rawSourceCodeWithLine.put(lineNumber,line);
        lineNumber++;
      }
    }
  }
 catch (  IOException ex) {
    LOGGER.error("Error occured while initialize raw source code map " + ex.getMessage());
  }
}

private void initializeRawSourceCodeMap ( String rawSource ) { rawSourceCodeWithLine = new LinkedHashMap < > ( ) ; int lineNumber = 1 ; StringReader sr = new StringReader ( rawSource ) ; BufferedReader br = new BufferedReader ( sr ) ; String line ; try { while ( ( line = br . readLine ( ) ) != null ) { if ( StringUtils . isNotBlank ( line ) ) { rawSourceCodeWithLine . put ( lineNumber , line ) ; lineNumber ++ ; } } } catch ( IOException ex ) { LOGGER . error ( "Error occured while initialize raw source code map " + ex . getMessage ( ) ) ; } }
initialisation of a local map that handles each source code line , keyed by the line number
