API to access the agent JAR file as a resource.
DISCLAIMER: this class has been exported from JaCoCo's agent module and updated. In here, it
would be desirable to extend JaCoCo's class (using the extends keyword) rather than
including a very similar one, however JaCoCo's class is final (as all it's fields) and therefore
cannot be extended/augmented/overwritten.