看来,目前只有一个约束/概念可以被@jQASuppress
注释抑制。
以下
@jQASuppress({"spring-injection:InjectablesShouldBeHeldInFinalFields",
"spring-injection:FieldsOfInjectablesMustNotBeManipulated"})
然而,这将导致
[ERROR] Constraint: spring-injection:FieldsOfInjectablesMustNotBeManipulated
[ERROR] Severity: MAJOR
[ERROR] Number of rows: 5
[ERROR] Fields of injectable types must not be manipulated, except from constructors.
难道我做错了什么?