public void registerConstantPool(ReferenceType declaringType, int sz) {
		synchronized (cpAddressRangeByClass) {
			if (!cpAddressRangeByClass.containsKey(declaringType)) {
				if (manager.getCurrentVM().canGetConstantPool()) {
					long length = sz == 0 ? 2 : sz;
					Address start = pool.getAddress(poolIndex);
					AddressRangeImpl range =
						new AddressRangeImpl(start, start.add(length - 1));
					if (!cpAddressRangeByClass.containsKey(declaringType)) {
						cpAddressRangeByClass.put(declaringType, range);
						poolIndex += length; //bytecodes.length;
					}
				}
			}
		}
	}
TODO: The return type should be reflected from the method; however, none of the parameter
collection routines currently use the return type, so just use ANY for now.
Ghidra/Debug/Debugger-jpda/src/main/java/ghidra/dbg/jdi/rmi/jpda/JdiConnector.java