package sfBugs;

import java.io.Serializable;
import java.util.List;

public class RFE2958584 implements Serializable {
    private static final long serialVersionUID = 1L;

    private List<NotSerializable> list; // Not findbugs warning here.

    private NotSerializable ns;// Findbugs gives a proper warning here.

    static class NotSerializable {

    }
}

@@ -68,16 +68,73 @@
 ist;%0D%0A%0D%0A
+import edu.umd.cs.findbugs.annotations.ExpectWarning;%0D%0A%0D%0A
 public c
@@ -228,24 +228,60 @@
 ID = 1L;%0D%0A%0D%0A
+    @ExpectWarning(%22SE_BAD_FIELD%22)%0D%0A
     private 
@@ -337,24 +337,60 @@
 ng here.%0D%0A%0D%0A
+    @ExpectWarning(%22SE_BAD_FIELD%22)%0D%0A
     private 

add some annotations