I am seeing an error in this yellow box in IntelliJ. How to copy it out to system clipboard?

In Eclipse, there is a good way of doing so. How to do this in IntelliJ?
I am seeing an error in this yellow box in IntelliJ. How to copy it out to system clipboard?

In Eclipse, there is a good way of doing so. How to do this in IntelliJ?
For MacOS 10.5+ Android Studio 3.5:
1. Hover over the code snippet
2. Carefully move the cursor to warning text through bubble as below(otherwise warning text may disappear)

3 Tripple click on the warning and then Control + Alt + click.