title: Custom implicit coercion in groovy
body: <p>Is there in groovy similar feature to scala's implicit conversions?</p>
  
  <p>I now that we can define custom type coercion like here:
  <a href="http://docs.groovy-lang.org/latest/html/documentation/core-semantics.html#_custom_type_coercion" rel="nofollow noreferrer">link</a>, but there is need for 'as' keyword to add to use it.</p>
  
  <p>To provide some concrete use case: I want to create conversion from String to Currency and after enabling it I want to pass String to method which requires Currency as a param.</p>
  
  <pre><code>public class SomeJavaClass { 
      void method(Currency currency){
      ...
      }
  }
  </code></pre>
  
  <p>and after implicit conversion this code should be valid:</p>
  
  <pre><code>class SomeGroovyClass {
      def method(){
          new SomeJavaClass().method("USD")
      }
  }
  </code></pre>
  
  <p>Is this somehow possible?</p>