https://github.com/rzwitserloot/lombok.patcher
Tip revision: 0bf55a3c58954817007b4dbb7313ff1baf3e3599 authored by Reinier Zwitserloot on 09 January 2012, 22:39:28 UTC
Updated to ASM 4.0 final.
Updated to ASM 4.0 final.
Tip revision: 0bf55a3
runAsm
#!/bin/bash
if [ "$1" == "check" ]; then
APP="CheckClassAdapter"
elif [ "$1" == "asmify" ]; then
APP="ASMifierClassVisitor"
elif [ "$1" == "trace" ]; then
APP="TraceClassVisitor"
else
echo "Runs ASM's various utilities."
echo "usage: runAsm AppName ClassName"
echo "legal appnames:"
echo "check - runs CheckClassAdapter - like the java class verifier, but more verbose."
echo "asmify - runs ASMifier - prints the ASM code needed to recreate a given class file."
echo "trace - Runs Trace - decompiles a given class."
exit 0
fi
shift
java -cp "lib/*" org.objectweb.asm.util.$APP $@