private void buildMethodMap() throws MemoryAccessException {
		methodMap = new HashMap<>();
		MethodInfoJava[] methods = classFile.getMethods();
		Memory memory = program.getMemory();
		AddressSpace defaultAddressSpace = program.getAddressFactory().getDefaultAddressSpace();
		for (int i = 0, max = methods.length; i < max; ++i) {
			Address methodIndexAddress = JavaClassUtil.toLookupAddress(program, i);
			int offset = memory.getInt(methodIndexAddress);
			Address methodStart = defaultAddressSpace.getAddress(offset);
			methodMap.put(methodStart, methods[i]);
		}
	}
Walk through the {@link MethodInfoJava} objects in {@link ClassFileJava} and
create a map from Address to the corresponding object
@throws MemoryAccessException
Ghidra/Processors/JVM/src/main/java/ghidra/javaclass/format/ClassFileAnalysisState.java