package org.infinispan.protostream.annotations.impl.processor.types;

import javax.lang.model.element.Element;

/**
 * Some XElements have an associated javax.lang.model.element.Element, in which case they implement this interface in
 * order to expose the Element.
 *
 * @author anistor@redhat.com
 * @since 4.3
 */
public interface HasModelElement {

   Element getElement();
}

@@ -121,16 +121,73 @@
 ome 
+%7B@link org.infinispan.protostream.annotations.impl.types.
 XElement
 s ha
@@ -182,16 +182,17 @@
 XElement
+%7D
 s have a
@@ -203,16 +203,19 @@
 sociated
+%0A *
  javax.l
@@ -287,19 +287,16 @@
 rface in
-%0A *
  order t
@@ -404,16 +404,141 @@
 ment %7B%0A%0A
+   /**%0A    * Get the %7B@link Element%7D, never %7B@code null%7D.%0A    *%0A    * @return the %7B@link Element%7D, never %7B@code null%7D%0A    */%0A
    Eleme

Improve javadoc of HasModelElement