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

This commit is contained in:
Treehugger Robot 2024-04-17 09:08:25 +00:00 committed by Gerrit Code Review
commit 7b986ab345

View file

@ -57,6 +57,19 @@ internal value class Symbol(val name: String) {
override fun toString(): String = name.toString() 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() { class CheckCommand : CliktCommand() {
override fun run() { override fun run() {
println("hello world") println("hello world")