Dropped KtTypedef
This commit is contained in:
@@ -174,7 +174,6 @@ usageType.nonLocal.property.type = Class/object property type
|
||||
usageType.local.variable.type = Local variable type
|
||||
usageType.function.return.type = Function return types
|
||||
usageType.superType = Supertype
|
||||
usageType.type.definition = Type definition
|
||||
usageType.is = Target type of 'is' operation
|
||||
usageType.as = Target type of 'as' operation
|
||||
usageType.class.object = Nested class/object
|
||||
|
||||
@@ -87,9 +87,6 @@ object UsageTypeUtils {
|
||||
|| refExpr.getParentOfTypeAndBranch<KtSuperTypeListEntry>(){ typeReference } != null ->
|
||||
SUPER_TYPE
|
||||
|
||||
refExpr.getParentOfTypeAndBranch<KtTypedef>(){ typeReference } != null ->
|
||||
TYPE_DEFINITION
|
||||
|
||||
refExpr.getParentOfTypeAndBranch<KtParameter>(){ typeReference } != null ->
|
||||
VALUE_PARAMETER_TYPE
|
||||
|
||||
@@ -215,7 +212,6 @@ enum class UsageTypeEnum {
|
||||
NON_LOCAL_PROPERTY_TYPE,
|
||||
FUNCTION_RETURN_TYPE,
|
||||
SUPER_TYPE,
|
||||
TYPE_DEFINITION,
|
||||
IS,
|
||||
CLASS_OBJECT_ACCESS,
|
||||
COMPANION_OBJECT_ACCESS,
|
||||
|
||||
@@ -41,7 +41,6 @@ object KotlinUsageTypeProvider : UsageTypeProviderEx {
|
||||
NON_LOCAL_PROPERTY_TYPE -> KotlinUsageTypes.NON_LOCAL_PROPERTY_TYPE
|
||||
FUNCTION_RETURN_TYPE -> KotlinUsageTypes.FUNCTION_RETURN_TYPE
|
||||
SUPER_TYPE -> KotlinUsageTypes.SUPER_TYPE
|
||||
TYPE_DEFINITION -> KotlinUsageTypes.TYPE_DEFINITION
|
||||
IS -> KotlinUsageTypes.IS
|
||||
CLASS_OBJECT_ACCESS -> KotlinUsageTypes.CLASS_OBJECT_ACCESS
|
||||
COMPANION_OBJECT_ACCESS -> KotlinUsageTypes.COMPANION_OBJECT_ACCESS
|
||||
@@ -85,7 +84,6 @@ object KotlinUsageTypes {
|
||||
val NON_LOCAL_PROPERTY_TYPE = UsageType(KotlinBundle.message("usageType.nonLocal.property.type"))
|
||||
val FUNCTION_RETURN_TYPE = UsageType(KotlinBundle.message("usageType.function.return.type"))
|
||||
val SUPER_TYPE = UsageType(KotlinBundle.message("usageType.superType"))
|
||||
val TYPE_DEFINITION = UsageType(KotlinBundle.message("usageType.type.definition"))
|
||||
val IS = UsageType(KotlinBundle.message("usageType.is"))
|
||||
val CLASS_OBJECT_ACCESS = UsageType(KotlinBundle.message("usageType.class.object"))
|
||||
val COMPANION_OBJECT_ACCESS = UsageType(KotlinBundle.message("usageType.companion.object"))
|
||||
|
||||
Reference in New Issue
Block a user