org.springsource.loaded
Class ConstantPoolChecker2

java.lang.Object
  extended by org.springsource.loaded.ConstantPoolChecker2

public class ConstantPoolChecker2
extends java.lang.Object

Enables us to check things quickly in the constant pool. This version accumulates the class references and the method references, for classes that start with 'j' (we want to catch: java/lang). It skips everything it can and the end result is a list of class references and a list of method references. The former look like this 'a/b/C' whilst the latter look like this 'java/lang/Foo.bar' (the descriptor for the method is not included). Interface methods are skipped.

Since:
0.7.3

Method Summary
 void computeReferences()
           
static void main(java.lang.String[] args)
           
 void readConstantPool(byte[] bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

computeReferences

public void computeReferences()

readConstantPool

public void readConstantPool(byte[] bytes)