forbidden-apis
forbidden-apis copied to clipboard
Policeman's Forbidden API Checker
`HashSet`, `HashMap`, `Collectors.toSet()`, and similar APIs do not keep the element order, and it might result in surprising and unexpected results. What if error-prone could catch those types of errors...
It is currently supported to set signature files that allow externalizing the linting configuration. But this is not possible with exclusions. Using containers with `maven` is considered best to cache...
When new Static Analysis Tool (SAT) is introduced it always find a lot of violations in code. But it is not always possible to easily fix them (number of reasons)....
Commons-IO had some changes, which were binary compatible, but they changed a method to be implemented in the superclass. See #168 for details. The forbidden-APIs parser is very strict when...
Followup of #174 (and #173) : If we have a bug in forbiddenapis code that throws an exception, we don't get any information which checked class file and line number...
Often I find myself in a situation where an update to a library drags in a new evil method, and I only discover it after the fact. It would be...
Hi, We are using suppression [like this](https://github.com/elastic/elasticsearch/blob/4c981ff4bfc250080d521af105b5e8589c9fc517/core/src/main/java/org/elasticsearch/common/SuppressForbidden.java) in elasticsearch project. But we are faced with a complication. We are extending a forbidden class and to make Suppression work we used...
[SonarQube](http://www.sonarqube.org/) is the _de facto_ standard for code quality checks. It would be great to have such integration.
We have a large Gradle based build which uses "--parallel" heavily to speed up compilation of commits. Because of this, the output of the forbidden-api plugin is often hidden in...