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 2a958d1814aa..feabf10f910f 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) {