File tree Expand file tree Collapse file tree
java/kotlin-extractor/src/main/kotlin Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,6 +80,10 @@ class KotlinExtractorExtension(
8080
8181class KotlinExtractorGlobalState {
8282 val genericSpecialisationsExtracted = HashSet <String >()
83+ // These three record mappings of classes, functions and fields that should be replaced wherever they are found.
84+ // As of now these are only used to fix IR generated by the Gradle Android Extensions plugin, hence e.g. IrProperty
85+ // doesn't have a map as that plugin doesn't generate them. If and when these are used more widely additional maps
86+ // should be added here.
8387 val syntheticToRealClassMap = HashMap <IrClass , IrClass ?>()
8488 val syntheticToRealFunctionMap = HashMap <IrSimpleFunction , IrSimpleFunction ?>()
8589 val syntheticToRealFieldMap = HashMap <IrField , IrField ?>()
You can’t perform that action at this time.
0 commit comments