If the @sample tag is used in KDoc with an extra long path, the path will be placed on a separate line from the @sample tag, which breaks the functionality in IntelliJ.
Making a special case here to not break between the annotation and the path seems reasonable.
/**
* This is my SampleInterface interface.
* @sample com.google.java.sample.library.extra.long.path.MyCustomSampleInterfaceImplementationForTesting
*/
interface SampleInterface