Code is versioned using the standard tags in the Jar's manifest9. Debugging/diagnostics tools should have access to this information.