Fix idea compile for mongo modules
This commit is contained in:
parent
ae2b85ea51
commit
394f36d700
|
@ -24,14 +24,14 @@ public final class MongoClientInstrumentation implements Instrumenter {
|
|||
.and(
|
||||
declaresMethod(
|
||||
named("addCommandListener")
|
||||
.and(isPublic())
|
||||
.and(
|
||||
takesArguments(
|
||||
new TypeDescription.Latent(
|
||||
"com.mongodb.event.CommandListener",
|
||||
Modifier.PUBLIC,
|
||||
null,
|
||||
new TypeDescription.Generic[] {}))))))
|
||||
new TypeDescription.Generic[] {})))
|
||||
.and(isPublic()))))
|
||||
.transform(
|
||||
DDAdvice.create()
|
||||
.advice(
|
||||
|
|
|
@ -24,14 +24,14 @@ public final class MongoAsyncClientInstrumentation implements Instrumenter {
|
|||
.and(
|
||||
declaresMethod(
|
||||
named("addCommandListener")
|
||||
.and(isPublic())
|
||||
.and(
|
||||
takesArguments(
|
||||
new TypeDescription.Latent(
|
||||
"com.mongodb.event.CommandListener",
|
||||
Modifier.PUBLIC,
|
||||
null,
|
||||
new TypeDescription.Generic[] {}))))))
|
||||
new TypeDescription.Generic[] {})))
|
||||
.and(isPublic()))))
|
||||
.transform(
|
||||
DDAdvice.create()
|
||||
.advice(
|
||||
|
|
Loading…
Reference in New Issue