}
protected static ErlangSearchPattern _getSearchPatternFromOpenResultAndLimitTo(final RecordOpenResult res, final IErlModule module, final int offset, final LimitTo limitTo, final boolean matchAnyFunctionDefinition) throws ErlModelException {
String _name = res.getName();
final String unquoted = StringUtils.unquote(_name);
return new RecordPattern(unquoted, limitTo);
}