Refactoring: remove useless method

This commit is contained in:
Mikhail Zarechenskiy
2020-01-27 09:53:35 +03:00
parent 00469712d1
commit 08f80ba15a
2 changed files with 0 additions and 9 deletions
@@ -78,14 +78,11 @@ interface KotlinResolutionCallbacks {
@DefaultImplementation(impl = SamConversionTransformer.Empty::class)
interface SamConversionTransformer {
fun getFunctionTypeForPossibleSamType(possibleSamType: UnwrappedType): UnwrappedType?
fun shouldRunSamConversionForFunction(candidate: CallableDescriptor): Boolean
fun isPossibleSamType(samType: KotlinType): Boolean
object Empty : SamConversionTransformer {
override fun getFunctionTypeForPossibleSamType(possibleSamType: UnwrappedType): UnwrappedType? = null
override fun shouldRunSamConversionForFunction(candidate: CallableDescriptor): Boolean = false
override fun isPossibleSamType(samType: KotlinType): Boolean {
val descriptor = samType.constructor.declarationDescriptor