From 1adffde838e3520285d02489b4a9259795e2bf2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89amonn=20McManus?= Date: Thu, 20 Jul 2023 14:55:36 -0700 Subject: [PATCH] Minor documentation tweak in `SuggestedFix.Builder`. PiperOrigin-RevId: 549748300 --- .../java/com/google/errorprone/fixes/SuggestedFix.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/check_api/src/main/java/com/google/errorprone/fixes/SuggestedFix.java b/check_api/src/main/java/com/google/errorprone/fixes/SuggestedFix.java index 2a958d1814a..feabf10f910 100644 --- a/check_api/src/main/java/com/google/errorprone/fixes/SuggestedFix.java +++ b/check_api/src/main/java/com/google/errorprone/fixes/SuggestedFix.java @@ -294,7 +294,7 @@ public Builder swap(Tree node1, Tree node2) { /** * Add an import statement as part of this SuggestedFix. Import string should be of the form - * "foo.bar.baz". + * "foo.bar.SomeClass". */ @CanIgnoreReturnValue public Builder addImport(String importString) { @@ -304,7 +304,7 @@ public Builder addImport(String importString) { /** * Add a static import statement as part of this SuggestedFix. Import string should be of the - * form "foo.bar.baz". + * form "foo.bar.SomeClass.someMethod" or "foo.bar.SomeClass.SOME_FIELD". */ @CanIgnoreReturnValue public Builder addStaticImport(String importString) { @@ -314,7 +314,7 @@ public Builder addStaticImport(String importString) { /** * Remove an import statement as part of this SuggestedFix. Import string should be of the form - * "foo.bar.baz". + * "foo.bar.SomeClass". */ @CanIgnoreReturnValue public Builder removeImport(String importString) { @@ -324,7 +324,7 @@ public Builder removeImport(String importString) { /** * Remove a static import statement as part of this SuggestedFix. Import string should be of the - * form "foo.bar.baz". + * form "foo.bar.SomeClass.someMethod" or "foo.bar.SomeClass.SOME_FIELD". */ @CanIgnoreReturnValue public Builder removeStaticImport(String importString) {