public static boolean isEmptyHover()

in com.microsoft.java.lsif.core/src/com/microsoft/java/lsif/core/internal/visitors/VisitorUtils.java [138:160]


	public static boolean isEmptyHover(Hover hover) {
		Either<List<Either<String, MarkedString>>, MarkupContent> content = hover.getContents();
		if (content == null) {
			return true;
		}

		if (content.isRight()) {
			return false;
		}

		List<Either<String, MarkedString>> list = content.getLeft();
		if (list == null || list.size() == 0) {
			return true;
		}

		for (Either<String, MarkedString> either : list) {
			if (StringUtils.isNotEmpty(either.getLeft()) || either.isRight()) {
				return false;
			}
		}

		return true;
	}