question: reads a template file and substitutes variables of the format $ foo . concode_field_sep ListMultimap<String,RuleDocumentationAttribute> attributeDocEntries concode_elem_sep String javaSourceFilePath concode_elem_sep ConfiguredRuleClassProvider ruleClassProvider concode_elem_sep String LS concode_elem_sep Collection<RuleDocumentation> ruleDocEntries concode_elem_sep int lineCnt concode_field_sep int getLineCnt concode_elem_sep void readTextFile concode_elem_sep void readDocsFromComments concode_elem_sep ListMultimap<String,RuleDocumentationAttribute> getAttributeDocEntries concode_elem_sep String expandVariables concode_elem_sep void readLine concode_elem_sep Collection<RuleDocumentation> getRuleDocEntries concode_elem_sep void readLineImpl
target: String function ( String arg0 , final Map < String , String > arg1 ) { final StringBuilder loc0 = new StringBuilder ( ) ; readTextFile ( arg0 , new ReadAction ( ) { @ Override public void readLineImpl ( String arg2 ) { loc0 . append ( expandVariables ( arg2 , arg1 ) ) . append ( LS ) ; } } ) ; return loc0 . toString ( ) ; }