Replaces any-typed parameters and class properties with generated interfaces in two passes:
any
On a second run no any annotations remain, so nothing changes.
Runs both passes on context.sourceFile in place.
context.sourceFile
Transform context of the file.
Replaces
any-typed parameters and class properties with generated interfaces in two passes:any-typed parameters and properties with property accesses and derives an interface spec for each.anyannotations with the interface name and inserts the generated interface declarations after the last import.On a second run no
anyannotations remain, so nothing changes.