code: public static boolean hasPublicNullaryConstructor(Class<?> clazz) {
  		Constructor<?>[] constructors = clazz.getConstructors();
  		for (int i = 0; i < constructors.length; i++) {
  			if (constructors[i].getParameterTypes().length == 0 && 
  					Modifier.isPublic(constructors[i].getModifiers())) {
  				return true;
  			}
  		}
  		return false;
  	}
docs: Checks, whether the given class has a public nullary constructor.
  
  @param clazz The class to check.
  @return True, if the class has a public nullary constructor, false if not.