From 3c157843f26ddff51f1cbc86e38795910f62cf2b Mon Sep 17 00:00:00 2001 From: "copybara-service[bot]" Date: Fri, 10 May 2024 13:55:42 +0000 Subject: [PATCH] Latest docs on successful build 6191 auto-pushed to gh-pages --- .../google/errorprone/refaster/annotation/AfterTemplate.html | 5 ++++- .../errorprone/refaster/annotation/BeforeTemplate.html | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) 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)