title: Java Expression Trees
body: <p>Is there an equivalent of <code>.net</code>'s Expression Trees that underly LINQ for the <code>JVM</code>? I would like to implement some LINQ like code structures in <code>Scala</code> and I am wondering if I have to roll my own expression tree library also.</p>
  
  <p>Update:
  I am not interested in a linq equivalent itself. .net has a large set of expression tree tools that make it easy to dynamically compile code at runtime can have it be callable from your code. The project I want to undertake has no relation to databases. Expression tree's provide an easy way to describe code that operates on data.</p>
  
  <p>If there is no library my other option I think is to create one that emits byte code.</p>