code: public static boolean isValidJavaClassName(String input) {
  		if (!StringUtils.hasText(input)) {
  			return false;
  		}
  		if (!Character.isJavaIdentifierStart(input.charAt(0))) {
  			return false;
  		}
  		if (input.length() > 1) {
  			for (int i = 1; i < input.length(); i++) {
  				if (!Character.isJavaIdentifierPart(input.charAt(i))) {
  					return false;
  				}
  			}
  		}
  		return true;
  	}
docs: Utility method to check if a string can be used as a valid class name
  
  @param input
  String to check
  @return true if valid