add license headers to Java classes