Skip to content

Commit

Permalink
Post-rebase fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan202 committed Jan 28, 2024
1 parent bd92ed0 commit 4fb2962
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions error-prone-contrib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@
<artifactId>jackson-annotations</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.auto</groupId>
<artifactId>auto-common</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.auto.service</groupId>
<artifactId>auto-service-annotations</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import com.google.errorprone.matchers.Description;
import com.google.errorprone.matchers.MultiMatcher;
import com.google.errorprone.matchers.MultiMatcher.MultiMatchResult;
import com.google.errorprone.refaster.annotation.BeforeTemplate;
import com.google.errorprone.util.ASTHelpers;
import com.google.errorprone.util.Signatures;
import com.sun.source.tree.AnnotationTree;
Expand Down Expand Up @@ -83,7 +84,7 @@ public final class ExhaustiveRefasterTypeMigration extends BugChecker implements
private static final MultiMatcher<Tree, AnnotationTree> IS_TYPE_MIGRATION =
annotations(AT_LEAST_ONE, isType("tech.picnic.errorprone.refaster.annotation.TypeMigration"));
private static final MultiMatcher<Tree, AnnotationTree> HAS_BEFORE_TEMPLATE =
annotations(AT_LEAST_ONE, isType("com.google.errorprone.refaster.annotation.BeforeTemplate"));
annotations(AT_LEAST_ONE, isType(BeforeTemplate.class.getCanonicalName()));
private static final String TYPE_MIGRATION_TYPE_ELEMENT = "of";
private static final String TYPE_MIGRATION_UNMIGRATED_METHODS_ELEMENT = "unmigratedMethods";

Expand Down

0 comments on commit 4fb2962

Please sign in to comment.