/*
 * Copyright (C) 2005 Joe Walnes.
 * Copyright (C) 2006, 2007 XStream Committers.
 * All rights reserved.
 *
 * The software in this package is published under the terms of the BSD
 * style license a copy of which has been included with this distribution in
 * the LICENSE.txt file.
 * 
 * Created on 11. August 2005 by Mauro Talevi
 */
package com.thoughtworks.xstream.annotations;

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

/**
 * Annotation used to define an XStream class or field value.
 *
 * @author Emil Kirschner
 * @author Chung-Onn Cheong
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.FIELD})
public @interface XStreamAlias {
    /**
     * The value of the class or field value
     */
    public String value();
    public Class<?> impl() default Void.class; //Use Void to denote as Null
}

@@ -57,16 +57,22 @@
 06, 2007
+, 2013
  XStream
@@ -607,21 +607,21 @@
 r field 
-v
 al
-ue
+ias
 .%0A *%0A * 
@@ -671,16 +671,227 @@
  Cheong%0A
+ * @see com.thoughtworks.xstream.XStream#alias(String, Class)%0A * @see com.thoughtworks.xstream.XStream#alias(String, Class, Class)%0A * @see com.thoughtworks.xstream.XStream#addDefaultImplementation(Class, Class)%0A
  */%0A@Ret
@@ -1021,20 +1021,19 @@
   * The 
-valu
+nam
 e of the
@@ -1048,21 +1048,22 @@
 r field 
-v
 al
-ue
+ias.
 %0A     */
@@ -1090,16 +1090,112 @@
 alue();%0A
+    /**%0A     * A possible default implementation if the annotated type is an interface.%0A     */%0A
     publ

Improve javadoc.