package org.realityforge.arez.annotations;

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

/**
 * Methods marked with this annotation are observable values within Arez.
 *
 * <p>The method should only invoked within the scope of a transaction.</p>
 */
@Retention( RetentionPolicy.RUNTIME )
@Target( ElementType.METHOD )
public @interface Observable
{
  /**
   * Return the name of the Observable relative to the container.
   *
   * @return the name of the Observable relative to the container.
   */
  String name() default "";
}

@@ -634,13 +634,22 @@
 efault %22
+%3Cdefault%3E
 %22;%0A%7D%0A

Change name default so that it is easy to detect