In certain scenarios the JaCoCo agent is not suitable, for example when the container is not under control of the test set or the VM simply doesn't support Java agents (Dalvik VM).
For this JaCoCo should offer an offline mode where class files can be instrumented during the build and jacocoagent.jar is simply put on the class path.