프로젝트
GitHub에서 보기
google/error-prone
소개
흔히 발생하는 Java 오류를 컴파일 시 오류로 찾아냅니다.
개발 도구측정된 스타 증가
- in 24h
- +2
- in 7 days
- +7
- in 15 days
- +13
- in 1 month
- +19
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalError 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
- Mailing lists
- Javadoc
- Pre-release snapshots are available from Sonatype's snapshot repository (https://central.sonatype.com/repository/maven-snapshots/)
관련 프로젝트 살펴보기
불러오는 중…