public class Bytecode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static byte |
C_Class |
static byte |
C_Double |
static byte |
C_FieldRef |
static byte |
C_Float |
static byte |
C_Integer |
static byte |
C_InterfaceMethodRef |
static byte |
C_Long |
static byte |
C_MethodRef |
static byte |
C_NameAndType |
static byte |
C_String |
static byte |
C_Utf8 |
Constructor and Description |
---|
Bytecode() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
addClass(byte[] array,
short value) |
static byte[] |
addFieldRef(byte[] array,
short value1,
short value2) |
static byte[] |
addInteger(byte[] array,
int value) |
static byte[] |
addInterfaceMethodRef(byte[] array,
short value1,
short value2) |
static byte[] |
addLong(byte[] array,
long value) |
static byte[] |
addMethodRef(byte[] array,
short value1,
short value2) |
static byte[] |
addNameAndType(byte[] array,
short value1,
short value2) |
static byte[] |
addRef(byte refType,
byte[] array,
short value) |
static byte[] |
addRef(byte refType,
byte[] array,
short value1,
short value2) |
static byte[] |
addString(byte[] array,
short value) |
static byte[] |
addUtf8(byte[] array,
java.lang.String value) |
public static final byte C_Utf8
public static final byte C_Integer
public static final byte C_Float
public static final byte C_Long
public static final byte C_Double
public static final byte C_Class
public static final byte C_String
public static final byte C_FieldRef
public static final byte C_MethodRef
public static final byte C_InterfaceMethodRef
public static final byte C_NameAndType
public static byte[] addClass(byte[] array, short value)
public static byte[] addFieldRef(byte[] array, short value1, short value2)
public static byte[] addInteger(byte[] array, int value)
public static byte[] addInterfaceMethodRef(byte[] array, short value1, short value2)
public static byte[] addLong(byte[] array, long value)
public static byte[] addMethodRef(byte[] array, short value1, short value2)
public static byte[] addNameAndType(byte[] array, short value1, short value2)
public static byte[] addRef(byte refType, byte[] array, short value)
public static byte[] addRef(byte refType, byte[] array, short value1, short value2)
public static byte[] addString(byte[] array, short value)
public static byte[] addUtf8(byte[] array, java.lang.String value)