javadoc and constructor arguments checks