MetaRewriter
private inner class MetaRewriter(sink: ClassVisitor, val remapper: FlatRemapper.ModuleRemapper) : ClassVisitor
Rewrites the @Metadata proto alongside the bytecode. Sits ABOVE the ClassRemapper, so the proto handed down is already in the runtime namespace: ASM remaps an annotation's Type values and nothing else, and d1/d2 are plain strings it would pass straight through — which is what left kotlin-reflect resolving mojmap classifiers no non-mojmap runtime has, degrading to ??? or throwing with the name nowhere in the message. remapper is the bytecode's, the only one that knows this module's classes.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun visitField(access: Int, name: String?, descriptor: String?, signature: String?, value: Any?): FieldVisitor?
Link copied to clipboard
Link copied to clipboard
open fun visitMethod(access: Int, name: String?, descriptor: String?, signature: String?, exceptions: Array<out String?>?): MethodVisitor?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun visitRecordComponent(name: String?, descriptor: String?, signature: String?): RecordComponentVisitor?
Link copied to clipboard
Link copied to clipboard
open fun visitTypeAnnotation(typeRef: Int, typePath: TypePath?, descriptor: String?, visible: Boolean): AnnotationVisitor?