Annotations (Partially Deprecated)
All instrumentation annotations are defined in
dasho-annotations.jar, which is located in the
lib folder where you installed PreEmptive Protection - DashO. To add instrumentation annotations to an application, add a reference to this jar that must be available at compile time. While injecting instrumentation code, DashO removes references to these annotations; therefore, the jar is not required at application runtime and does not need to be distributed with the application.
Injecting PreEmptive Analytics is deprecated.
Sending PreEmptive Analytics telemetry from Checks and Responses is deprecated.
Check and Response annotations are not deprecated.
In addition to using the custom annotations, all non-deprecated instrumentation annotations may be specified as virtual annotations via the Injection - Instrumentation UI or as checks/responses in the Injection - Debug Check, Injection - Root Check, Injection – Shelf Life Check, and Injection - Tamper Check UI. If you use virtual annotations, checks, or responses, you do not have to modify the application source code. For a programmer's reference, see the javadocs. If you use an annotation in your code, you should not repeat that annotation on the same class or method via virtual annotations, checks, or responses.