title: Is it possible to @XmlElement annotate a method with non-stardard name?
body: <p>This is what I'm doing:</p>
  
  <pre><code>@XmlType(name = "foo")
  @XmlAccessorType(XmlAccessType.NONE)
  public final class Foo {
    @XmlElement(name = "title")
    public String title() {
      return "hello, world!";
    }
  }
  </code></pre>
  
  <p>JAXB complains:</p>
  
  <pre><code>com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions
  JAXB annotation is placed on a method that is not a JAXB property
      this problem is related to the following location:
          at @javax.xml.bind.annotation.XmlElement(nillable=false, name=title, required=false, defaultValue=, type=class javax.xml.bind.annotation.XmlElement$DEFAULT, namespace=##default)
          at com.example.Foo
  </code></pre>
  
  <p>What to do? I don't want (and can't) rename the method.</p>