aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbcorso <bcorso@google.com>2020-07-27 13:13:45 -0700
committerNick <565601+nick-someone@users.noreply.github.com>2020-07-28 10:49:25 -0500
commit6c39b13727ce18e218c2b0ca47d6eb47b62164ab (patch)
treecf42472ef3015631e7e941f7cc69ddd1471bda20
parentc6e35e68633050bab97230d496ae1765605c186e (diff)
downloadauto-6c39b13727ce18e218c2b0ca47d6eb47b62164ab.tar.gz
Open SuperficialValidation#validateType(TypeMirror) to public visibility
so it can be used from other internal code. RELNOTES=Open SuperficialValidation#validateType(TypeMirror) to public visibility ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=323425711
-rw-r--r--common/src/main/java/com/google/auto/common/SuperficialValidation.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/main/java/com/google/auto/common/SuperficialValidation.java b/common/src/main/java/com/google/auto/common/SuperficialValidation.java
index dddb1be9..83870754 100644
--- a/common/src/main/java/com/google/auto/common/SuperficialValidation.java
+++ b/common/src/main/java/com/google/auto/common/SuperficialValidation.java
@@ -163,7 +163,7 @@ public final class SuperficialValidation {
}
};
- private static boolean validateType(TypeMirror type) {
+ public static boolean validateType(TypeMirror type) {
return type.accept(TYPE_VALIDATING_VISITOR, null);
}