The FragmentAtClassScope object is a specification for the data and initialization requirements of a probe.
The FragmentAtClassScope object is optional. It can be used to include static data members, static helper functions, or any other Java construct in the probe class. For example, you can perform one-time initialization for a probe by creating a static initializer that will execute when the class is loaded.
The contents of the FragmentAtClassScope object is placed in the generated source code for the probe class at class scope. That is, the contents will appear inside the generated class, but outside all methods.
A probe can have only one FragmentAtClassScope object.
<fragmentAtClassScope> static public int call_counter = 0; </fragmentAtClassScope>
Contained by
The Probe object
Related information
A basic sample probe