Enhancements
Core
- Add support for Java 22 (see #1172; thanks a lot to @hankem)
- New methods
{JavaType/JavaMember}.getAllInvolvedRawTypes()
to quickly detect all raw types contributing to a type (e.g.List<? extends Serializable>
) or member (e.g.List<? extends Serializable> method(Set<String> args) {..}
) (see #723; thanks a lot to @leonardhusmann)
Lang
- New rules API
FieldsShould.{be/notBe}AccessedByMethodsThat(predicate)
to prevent fields from being accessed by certain methods (see #857; thanks a lot to @leonardhusmann)
Library
- New extensive modules rule syntax to support easier checks for modularization (dependency direction, API surface, ...) (compare the user guide; see #1078)
JUnit
Further Acknowledgement
- Thanks a lot to @SimonVerhoeven for improving the user guide (see #1140)