@Deprecated public static boolean checkAndConvertIdentifier(PsiBuilder b,int l,@NotNull String identifierValue,@NotNull IElementType tokenType){
  if (CONVERTABLE_TOKENS.contains(b.getTokenType()) && identifierValue.equals(b.getTokenText())) {
    PsiBuilder.Marker m=b.mark();
    b.advanceLexer();
    m.collapse(tokenType);
    return true;
  }
  return false;
}

@ Deprecated public static boolean checkAndConvertIdentifier ( PsiBuilder b , int l , @ NotNull String identifierValue , @ NotNull IElementType tokenType ) { if ( CONVERTABLE_TOKENS . contains ( b . getTokenType ( ) ) && identifierValue . equals ( b . getTokenText ( ) ) ) { PsiBuilder . Marker m = b . mark ( ) ; b . advanceLexer ( ) ; m . collapse ( tokenType ) ; return true ; } return false ; }
checks that we are at identifier with specific name and convert it to the token type
