Roman Ivanov - 2010-11-15

We have class:
public class Sector implements Serializable {
private static final long serialVersionUID = 9L;

private final String id;
private final String name;
private final Sector parent;

private List<Sector> subSectors = new ArrayList<Sector>();
        private Set<String> companies = new HashSet<String>();
        ……
}

FindBugs give us warning:
Non-transient non-serializable instance field in serializable class : Class com.revere.ld.server.condenser.domain.Sector defines non-transient non-serializable instance field companies

Yes, Interfaces List and Set doe not implement Serializable, but their realizations have it, all works fine.

Is it possible to extend Findbugs to make it look/check what class is used for realization "new ArrayList<Sector>();" ?
Is it bug in FindBug?