diff options
author | bcorso <bcorso@google.com> | 2020-07-27 13:13:45 -0700 |
---|---|---|
committer | Nick <565601+nick-someone@users.noreply.github.com> | 2020-07-28 10:49:25 -0500 |
commit | 6c39b13727ce18e218c2b0ca47d6eb47b62164ab (patch) | |
tree | cf42472ef3015631e7e941f7cc69ddd1471bda20 | |
parent | c6e35e68633050bab97230d496ae1765605c186e (diff) | |
download | auto-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.java | 2 |
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); } |