MyClass (final ObjectInputStream <warning descr="Type of parameter 'objectInput' may be weakened to 'com.siyeh.igtest.abstraction.weaken_type.DataInput'">objectInput</warning>) { final long time = objectInput.readLong(); final int size = objectInput.readInt(); final String[] classNames = new String[size]; for (int i = 0; i < size; i++) { classNames[i] = objectInput.readUTF(); } return new MyClass(new java.util.Date(time), classNames); }