- private final List<ActorSelection> alternates;
- private final DataTree dataTree;
- private final ActorRef backend;
+ @SuppressFBWarnings(value = "SE_BAD_FIELD", justification = "This field is not Serializable but this class "
+ + "implements writeReplace to delegate serialization to a Proxy class and thus instances of this class "
+ + "aren't serialized. FindBugs does not recognize this.")
+ private final @NonNull List<ActorSelection> alternates;
+
+ @SuppressFBWarnings(value = "SE_BAD_FIELD", justification = "See justification above.")
+ private final ReadOnlyDataTree dataTree;
+ private final @NonNull ActorRef backend;
+ private final int maxMessages;