blob: 391b7d08fb6aef89d8d25941a38ccafc769edc37 [file]
// FIR_IDENTICAL
package a
interface Persistent
interface PersistentFactory<T>
class Relation<Source: Persistent, Target: Persistent>(
val sources: PersistentFactory<Source>,
val targets: PersistentFactory<Target>
) {
fun opposite() = Relation(targets, sources)
}