@Override protected void assertValidValue(String value){
  super.assertValidValue(value);
  for (int i=1; i < value.length(); i++) {
    char c=value.charAt(i);
    if (c == '`') {
      throw invalidRawTemplateString(value);
    }
 else     if (c == '$') {
      if (i + 1 < value.length() && value.charAt(i + 1) == '{') {
        throw invalidRawTemplateString(value);
      }
    }
  }
}

@ Override protected void assertValidValue ( String value ) { super . assertValidValue ( value ) ; for ( int i = 1 ; i < value . length ( ) ; i ++ ) { char c = value . charAt ( i ) ; if ( c == '`' ) { throw invalidRawTemplateString ( value ) ; } else if ( c == '$' ) { if ( i + 1 < value . length ( ) && value . charAt ( i + 1 ) == '{' ) { throw invalidRawTemplateString ( value ) ; } } } }
asserts that the given value is a valid raw template string , e . g . it does not contain the ' ` ' character or ' $ { ' sequence .
