private char[] inlineTagCompletion(char[] completionName,char[] inlineTag){
  int tagLength=inlineTag.length;
  int completionLength=completionName.length;
  int inlineLength=2 + tagLength + 1+ completionLength+ 1;
  char[] inlineCompletion=new char[inlineLength];
  inlineCompletion[0]='{';
  inlineCompletion[1]='@';
  System.arraycopy(inlineTag,0,inlineCompletion,2,tagLength);
  inlineCompletion[tagLength + 2]=' ';
  System.arraycopy(completionName,0,inlineCompletion,tagLength + 3,completionLength);
  inlineCompletion[inlineLength - 1]='}';
  return inlineCompletion;
}

private char [ ] inlineTagCompletion ( char [ ] completionName , char [ ] inlineTag ) { int tagLength = inlineTag . length ; int completionLength = completionName . length ; int inlineLength = 2 + tagLength + 1 + completionLength + 1 ; char [ ] inlineCompletion = new char [ inlineLength ] ; inlineCompletion [ 0 ] = '{' ; inlineCompletion [ 1 ] = '@' ; System . arraycopy ( inlineTag , 0 , inlineCompletion , 2 , tagLength ) ; inlineCompletion [ tagLength + 2 ] = ' ' ; System . arraycopy ( completionName , 0 , inlineCompletion , tagLength + 3 , completionLength ) ; inlineCompletion [ inlineLength - 1 ] = '}' ; return inlineCompletion ; }
returns completion string inserted inside a specified inline tag .
