This inspection reports any calls of overridden methods of the current class during object construction. An object is constructed inside a constructor, an instance initializer or inside a clone(), readObject() or readObjectNoData() method. Such calls may result in subtle bugs, as the object is not guaranteed to be initialized before the method call occurs. |
Powered by InspectionGadgets |