クラスのインストゥルメント化を除外する

"adeum"  スニペットを使用して、1 つ以上のクラス名をインストゥルメント化から除外できます。ワイルドカードパターンと一致するクラスを指定できます。「サポートされるワイルドカード」を参照してください。

インストゥルメンテーションから名前付きクラスを除外するには、必要に応じて一致するパターンを使用し、クラス名を excludeClasses 配列に追加します。

...
adeum {
    // Excludes all the classes in the android.support.multidex and okio packages.
    excludeClasses = ['android.support.multidex.*', 'okio.**']
}
...

Include Classes for Instrumentation

If you require to include fewer classes during instrumentation, you can use the "adeum" includeClasses snippet. Therefore, the agent does not instrument the newly added classes that are not mentioned in includeClasses. You can specify the classes that matches the wildcard patterns, seeSupported Wildcards.

This way it includes only the specified classes and excludes the remaining classes from being instrumented.

...
adeum {
    // Includes the classes that are in the codeissues folder.
    includeClasses = ['com/appdynamics/everyfeature/codeissues/**']
}
...

サポートされるワイルドカード

クラス名にはワイルドカードを含めることができます。

? 1 文字用。
*。 任意の数の文字用(ただし、パッケージの区切り文字以外)。
** 任意の数の文字用。
$ 内部クラス名用のプレフィックス。