SonarQube Community Edition Version 8.9.8 (build 54436)
Rule java:S2065
I don’t believe this rule is correct because transient can be used to exclude fields from sterilizers that use reflection (i.e. GSON), and these do not require a class to implement Serializable (in fact, to do so would be unnecessary typing in itself: the same reasoning given for removing the transient modifier in this rule).