title: Spring data neo4j - GraphProperty on method
body: <p>I was looking at the definition of <code>GraphProperty</code> annotation for <code>spring-data-neo4j</code> and it looks something like this:</p>
  
  <pre><code>@Retention(RetentionPolicy.RUNTIME)
  @Target({ElementType.FIELD,ElementType.METHOD})
  public @interface GraphProperty {
  </code></pre>
  
  <p>now, I wanted to store in database value of the computed property, so I made something like:</p>
  
  <pre><code>@GraphProperty
  def fooProperty: String = "aaa"
  </code></pre>
  
  <p>but nothing got saved. </p>
  
  <p>If you can't use <code>GraphProperty</code> annotation on no-argument functions, why it has <code>target</code> set to method? Or am I doing something wrong?</p>