Java 9
- Dependencies on automatic modules
Reports usages of automatic modules in a requires directive.
- Immutable collection creation can be replaced with collection factory call
Reports java.util.Collections unmodifiable collection calls that can be converted to newer collection factory methods.
- Null check can be replaced with method call
Reports null checks that can be replaced with a call to a static method from Objects or Stream.
Last modified: 11 September 2024