Class ConstantPool

java.lang.Object
org.jd.core.v1.model.classfile.ConstantPool

public class ConstantPool extends Object
  • Field Details

    • constants

      protected Constant[] constants
  • Constructor Details

    • ConstantPool

      public ConstantPool(Constant[] constants)
  • Method Details

    • getConstant

      public <T extends Constant> T getConstant(int index)
    • getConstantTypeName

      public String getConstantTypeName(int index)
    • getConstantString

      public String getConstantString(int index)
    • getConstantUtf8

      public String getConstantUtf8(int index)
    • getConstantValue

      public ConstantValue getConstantValue(int index)
    • toString

      public String toString()
      Overrides:
      toString in class Object