diff --git a/deobfuscator-api/src/main/java/uwu/narumi/deobfuscator/api/asm/ConstantPool.java b/deobfuscator-api/src/main/java/uwu/narumi/deobfuscator/api/asm/ConstantPool.java index 7fa9410..d074d4b 100644 --- a/deobfuscator-api/src/main/java/uwu/narumi/deobfuscator/api/asm/ConstantPool.java +++ b/deobfuscator-api/src/main/java/uwu/narumi/deobfuscator/api/asm/ConstantPool.java @@ -109,6 +109,10 @@ public Object getValue(int index) { return values[index]; } + public int getSize() { + return cpInfoOffsets.length; + } + // Im actually gonna shoot myself private String readUtf( ClassReader classReader, final int utfOffset, final int utfLength, final char[] charBuffer) {