google/error-prone
Catch common Java mistakes as compile-time errors
https://skillcdn.ai/gh/google/error-prone내 AI에 이 주소를 연결하면 이 스킬들을 쓸 수 있어요. 연결 방법 보기
- 미확인
- 기본 브랜치
master - 커밋
1a82c75 - 라이선스
Apache-2.0
저장소 둘러보기
스킬과 문서의 원문에서 찾습니다. 화면용 번역은 검색되지 않아요.
문서
- EqualsBrokenForNull.mdObject.equals() contract states that "For any non-null reference value x, x.equals(null) should return false". Thus all classes implementing equals() function should gracefully handle null as an argu…docs/bugpattern/nullness/EqualsBrokenForNull.md
- NullNeedsCastForVarargs.mdNote: The Truth methods covered by this check still accept a literal null in Truth 1.4.5, but we expect to change that in a forthcoming version.docs/bugpattern/nullness/NullNeedsCastForVarargs.md
- RedundantNullCheck.mdA null check (e.g., x == null or x != null) is redundant if it is performed on an expression that is statically determined to be non-null according to language semantics or nullness annotations. This…docs/bugpattern/nullness/RedundantNullCheck.md
- RequireNonNullRefactoring.mdConsider using requireNonNull(value) which is shorter and more readable thandocs/bugpattern/nullness/RequireNonNullRefactoring.md
- UnnecessaryCheckNotNull.mdThere are various libraries available to check if a variable is null or not. Most notable ones are :docs/bugpattern/nullness/UnnecessaryCheckNotNull.md