comparison src/main/kotlin/name/blackcap/passman/Arguments.kt @ 27:3a3067ba673b

Add idle-time detection to interactive mode, clean up imports.
author David Barts <n5jrn@me.com>
date Sat, 27 Jul 2024 09:50:54 -0700
parents ea65ab890f66
children
comparison
equal deleted inserted replaced
26:69526ae8c8de 27:3a3067ba673b
5 import kotlin.reflect.KMutableProperty 5 import kotlin.reflect.KMutableProperty
6 import kotlin.reflect.full.findAnnotation 6 import kotlin.reflect.full.findAnnotation
7 import kotlin.reflect.full.hasAnnotation 7 import kotlin.reflect.full.hasAnnotation
8 import kotlin.reflect.full.isSubtypeOf 8 import kotlin.reflect.full.isSubtypeOf
9 import kotlin.reflect.typeOf 9 import kotlin.reflect.typeOf
10 import kotlin.system.exitProcess
11 10
12 @Target(AnnotationTarget.FIELD, AnnotationTarget.PROPERTY) 11 @Target(AnnotationTarget.FIELD, AnnotationTarget.PROPERTY)
13 annotation class Argument( 12 annotation class Argument(
14 val shortName: Char = AnnotationArgumentInfo.UNSPEC_SHORT, 13 val shortName: Char = AnnotationArgumentInfo.UNSPEC_SHORT,
15 val longName: String = AnnotationArgumentInfo.UNSPEC_LONG, 14 val longName: String = AnnotationArgumentInfo.UNSPEC_LONG,