001package react4j.annotations;
002
003import java.lang.annotation.Documented;
004import java.lang.annotation.ElementType;
005import java.lang.annotation.Target;
006import javax.annotation.Nonnull;
007
008/**
009 * Annotation used to associate a parameter with a input on a method annotated with {@link OnInputChange} .
010 * The type of the parameter must be the same as the return type of the input method.
011 */
012@Documented
013@Target( ElementType.PARAMETER )
014public @interface InputRef
015{
016  /**
017   * Return the name of the associated input.
018   *
019   * @return the name of the input.
020   */
021  @Nonnull
022  String value();
023}