-
Notifications
You must be signed in to change notification settings - Fork 744
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I believe we meant to do this after removing MinimalFix, then forgot. PiperOrigin-RevId: 565481056
- Loading branch information
1 parent
c9726da
commit 9bea871
Showing
1 changed file
with
6 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ | |
|
||
package com.google.errorprone.fixes; | ||
|
||
import com.google.errorprone.annotations.RestrictedInheritance; | ||
import com.sun.tools.javac.tree.EndPosTable; | ||
import com.sun.tools.javac.tree.JCTree.JCCompilationUnit; | ||
import java.util.Collection; | ||
|
@@ -26,6 +27,11 @@ | |
* | ||
* @author [email protected] (Eddie Aftandilian) | ||
*/ | ||
@RestrictedInheritance( | ||
explanation = "This should only be subclassed within ErrorProne.", | ||
allowedOnPath = | ||
".*/third_party/java_src/error_prone/project/check_api/src/main/java/com/google/errorprone/fixes/.*" | ||
+ "|.*third_party/java_src/error_prone/project/check_api/src/main/java/com/google/errorprone/_javac/check_api/libcheck_api-class_sources/com/google/errorprone/fixes/.*") | ||
public interface Fix { | ||
|
||
String toString(JCCompilationUnit compilationUnit); | ||
|