We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Instrumentation docs seem to imply that you can return null InstrumentationContext, while in fact it will cause a NPE.
Instrumentation
null
We should reference the
private static final InstrumentationContext<Object> NO_OP = new SimpleInstrumentationContext<>();
as the preferred return value if you don't need a context.
The text was updated successfully, but these errors were encountered:
Related to that: #2769
Sorry, something went wrong.
No branches or pull requests
The
Instrumentation
docs seem to imply that you can returnnull
InstrumentationContext, while in fact it will cause a NPE.We should reference the
as the preferred return value if you don't need a context.
The text was updated successfully, but these errors were encountered: