String _name = ref.getName();
int _arity = ref.getArity();
String _clauseHead = ref.getClauseHead();
boolean _isSubClause = ref.isSubClause();
ErlElementKind _refToKind = SearchUtil.refToKind(ref);
return new ErlangSearchElement(module, _modulePath, _name, _arity, _clauseHead, _isSubClause, _refToKind);
}