Class ConstantPoolParser

java.lang.Object
org.apache.maven.shared.dependency.analyzer.asm.ConstantPoolParser

public class ConstantPoolParser extends Object
A 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:
  • Field Details

    • CONSTANT_UTF8

      public static final byte CONSTANT_UTF8
      Constant CONSTANT_UTF8=1
      See Also:
    • CONSTANT_INTEGER

      public static final byte CONSTANT_INTEGER
      Constant CONSTANT_INTEGER=3
      See Also:
    • CONSTANT_FLOAT

      public static final byte CONSTANT_FLOAT
      Constant CONSTANT_FLOAT=4
      See Also:
    • CONSTANT_LONG

      public static final byte CONSTANT_LONG
      Constant CONSTANT_LONG=5
      See Also:
    • CONSTANT_DOUBLE

      public static final byte CONSTANT_DOUBLE
      Constant CONSTANT_DOUBLE=6
      See Also:
    • CONSTANT_CLASS

      public static final byte CONSTANT_CLASS
      Constant CONSTANT_CLASS=7
      See Also:
    • CONSTANT_STRING

      public static final byte CONSTANT_STRING
      Constant CONSTANT_STRING=8
      See Also:
    • CONSTANT_FIELDREF

      public static final byte CONSTANT_FIELDREF
      Constant CONSTANT_FIELDREF=9
      See Also:
    • CONSTANT_METHODREF

      public static final byte CONSTANT_METHODREF
      Constant CONSTANT_METHODREF=10
      See Also:
    • CONSTANT_INTERFACEMETHODREF

      public static final byte CONSTANT_INTERFACEMETHODREF
      Constant CONSTANT_INTERFACEMETHODREF=11
      See Also:
    • CONSTANT_NAME_AND_TYPE

      public static final byte CONSTANT_NAME_AND_TYPE
      Constant CONSTANT_NAME_AND_TYPE=12
      See Also:
    • CONSTANT_METHODHANDLE

      public static final byte CONSTANT_METHODHANDLE
      Constant CONSTANT_METHODHANDLE=15
      See Also:
    • CONSTANT_METHOD_TYPE

      public static final byte CONSTANT_METHOD_TYPE
      Constant CONSTANT_METHOD_TYPE=16
      See Also:
    • CONSTANT_INVOKE

      public static final byte CONSTANT_INVOKE
      Constant CONSTANT_INVOKE=17
      See Also:
    • CONSTANT_INVOKE_DYNAMIC

      public static final byte CONSTANT_INVOKE_DYNAMIC
      Constant CONSTANT_INVOKE_DYNAMIC=18
      See Also:
    • CONSTANT_MODULE

      public static final byte CONSTANT_MODULE
      Constant CONSTANT_MODULE=19
      See Also:
    • CONSTANT_PACKAGE

      public static final byte CONSTANT_PACKAGE
      Constant CONSTANT_PACKAGE=20
      See Also:
  • Constructor Details

    • ConstantPoolParser

      public ConstantPoolParser()