public class ConstantPoolParser
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static byte |
CONSTANT_CLASS |
static byte |
CONSTANT_DOUBLE |
static byte |
CONSTANT_FIELDREF |
static byte |
CONSTANT_FLOAT |
static byte |
CONSTANT_INTEGER |
static byte |
CONSTANT_INTERFACEMETHODREF |
static byte |
CONSTANT_INVOKE_DYNAMIC |
static byte |
CONSTANT_LONG |
static byte |
CONSTANT_METHOD_TYPE |
static byte |
CONSTANT_METHODHANDLE |
static byte |
CONSTANT_METHODREF |
static byte |
CONSTANT_MODULE |
static byte |
CONSTANT_NAME_AND_TYPE |
static byte |
CONSTANT_PACKAGE |
static byte |
CONSTANT_STRING |
static byte |
CONSTANT_UTF8 |
static int |
HEAD |
private static int |
OX3F |
private static int |
OXE0 |
private static int |
OXF0 |
Constructor and Description |
---|
ConstantPoolParser() |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
decodeString(java.nio.ByteBuffer buf) |
(package private) static java.util.Set<java.lang.String> |
getConstantPoolClassReferences(byte[] b) |
(package private) static java.util.Set<java.lang.String> |
parseConstantPoolClassReferences(java.nio.ByteBuffer buf) |
public static final int HEAD
public static final byte CONSTANT_UTF8
public static final byte CONSTANT_INTEGER
public static final byte CONSTANT_FLOAT
public static final byte CONSTANT_LONG
public static final byte CONSTANT_DOUBLE
public static final byte CONSTANT_CLASS
public static final byte CONSTANT_STRING
public static final byte CONSTANT_FIELDREF
public static final byte CONSTANT_METHODREF
public static final byte CONSTANT_INTERFACEMETHODREF
public static final byte CONSTANT_NAME_AND_TYPE
public static final byte CONSTANT_METHODHANDLE
public static final byte CONSTANT_METHOD_TYPE
public static final byte CONSTANT_INVOKE_DYNAMIC
public static final byte CONSTANT_MODULE
public static final byte CONSTANT_PACKAGE
private static final int OXF0
private static final int OXE0
private static final int OX3F
static java.util.Set<java.lang.String> getConstantPoolClassReferences(byte[] b)
static java.util.Set<java.lang.String> parseConstantPoolClassReferences(java.nio.ByteBuffer buf)
private static java.lang.String decodeString(java.nio.ByteBuffer buf)