Package org.rsbot.loader.asm.commons

Examples of org.rsbot.loader.asm.commons.RemappingClassAdapter


        final InputStream in = getResourceAsStream(name.replace('.', '/') + ".class");
        byte[] bytes = IOHelper.read(in);

        final ClassReader reader = new ClassReader(bytes);
        final ClassWriter writer = new ClassWriter(0);
        reader.accept(new RemappingClassAdapter(writer, ScriptMapper.getInstance()), ClassReader.SKIP_DEBUG | ClassReader.SKIP_FRAMES);
        bytes = writer.toByteArray();

        clazz = defineClass(name, bytes, 0, bytes.length, domain);
        if (resolve) {
          resolveClass(clazz);
View Full Code Here

TOP

Related Classes of org.rsbot.loader.asm.commons.RemappingClassAdapter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.