HL API: Make all symbol marker classes inherit from KtSymbol.
This commit is contained in:
committed by
Ilya Kirillov
parent
dc29618857
commit
fb0d946e50
+2
-1
@@ -5,8 +5,9 @@
|
||||
|
||||
package org.jetbrains.kotlin.idea.frontend.api.symbols.markers
|
||||
|
||||
import org.jetbrains.kotlin.idea.frontend.api.symbols.KtSymbol
|
||||
import org.jetbrains.kotlin.idea.frontend.api.types.KtType
|
||||
|
||||
public interface KtPossibleMemberSymbol {
|
||||
public interface KtPossibleMemberSymbol : KtSymbol {
|
||||
public val dispatchType: KtType?
|
||||
}
|
||||
|
||||
+2
-1
@@ -6,7 +6,8 @@
|
||||
package org.jetbrains.kotlin.idea.frontend.api.symbols.markers
|
||||
|
||||
import org.jetbrains.kotlin.descriptors.Modality
|
||||
import org.jetbrains.kotlin.idea.frontend.api.symbols.KtSymbol
|
||||
|
||||
public interface KtSymbolWithModality {
|
||||
public interface KtSymbolWithModality : KtSymbol {
|
||||
public val modality: Modality
|
||||
}
|
||||
|
||||
+2
-1
@@ -7,8 +7,9 @@ package org.jetbrains.kotlin.idea.frontend.api.symbols.markers
|
||||
|
||||
import org.jetbrains.kotlin.descriptors.Visibilities
|
||||
import org.jetbrains.kotlin.descriptors.Visibility
|
||||
import org.jetbrains.kotlin.idea.frontend.api.symbols.KtSymbol
|
||||
|
||||
public interface KtSymbolWithVisibility {
|
||||
public interface KtSymbolWithVisibility : KtSymbol {
|
||||
public val visibility: Visibility
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -18,6 +18,6 @@ public interface KtNamedSymbol : KtPossiblyNamedSymbol {
|
||||
override val name: Name
|
||||
}
|
||||
|
||||
public interface KtSymbolWithTypeParameters {
|
||||
public interface KtSymbolWithTypeParameters : KtSymbol {
|
||||
public val typeParameters: List<KtTypeParameterSymbol>
|
||||
}
|
||||
Reference in New Issue
Block a user