package org.jgroups.annotations;

/**
 * Annotation to generate an element in the schema created by {@link org.jgroups.util.XMLSchemaGenerator}. Example: <br/>
 * <pre>
 * {@literal @}XmlElement(name="fork-stacks" type="ForkStacksType")
 * </pre>
 * This results in the following schema fragment:
 * <pre>
 *     &lt;xs:element name="fork-stacks" type="ForkStacksType"/&gt;
 * </pre>
 * @author Bela Ban
 * @since  3.5
 */

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(value=RetentionPolicy.RUNTIME)
@Target(value=ElementType.TYPE)
public @interface XmlElement {
    String name();
    String type();
}

@@ -27,16 +27,178 @@
 tions;%0A%0A
+import java.lang.annotation.ElementType;%0Aimport java.lang.annotation.Retention;%0Aimport java.lang.annotation.RetentionPolicy;%0Aimport java.lang.annotation.Target;%0A%0A
 /**%0A * A
@@ -314,11 +314,9 @@
 e: %3C
-br/
+p
 %3E%0A *
@@ -580,171 +580,8 @@
  */%0A
-%0Aimport java.lang.annotation.ElementType;%0Aimport java.lang.annotation.Retention;%0Aimport java.lang.annotation.RetentionPolicy;%0Aimport java.lang.annotation.Target;%0A%0A
 @Ret

Fix dangling @XmlElement JavaDoc