BodyStripper
ASM visitor that replaces every CONCRETE method's code with a 2-byte aconst_null; athrow stub, keeping the method's signature, exceptions and declaration annotations (code/type annotations go with the body). Wired as tiny-remapper's extraPreApplyVisitor so the whole pipeline (remap + write) processes stubs, not full bodies — the compiler reads signatures/constants/annotations, never bodies, for a classpath class. The resulting symbol jar is compile-only (never loaded/verified/run), so an under-sized maxLocals or a throwing constructor is harmless. Abstract/native methods (no Code attribute) pass through untouched.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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?