Zac Sweers
10/23/2020, 11:10 PMfun asMemberOf(
property: KSPropertyDeclaration,
containing: KSType
): KSType
Which feels a little java-y. What about this?
fun KSPropertyDeclaration.asMemberOf(
containing: KSType,
resolver: Resolver
): KSType
Ting-Yuan Huang
10/23/2020, 11:15 PMresolver
can probably be eliminated as well. What do you think @yigit?yigit
12/21/2020, 11:22 PMfoo.asMemberOf(type)
)
though in Room, we pass the resolver around in the abstraction so caller does not need to provide.
we don't do that in KSP yet but maybe we should because we have some internal static access to the resolver.yigit
12/21/2020, 11:22 PMproperty.asMemberOf(type)
Ting-Yuan Huang
12/23/2020, 6:27 AM