- protected abstract @Nonnull T readIdentifier(@Nonnull DataInput in) throws IOException;
- protected abstract @Nonnull Identifiable<T> createObject(@Nonnull T identifier, @Nonnull byte[] serialized);
+ protected abstract @NonNull T readIdentifier(@NonNull DataInput in) throws IOException;
+
+ @SuppressWarnings("checkstyle:hiddenField")
+ protected abstract @NonNull Identifiable<T> createObject(@NonNull T identifier, byte @NonNull[] serialized);