Skip to content

Commit

Permalink
Avoid a static reference to AutoValue
Browse files Browse the repository at this point in the history
See #1130

RELNOTES: N/A

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=215268518
  • Loading branch information
cushon authored and epmjohnston committed Oct 2, 2018
1 parent c57ec8c commit 413660b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -102,7 +102,7 @@ public static boolean isAutoValueAccessor(Tree tree) {
&& // annotated @AutoValue
MoreAnnotations.getDeclarationAndTypeAttributes(rcvrType.tsym)
.map(Object::toString)
.anyMatch(("@" + AutoValue.class.getCanonicalName())::equals);
.anyMatch("@com.google.auto.value.AutoValue"::equals);
}

/**
Expand Down

0 comments on commit 413660b

Please sign in to comment.