title: Enabling certain java refactoring within Groovy editor in IntelliJ
body: <p>From within IntelliJ IDEA, when I'm within a groovy class, and refer to a property / field on java class that doesn't exist, is there a way to enable the create property refactoring?</p>
  
  <p>Eg:</p>
  
  <pre><code>// Inside Foo.groovy
  void method()
  {
      Bar bar = new Bar();  // Defined in Bar.java
      bar.someProperty = "Hello, world"; // bar.someProperty doesn't exist.
  }
  </code></pre>
  
  <p>In the above example, I'd like to get access to the "create property" refactoring option on someProperty.  Is there a way to enable this?</p>
  
  <p>Note:  I'm using IntelliJ 10.</p>