public class AsmUtils extends Object
| Modifier and Type | Field | Description |
|---|---|---|
static int |
API |
|
static String |
ASM_DUMP_TARGET_DIR |
| Constructor | Description |
|---|---|
AsmUtils() |
| Modifier and Type | Method | Description |
|---|---|---|
static String |
toAsmType(Type type) |
|
static String |
toAsmType(String name) |
|
static String |
toGenericAsmType(Type type) |
|
static String |
toTargetTypeDeclaration(Type targetType) |
|
static String |
toTargetTypeDeclaration(String 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 © 2019. All rights reserved.