public class AsmUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
API |
static String |
ASM_DUMP_TARGET_DIR |
| Constructor and Description |
|---|
AsmUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
toAsmType(String name) |
static String |
toAsmType(Type type) |
static String |
toGenericAsmType(Type type) |
static String |
toTargetTypeDeclaration(String targetType) |
static String |
toTargetTypeDeclaration(Type targetType) |
static byte[] |
writeClassToFile(String className,
byte[] bytes) |
static byte[] |
writeClassToFileInDir(String className,
byte[] bytes,
File targetDir) |
public static final String ASM_DUMP_TARGET_DIR
public static final int API
public static byte[] writeClassToFile(String className, byte[] bytes) throws IOException
IOExceptionpublic static byte[] writeClassToFileInDir(String className, byte[] bytes, File targetDir) throws IOException
IOExceptionCopyright © 2020. All rights reserved.