[FIR] Add transform declaration and companion to regular class
This commit is contained in:
@@ -77,7 +77,7 @@ class FirJavaClass @FirImplementationDetail internal constructor(
|
||||
|
||||
override fun <D> transformChildren(transformer: FirTransformer<D>, data: D): FirJavaClass {
|
||||
typeParameters.transformInplace(transformer, data)
|
||||
declarations.transformInplace(transformer, data)
|
||||
transformDeclarations(transformer, data)
|
||||
status = status.transformSingle(transformer, data)
|
||||
superTypeRefs.transformInplace(transformer, data)
|
||||
transformAnnotations(transformer, data)
|
||||
@@ -97,6 +97,15 @@ class FirJavaClass @FirImplementationDetail internal constructor(
|
||||
annotations.transformInplace(transformer, data)
|
||||
return this
|
||||
}
|
||||
|
||||
override fun <D> transformDeclarations(transformer: FirTransformer<D>, data: D): FirJavaClass {
|
||||
declarations.transformInplace(transformer, data)
|
||||
return this
|
||||
}
|
||||
|
||||
override fun <D> transformCompanionObject(transformer: FirTransformer<D>, data: D): FirJavaClass {
|
||||
return this
|
||||
}
|
||||
}
|
||||
|
||||
@FirBuilderDsl
|
||||
|
||||
Reference in New Issue
Block a user