title: @Builder in Groovy 2.3.0
body: <p>I'm trying to run the simple @Builder example shown on the <a href="http://groovy.codehaus.org/Groovy+2.3+release+notes#Groovy2.3releasenotes-@Builder" rel="nofollow">Groovy 2.3 release page</a>, using IntelliJ Idea 13.1.1.</p>
  
  <p>Having created a vanilla groovy project and pasted the code, I get the following warnings where @Builder is declared on the Person class:</p>
  
  <p><code>Missed attributes: forClass, prefix, builderClassName, buildMethodName, builderMethodName</code></p>
  
  <p>(Essentially all the properties which don't have default values.) </p>
  
  <p>The IDE is then also not seeing the <code>builder()</code> method which by default should have been added to the Person class, suggesting the AST hadn't been applied.</p>
  
  <p>When the script is actually executed, it behaves as expected. So why do I see those errors in the IDE?</p>
  
  <p><strong>Update:</strong></p>
  
  <p>If I try to build from Gradle I get the following error during groovy compilation:</p>
  
  <p><code>Can't load builderStrategy 'groovy.transform.builder.DefaultStrategy' java.lang.ClassCastException: groovy.transform.builder.DefaultStrategy cannot be cast to org.codehaus.groovy.transform.BuilderASTTransformation$BuilderStrategy
  @ line 3, column 1.
     @Builder</code></p>
  
  <p>If I try to switch to SimpleStrategy instead of the DefaultStrategy I get:</p>
  
  <p><code>The builderStrategy class 'groovy.transform.builder.SimpleStrategy' on @Builder is not a builderStrategy
  @ line 4, column 1.
     @Builder(builderStrategy = SimpleStrategy)</code></p>