title: Eclipse Java 8 Auto completion for Lambda expressions
body: <p>Was learning java8 streams in eclipse. Found the below behaviour
  Have a List of Student objects , stuList. I have an expression like this.</p>
  
  <pre><code>stuList.stream().collect(Collectors.averagingDouble(p -&gt; p.getMarks() ));
  </code></pre>
  
  <p>If I write <strong><em><code>p -&gt; p.</code></em></strong> and then try a content assist with eclipse, no methods are shown. 
  But if add a LHS , <strong><code>double d =</code></strong> , then a do content assist on <strong><em><code>p -&gt; p.</code></em></strong> shows all the methods available.</p>
  
  <p>I expect eclipse to understand that i am working on a student object even if i dont provide an LHS. For the first case if i write the method myself, the code compiles fine. Only the auto complete is not working</p>
  
  <p>Any pointers for this? And why adding LHS allows eclipse to infer type?</p>
  
  <p>Using eclipse : Mars..</p>