public ReversePath createReversePath(String reversePathString)
throws ParseException {
String reversePathStringWithAngleBracket =
"<" + reversePathString + ">";
ReversePathAST reversePathAST =
new ReversePathParser(reversePathStringWithAngleBracket)
.parse();
if (reversePathAST instanceof NullReversePathAST) {
return new NullReversePath();
} else if (reversePathAST instanceof RealReversePathAST) {
RealReversePathAST realReversePathAST =