}
@Override
public void run() {
Session session = this.getSession();
Formula formula = new Formula();
String source = "REM {Begin_Do_Not_Tag};\r\n" + "\r\n" + "SenderName := @If(SendTo = \"\";EnterSendTo;SendTo);\r\n"
+ "Send := @Subset(SenderName; 1);\r\n" + "CN1 := @Trim(@Name([CN]; Send));\r\n"
+ "CN := @If(@Contains(@Right(Send;\"@\");\">\") & CN1 = \"\";@Trim(Send); CN1);\r\n"
+ "G := @If(CN = \"\"; @Name([G]; @Subset(SenderName; 1)); \"\");\r\n"
+ "S := @If(CN = \"\"; @Name([S]; @Subset(SenderName; 1)); \"\");\r\n"
+ "Person := @If(CN != \"\"; CN; G + \" \" + S);\r\n"
+ "@If(@Left(Person;1)=\"\\\"\" & @Right(Person;1)=\"\\\"\"; @LeftBack(@RightBack(Person;1);1); Person);\r\n"
+ "REM {End_Do_Not_Tag};";
formula.setExpression(source);
org.openntf.domino.helpers.Formula.Parser parser = formula.getParser();
if (parser != null) {
parser.parse();
Set<String> literals = parser.getLiterals();
System.out.println("BEGIN LITERALS");
for (String literal : literals) {