Refactor ASM generation code #105
@ -3,9 +3,9 @@ package scientifik.kmath.asm.internal
|
|||||||
import org.objectweb.asm.ClassWriter
|
import org.objectweb.asm.ClassWriter
|
||||||
import org.objectweb.asm.MethodVisitor
|
import org.objectweb.asm.MethodVisitor
|
||||||
|
|
||||||
inline fun ClassWriter(flags: Int, block: ClassWriter.() -> Unit): ClassWriter = ClassWriter(flags).apply(block)
|
internal inline fun ClassWriter(flags: Int, block: ClassWriter.() -> Unit): ClassWriter = ClassWriter(flags).apply(block)
|
||||||
|
|
||||||
inline fun ClassWriter.visitMethod(
|
internal inline fun ClassWriter.visitMethod(
|
||||||
access: Int,
|
access: Int,
|
||||||
name: String,
|
name: String,
|
||||||
descriptor: String,
|
descriptor: String,
|
||||||
|
Loading…
Reference in New Issue
Block a user