[FIR] Rename FirAnnotation.classId to unexpandedClassId
This makes the eye catch each such thing in the source. OptIn isn't that catchy, plus it may be declared for the whole file, so noticing may be harder
This commit is contained in:
committed by
Space Team
parent
cf73d59e29
commit
0c86294ca4
@@ -32,7 +32,7 @@ import org.jetbrains.kotlin.types.ConstantValueKind
|
||||
inline val FirAnnotation.coneClassLikeType: ConeClassLikeType?
|
||||
get() = ((annotationTypeRef as? FirResolvedTypeRef)?.type as? ConeClassLikeType)
|
||||
|
||||
inline val FirAnnotation.classId: ClassId?
|
||||
inline val FirAnnotation.unexpandedClassId: ClassId?
|
||||
get() = coneClassLikeType?.lookupTag?.classId
|
||||
|
||||
fun <T> buildConstOrErrorExpression(source: KtSourceElement?, kind: ConstantValueKind<T>, value: T?, diagnostic: ConeDiagnostic): FirExpression =
|
||||
|
||||
Reference in New Issue
Block a user