private static String getMessage(TokenWithTypeInfo token1, TokenWithTypeInfo token2) { return String.format( MESSAGE, token2.getType(), token2.getValue(), token1.getType(), token1.getValue(), token1.getLine()); }