private String stripQuotes(String str) {
        return str.replaceAll("\\A'|'\\Z", "");
    }
Resolves the given grammar name.

@param   name  the name.
@param   path  the relative path.

@return  the grammar file.
antlr4-maven-plugin/src/main/java/org/antlr/mojo/antlr4/GrammarDependencies.java