Merge "check-flagged-apis: add Flag value class" into main
This commit is contained in:
commit
7b986ab345
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