blob: e7a6b947234299fca40cae025f000229d2ba141f [file] [log] [blame]
interface Introspector {
class SchemaRetriever(val transaction: String) {
inline fun inSchema(crossinline modifier: (String) -> Unit) =
{ modifier(transaction) }.let { it() }
internal fun retrieve() {
inSchema { schema -> "OK" }
}
}
}
// TESTED_OBJECT_KIND: innerClass
// TESTED_OBJECTS: Introspector$SchemaRetriever$inSchema$1, SchemaRetriever
// FLAGS: ACC_FINAL, ACC_PUBLIC, ACC_STATIC
// TESTED_OBJECT_KIND: innerClass
// TESTED_OBJECTS: Introspector$SchemaRetriever$inSchema$1, DefaultImpls
// ABSENT: true