diff --git a/api/latest/com/google/errorprone/refaster/annotation/AfterTemplate.html b/api/latest/com/google/errorprone/refaster/annotation/AfterTemplate.html index b2a70a25a25..da408657737 100644 --- a/api/latest/com/google/errorprone/refaster/annotation/AfterTemplate.html +++ b/api/latest/com/google/errorprone/refaster/annotation/AfterTemplate.html @@ -71,7 +71,10 @@

Annotation Type AfterTem
@Target(METHOD) @Retention(SOURCE) public @interface AfterTemplate
-
Desired "after" version of a refactoring. Corresponds to a matching method annotated with BeforeTemplate.
+
Desired "after" version of a refactoring. Corresponds to a matching method annotated with BeforeTemplate. + +

Multiple @AfterTemplates can be provided. This is useful in Tricorder findings, where + multiple suggestions can be presented to the user.

Author:
lowasser@google.com (Louis Wasserman)
diff --git a/api/latest/com/google/errorprone/refaster/annotation/BeforeTemplate.html b/api/latest/com/google/errorprone/refaster/annotation/BeforeTemplate.html index 81e4ed43798..49308f73260 100644 --- a/api/latest/com/google/errorprone/refaster/annotation/BeforeTemplate.html +++ b/api/latest/com/google/errorprone/refaster/annotation/BeforeTemplate.html @@ -71,7 +71,9 @@

Annotation Type BeforeT
@Target(METHOD) @Retention(SOURCE) public @interface BeforeTemplate
-
Desired "before" version of a refactoring. Corresponds to a matching method annotated with AfterTemplate.
+
Desired "before" version of a refactoring. Corresponds to matching methods annotated with AfterTemplate. + +

Multiple @BeforeTemplates can be provided to match multiple patterns.

Author:
lowasser@google.com (Louis Wasserman)