GitHub Hot Board

GitHub Hot Board · Hồ sơ kho lưu trữ

google/error-prone

Catch common Java mistakes as compile-time errors (Mô tả đến từ chính kho lưu trữ.)

Dữ liệu tại October 26google

Thứ hạng tốt nhất

#380

Mọi thời đại · Java theo ngôn ngữ

7.3K

Tổng sao

829

Tổng fork

0

Số ngày có mặt (30 ngày)

Trạng thái dự ánGiấy phép: Apache-2.0Push gần nhất: October 26Issue mở (gồm PR): 559

Thu thập từ 2026-10-25; chưa rõ = chưa thu thập được

Gắn huy hiệu vào README của bạn · google/error-prone[![Gắn huy hiệu vào README của bạn](https://git.vaiox.xyz/api/badge/google/error-prone.svg)](https://git.vaiox.xyz/vi/repo/google/error-prone)
<a href="https://git.vaiox.xyz/vi/repo/google/error-prone"><img src="https://git.vaiox.xyz/api/badge/google/error-prone.svg" alt="Gắn huy hiệu vào README của bạn" height="20"></a>

Tài liệu dự án

Error Prone

Error Prone is a static analysis tool for Java that catches common programming mistakes at compile-time.

public class ShortSet {
  public static void main (String[] args) {
    Set<Short> s = new HashSet<>();
    for (short i = 0; i < 100; i++) {
      s.add(i);
      s.remove(i - 1);
    }
    System.out.println(s.size());
  }
}
error: [CollectionIncompatibleType] Argument 'i - 1' should not be passed to this method;
its type int is not compatible with its collection's type argument Short
      s.remove(i - 1);
              ^
    (see https://errorprone.info/bugpattern/CollectionIncompatibleType)
1 error

Getting Started

Our documentation is at errorprone.info.

Error Prone works with Bazel, Maven, Ant, and Gradle. See our installation instructions for details.

Developing Error Prone

Developing and building Error Prone is documented on the wiki.

Links

Thứ hạng hiện tại

Diễn biến 30 ngày

Không có bản ghi nào trong 30 ngày qua.

Khác của google

Dự án tương tự · chủ đề chung

← Về bảng xếp hạng