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:
commit
f1cdb5e191
1 changed files with 13 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue