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
// TODO: does not seem to handle the implicit Any and Object super types that well. Need to find out if that is easily solvable. Finds the methods from them if any super class or interface is present
77
+
kotlinClass
78
+
.superTypeListEntries
79
+
.mapNotNull {
80
+
// Find the definition of this super type
81
+
val referenceAtPoint = file.referenceExpressionAtPoint(it.startOffset)
82
+
val descriptor = referenceAtPoint?.second
83
+
val classDescriptor = getClassDescriptor(descriptor)
84
+
85
+
// If the super class is abstract, interface or just plain open
86
+
if (null!= classDescriptor && classDescriptor.canBeExtended()) {
87
+
val superClassTypeArguments = getSuperClassTypeProjections(file, it)
0 commit comments