Source code cleanup: leaking this quick fixes applied
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ import org.jetbrains.kotlin.types.KotlinType
|
|||||||
import org.jetbrains.kotlin.utils.addToStdlib.singletonList
|
import org.jetbrains.kotlin.utils.addToStdlib.singletonList
|
||||||
|
|
||||||
sealed class LocalVariableAccessorDescriptor(
|
sealed class LocalVariableAccessorDescriptor(
|
||||||
override val correspondingVariable: LocalVariableDescriptor,
|
final override val correspondingVariable: LocalVariableDescriptor,
|
||||||
isGetter: Boolean
|
isGetter: Boolean
|
||||||
) : SimpleFunctionDescriptorImpl(
|
) : SimpleFunctionDescriptorImpl(
|
||||||
correspondingVariable.containingDeclaration,
|
correspondingVariable.containingDeclaration,
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ abstract class KtCodeFragment(
|
|||||||
return clone
|
return clone
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun getViewProvider() = viewProvider
|
final override fun getViewProvider() = viewProvider
|
||||||
|
|
||||||
override fun getThisType() = thisType
|
override fun getThisType() = thisType
|
||||||
|
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ class JavaResolverComponents(
|
|||||||
moduleClassResolver, packageMapper, supertypeLoopChecker, lookupTracker, module, reflectionTypes)
|
moduleClassResolver, packageMapper, supertypeLoopChecker, lookupTracker, module, reflectionTypes)
|
||||||
}
|
}
|
||||||
|
|
||||||
open class LazyJavaResolverContext(
|
class LazyJavaResolverContext(
|
||||||
val components: JavaResolverComponents,
|
val components: JavaResolverComponents,
|
||||||
val typeParameterResolver: TypeParameterResolver
|
val typeParameterResolver: TypeParameterResolver
|
||||||
) {
|
) {
|
||||||
|
|||||||
+1
-1
@@ -28,7 +28,7 @@ interface ThisClassReceiver : ReceiverValue {
|
|||||||
/**
|
/**
|
||||||
* Same but implicit only
|
* Same but implicit only
|
||||||
*/
|
*/
|
||||||
open class ImplicitClassReceiver(override val classDescriptor: ClassDescriptor) : ThisClassReceiver, ImplicitReceiver {
|
open class ImplicitClassReceiver(final override val classDescriptor: ClassDescriptor) : ThisClassReceiver, ImplicitReceiver {
|
||||||
|
|
||||||
override fun getType() = classDescriptor.defaultType
|
override fun getType() = classDescriptor.defaultType
|
||||||
|
|
||||||
|
|||||||
@@ -23,10 +23,10 @@ import org.jetbrains.kotlin.resolve.scopes.MemberScope
|
|||||||
open class KotlinTypeImpl
|
open class KotlinTypeImpl
|
||||||
private constructor(
|
private constructor(
|
||||||
override val annotations: Annotations,
|
override val annotations: Annotations,
|
||||||
override val constructor: TypeConstructor,
|
final override val constructor: TypeConstructor,
|
||||||
override val isMarkedNullable: Boolean,
|
override val isMarkedNullable: Boolean,
|
||||||
override val arguments: List<TypeProjection>,
|
override val arguments: List<TypeProjection>,
|
||||||
override val memberScope: MemberScope
|
final override val memberScope: MemberScope
|
||||||
) : AbstractKotlinType() {
|
) : AbstractKotlinType() {
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
|
|||||||
Reference in New Issue
Block a user