package com.axellience.vuegwt.jsr69.annotations;

import com.axellience.vuegwt.client.definitions.component.ComputedKind;

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

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.SOURCE;

/**
 * Mark a computed property
 * @author Adrien Baron
 */
@Target(METHOD)
@Retention(SOURCE)
public @interface Computed
{
    String propertyName() default "";
    ComputedKind kind() default ComputedKind.GETTER;
}

@@ -298,22 +298,21 @@
 nPolicy.
-SOURCE
+CLASS
 ;%0A%0A/**%0A 
@@ -397,14 +397,13 @@
 ion(
-SOURCE
+CLASS
 )%0Apu

Make Computed retention policy to CLASS for use in template parser