Skip to content

Commit 18b9029

Browse files
committed
Added missing comment
1 parent d28efde commit 18b9029

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

javaagent-extension-api/src/main/java/io/opentelemetry/javaagent/extension/instrumentation/internal/ExperimentalInstrumentationModule.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ default List<String> agentPackagesToHide() {
6767
* method is invoked. This function allows to change the behaviour so that all Advice classes are
6868
* loaded and initialized as soon as a matching type is instrumented.
6969
*
70+
* <p>Note: this functionality currently does not work together with the AdviceTransformer.
71+
* Therefore you should make your Advices indy-compatible (use @Advice.AssignReturned) before
72+
* using this feature.
73+
*
7074
* @return true, if Advice classes should be loaded on instrumentation instead of first execution
7175
*/
7276
default boolean loadAdviceClassesEagerly() {

0 commit comments

Comments
 (0)