package com.redhat.ceylon.compiler.java.metadata;

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

/**
 * Annotation applied to a Java typed declaration (such as a method parameter 
 * or result) recording the Ceylon type of the declaration.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.PARAMETER, ElementType.METHOD})
public @interface TypeInfo {
    
    /** 
     * String representation of the Ceylon type that the annotated element has
     */
    String value() default "";
}

@@ -603,10 +603,130 @@
 ult %22%22;%0A
+    %0A    /**%0A     * Whether the Ceylon type has been erased.%0A     * @return%0A     */%0A    boolean erased() default false;%0A
 %7D%0A

Add erased flag to @TypeInfo