“…Most code search approaches are based on information retrieval techniques to find relevant code snippets depending on a query either formulated directly by the developer or inferred from the code [1]. Some approaches focus on recommending specific types of snippets, such as framework usages [21], Java methods [1], exception handling examples [43], auxiliary functionalities [29] or API usages [42], while others are general purpose [22,23,25,35,45,49]. Approaches inferring a query from the code can be based on tokens and/or statements similarity [1,49], structural code features [21,25,35,43], or lexical ones [43].…”