aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/bytecode/ConstPool.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/javassist/bytecode/ConstPool.java')
-rw-r--r--src/main/javassist/bytecode/ConstPool.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/javassist/bytecode/ConstPool.java b/src/main/javassist/bytecode/ConstPool.java
index fba81d56..76573e1c 100644
--- a/src/main/javassist/bytecode/ConstPool.java
+++ b/src/main/javassist/bytecode/ConstPool.java
@@ -133,6 +133,13 @@ public final class ConstPool {
}
/**
+ * Returns the number of entries in this table.
+ */
+ public int getSize() {
+ return numOfItems;
+ }
+
+ /**
* Returns the name of the class using this constant pool table.
*/
public String getClassName() {