title: Inspect variable outside of anonymous class in Eclipse
body: <p>is it possible to get the value of a final variable declared outside an anonymous class (where the debugger currently is) in Eclipse?  For example:</p>
  
  <pre><code>    final int x = 5;
      new Object() {
          {
              System.out.println(x);
          }
      };
  </code></pre>
  
  <p>This will compile and print "5", but if I try to inspect x on the println line I get the error "x cannot be resolved to a variable".</p>