code: private static String getPackage(final String fullyQualifiedClassName) {
  		int dotIndex = fullyQualifiedClassName.lastIndexOf('.');
  		if (dotIndex == -1) {
  			return null;
  		} else {
  			return fullyQualifiedClassName.substring(0, dotIndex);
  		}
  	}
docs: Gets the package name from a fully qualified class name.
  
  @param fullyQualifiedClassName
  Fully qualified class name
  @return Package name or {@code null} for default package