[LC] implement isRecord for classes
Java world should better understand our classes with JvmRecord annotation ^KT-62357
This commit is contained in:
committed by
Space Team
parent
b463f1fdfa
commit
5c71015b09
+2
-1
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
@@ -104,6 +104,7 @@ open class KtLightClassForDecompiledDeclaration(
|
||||
)
|
||||
|
||||
override fun isEnum(): Boolean = clsDelegate.isEnum
|
||||
override fun isRecord(): Boolean = clsDelegate.isRecord
|
||||
override fun getExtendsListTypes(): Array<PsiClassType> = PsiClassImplUtil.getExtendsListTypes(this)
|
||||
override fun getTypeParameterList(): PsiTypeParameterList? = clsDelegate.typeParameterList
|
||||
override fun isAnnotationType(): Boolean = clsDelegate.isAnnotationType
|
||||
|
||||
Reference in New Issue
Block a user