@Override
	protected String getCommonSuperClass(String type1, String type2) {
		// Default assumption if a type isn't given.
		if (type1 == null || type2 == null)
			return "java/lang/Object";

		// Find common parent in workspace
		return inheritanceGraph.getCommon(type1, type2);
	}
@param inheritanceGraph
		Inheritance graph to pull inheritance relations from.
@param reader
		Reader to pre-populate the constant pool with. Speeds up writing process a bit.
@param flags
		Writer flags.
recaf-core/src/main/java/software/coley/recaf/util/visitors/WorkspaceClassWriter.java