@ Nonnull public static String getVersionInfo ( ) { Package pkg = JmxTransAgent . class . getPackage ( ) ; if ( pkg == null ) { return "jmxtrans-agent" ; } else { return pkg . getImplementationTitle ( ) + ": " + pkg . getImplementationVersion ( ) ; } }
Human readable name and version .