File: runAsm

package info (click to toggle)
lombok-patcher 0.30-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 324 kB
  • sloc: java: 2,150; xml: 211; sh: 38; makefile: 11
file content (20 lines) | stat: -rwxr-xr-x 615 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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 $@