diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2005-08-16 02:55:32 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2005-08-16 02:55:32 +0000 |
commit | 6dc6b9945eb0d3b49113d6c512d35ed1a16dd870 (patch) | |
tree | eb8d86b7eafaae1988843871e35c88619d548186 | |
parent | 7c44f9c3399751dd022279ec0b914d96fbfd1af8 (diff) | |
download | javassist-6dc6b9945eb0d3b49113d6c512d35ed1a16dd870.tar.gz javassist-6dc6b9945eb0d3b49113d6c512d35ed1a16dd870.zip |
added getSize()
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@191 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
-rw-r--r-- | src/main/javassist/bytecode/ConstPool.java | 7 |
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() { |