You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
snippet with code with comments is descriptive FIXME: comments shows the problem. TODOs are just what IDEA highlights.
P.S. 1 at the end of type name is just for to avoid clash on my side.
packagecom.exampleimportjava.math.BigDecimalimportjava.time.LocalDateimportjava.time.Monthimportjava.time.YearinterfaceRecordCollection1 {
val_id:Longval year :Yearval month :Monthval records :List<Record1>
}
interfaceRecord1 {
val date :LocalDateval type :Stringval hoursSubmitted :BigDecimalval desc :String?val report :RecordCollection1
}
interfaceEmployee1 {
val_id:Longval records :List<RecordCollection1>
}
data classRecordCollectionImpl1(
overrideval_id:Long,
overridevalyear:Year,
overridevalmonth:Month
) : RecordCollection1 {
overridelateinitvar records:List<Record1>
}
data classEmployeeAggregate1(overrideval_id:Long): Employee1 {
overridelateinitvar records :List<RecordCollection1>
}
/** * GENERATED CODE */packagecom.exampleimportkotlin.Longimportkotlin.Stringimportkotlin.Suppressimportkotlin.collections.Collectionimportkotlin.collections.Listimportkotlin.collections.Mapimportkotlin.reflect.KProperty1importorg.litote.kmongo.property.KCollectionPropertyPathimportorg.litote.kmongo.property.KCollectionSimplePropertyPathimportorg.litote.kmongo.property.KMapPropertyPathimportorg.litote.kmongo.property.KPropertyPath//TODO Improvement: redundunt `out` here (IDEA says)privateval__Records:KProperty1<EmployeeAggregate1, List<outRecordCollection1?>?>
get() =EmployeeAggregate1::records
privateval___id:KProperty1<EmployeeAggregate1, Long?>
get() =EmployeeAggregate1::_idclassEmployeeAggregate1_<T>(previous:KPropertyPath<T, *>?, property:KProperty1<*,
EmployeeAggregate1?>) : KPropertyPath<T, EmployeeAggregate1?>(previous,property) {
val records:KCollectionSimplePropertyPath<T, outRecordCollection1??>
get() =KCollectionSimplePropertyPath<T, out//FIXME:Projections are not allowed on type arguments of functions and properties
RecordCollection1??>(this,EmployeeAggregate1::records)
// ^ TODO Improvement: redundunt double `?` here AND BELOW everywhere with `??` (IDEA says)val_id:KPropertyPath<T, Long?>
get() =KPropertyPath<T, Long?>(this,___id)
companionobject {
valRecords:KCollectionSimplePropertyPath<EmployeeAggregate1, outRecordCollection1??>
get() =KCollectionSimplePropertyPath(null, __Records)
val_id:KProperty1<EmployeeAggregate1, Long?>
get() =___id}
}
classEmployeeAggregate1_Col<T>(previous:KPropertyPath<T, *>?, property:KProperty1<*,
Collection<EmployeeAggregate1>?>) : KCollectionPropertyPath<T, EmployeeAggregate1?,
EmployeeAggregate1_<T>>(previous,property) {
val records:KCollectionSimplePropertyPath<T, outRecordCollection1??>
get() =KCollectionSimplePropertyPath<T, out//FIXME:Projections are not allowed on type arguments of functions and properties
RecordCollection1??>(this,EmployeeAggregate1::records)
val_id:KPropertyPath<T, Long?>
get() =KPropertyPath<T, Long?>(this,___id)
@Suppress("UNCHECKED_CAST")
overridefunmemberWithAdditionalPath(additionalPath:String): EmployeeAggregate1_<T> =EmployeeAggregate1_(this, customProperty(this, additionalPath))}
classEmployeeAggregate1_Map<T, K>(previous:KPropertyPath<T, *>?, property:KProperty1<*, Map<K,
EmployeeAggregate1>?>) : KMapPropertyPath<T, K, EmployeeAggregate1?,
EmployeeAggregate1_<T>>(previous,property) {
val records:KCollectionSimplePropertyPath<T, outRecordCollection1??>
get() =KCollectionSimplePropertyPath<T, out//FIXME:Projections are not allowed on type arguments of functions and properties
RecordCollection1??>(this,EmployeeAggregate1::records)
val_id:KPropertyPath<T, Long?>
get() =KPropertyPath<T, Long?>(this,___id)
@Suppress("UNCHECKED_CAST")
overridefunmemberWithAdditionalPath(additionalPath:String): EmployeeAggregate1_<T> =EmployeeAggregate1_(this, customProperty(this, additionalPath))}
The text was updated successfully, but these errors were encountered:
snippet with code with comments is descriptive
FIXME:
comments shows the problem.TODO
s are just what IDEA highlights.P.S.
1
at the end of type name is just for to avoid clash on my side.The text was updated successfully, but these errors were encountered: