package com.jenjinstudios.io.annotations;

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

/**
 * Used for converting a message of one class into another class.
 *
 * @author Caleb Brinkman
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface MessageAdapter
{
    /**
     * Specify the class from which the Message should be serialized.
     *
     * @return The name of the class from which the Message should be serialized.
     */
    String adaptFrom() default "";
}

@@ -607,11 +607,216 @@
 ault %22%22;
+%0A%0A    /**%0A     * Specify the class to which the Message should be serialized.%0A     *%0A     * @return The name of the class to which the Message should be serialized.%0A     */%0A    String adaptTo() default %22%22;
 %0A%7D%0A

Add adaptTo parameter