You can specify a class name or package name with wildcard * as a suffix to match the beginning of the referenced class.

For example:

  • MyPackageName.MyClassName—Traces all methods defined in the MyClassName class within the MyPackageName package.
  • MyPackageName.MyClass*—Traces all methods of the class names that begin with MyClass in the MyPackageName package, including any sub-packages starting with MyPackageName.MyClass.
  • MyPackageName.*—Traces all methods of all classes within the MyPackageName package.
  • MyPackage*—Traces all methods of all classes within packages that start with MyPackage.
Note:
  • If a class is not defined within a package, you can specify the class name only.
  • If class inheritance is present, tracing is automatically applied on a per-instance basis. That is, when specifying a class name in the trace_classes option, the tracing functionality is extended to both the class and its superclasses.