Change Signature: Fix element bound to UsageInfo
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ import org.jetbrains.kotlin.descriptors.FunctionDescriptor
|
|||||||
|
|
||||||
public abstract class JavaMethodKotlinUsageWithDelegate<T: PsiElement>(
|
public abstract class JavaMethodKotlinUsageWithDelegate<T: PsiElement>(
|
||||||
val psiElement: T,
|
val psiElement: T,
|
||||||
val javaMethodChangeInfo: JetChangeInfo): UsageInfo(javaMethodChangeInfo.getMethod()) {
|
val javaMethodChangeInfo: JetChangeInfo): UsageInfo(psiElement) {
|
||||||
protected abstract val delegateUsage: JetUsageInfo<T>
|
protected abstract val delegateUsage: JetUsageInfo<T>
|
||||||
|
|
||||||
fun processUsage(): Boolean = delegateUsage.processUsage(javaMethodChangeInfo, psiElement)
|
fun processUsage(): Boolean = delegateUsage.processUsage(javaMethodChangeInfo, psiElement)
|
||||||
|
|||||||
Reference in New Issue
Block a user