protected boolean isMissingType(@Nonnull Type type) {
		if (type instanceof InstanceType instanceType && workspace.findClass(instanceType.internalName()) == null)
			return true;
		else
			return type instanceof ArrayType arrayType
					&& arrayType.rootComponentType() instanceof InstanceType instanceType
					&& workspace.findClass(instanceType.internalName()) == null;
	}
@param type
		Some non-method type.

@return {@code true} if the type in the descriptor is found in the {@link #workspace}.
recaf-core/src/main/java/software/coley/recaf/services/compile/stub/ClassStubGenerator.java