Merge "check-flagged-apis: add Flag value class" into main am: 7b986ab345

Original change: https://android-review.googlesource.com/c/platform/build/+/3042357

Change-Id: I62acd2ec0c9f05d75ce925edec4fd190c23d0604
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2024-04-17 09:32:22 +00:00 committed by Automerger Merge Worker
commit f1cdb5e191

View file

@ -57,6 +57,19 @@ internal value class Symbol(val name: String) {
override fun toString(): String = name.toString()
}
/**
* Class representing the fully qualified name of an aconfig flag.
*
* This includes both the flag's package and name, separated by a dot, e.g.:
* <pre>
* com.android.aconfig.test.disabled_ro
* <pre>
*/
@JvmInline
internal value class Flag(val name: String) {
override fun toString(): String = name.toString()
}
class CheckCommand : CliktCommand() {
override fun run() {
println("hello world")