Class ConstantPoolParser
- java.lang.Object
-
- org.apache.maven.shared.dependency.analyzer.asm.ConstantPoolParser
-
public class ConstantPoolParser extends java.lang.ObjectA small parser to read the constant pool directly, in case it contains references ASM does not support. Adapted from http://stackoverflow.com/a/32278587/23691 Constant pool types:- See Also:
- JVM 9 Sepc, JVM 10 Sepc
-
-
Field Summary
Fields Modifier and Type Field Description static byteCONSTANT_CLASSstatic byteCONSTANT_DOUBLEstatic byteCONSTANT_FIELDREFstatic byteCONSTANT_FLOATstatic byteCONSTANT_INTEGERstatic byteCONSTANT_INTERFACEMETHODREFstatic byteCONSTANT_INVOKE_DYNAMICstatic byteCONSTANT_LONGstatic byteCONSTANT_METHOD_TYPEstatic byteCONSTANT_METHODHANDLEstatic byteCONSTANT_METHODREFstatic byteCONSTANT_MODULEstatic byteCONSTANT_NAME_AND_TYPEstatic byteCONSTANT_PACKAGEstatic byteCONSTANT_STRINGstatic byteCONSTANT_UTF8static intHEAD
-
Constructor Summary
Constructors Constructor Description ConstantPoolParser()
-
-
-
Field Detail
-
HEAD
public static final int HEAD
- See Also:
- Constant Field Values
-
CONSTANT_UTF8
public static final byte CONSTANT_UTF8
- See Also:
- Constant Field Values
-
CONSTANT_INTEGER
public static final byte CONSTANT_INTEGER
- See Also:
- Constant Field Values
-
CONSTANT_FLOAT
public static final byte CONSTANT_FLOAT
- See Also:
- Constant Field Values
-
CONSTANT_LONG
public static final byte CONSTANT_LONG
- See Also:
- Constant Field Values
-
CONSTANT_DOUBLE
public static final byte CONSTANT_DOUBLE
- See Also:
- Constant Field Values
-
CONSTANT_CLASS
public static final byte CONSTANT_CLASS
- See Also:
- Constant Field Values
-
CONSTANT_STRING
public static final byte CONSTANT_STRING
- See Also:
- Constant Field Values
-
CONSTANT_FIELDREF
public static final byte CONSTANT_FIELDREF
- See Also:
- Constant Field Values
-
CONSTANT_METHODREF
public static final byte CONSTANT_METHODREF
- See Also:
- Constant Field Values
-
CONSTANT_INTERFACEMETHODREF
public static final byte CONSTANT_INTERFACEMETHODREF
- See Also:
- Constant Field Values
-
CONSTANT_NAME_AND_TYPE
public static final byte CONSTANT_NAME_AND_TYPE
- See Also:
- Constant Field Values
-
CONSTANT_METHODHANDLE
public static final byte CONSTANT_METHODHANDLE
- See Also:
- Constant Field Values
-
CONSTANT_METHOD_TYPE
public static final byte CONSTANT_METHOD_TYPE
- See Also:
- Constant Field Values
-
CONSTANT_INVOKE_DYNAMIC
public static final byte CONSTANT_INVOKE_DYNAMIC
- See Also:
- Constant Field Values
-
CONSTANT_MODULE
public static final byte CONSTANT_MODULE
- See Also:
- Constant Field Values
-
CONSTANT_PACKAGE
public static final byte CONSTANT_PACKAGE
- See Also:
- Constant Field Values
-
-