public static GremlinParser.GenericArgumentContext castChildToGenericLiteral(final ParseTree ctx, final int childIndex) {
        return (GremlinParser.GenericArgumentContext)(ctx.getChild(childIndex));
    }
Cast ParseTree node child into GenericLiteralContext
@param ctx : ParseTree node
@param childIndex : child index
@return casted GenericLiteralContext
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/language/grammar/ParseTreeContextCastHelper.java