void () { assertPackageDetected("@Deprecated package p.q;", "p.q"); assertPackageDetected("@java.lang.Deprecated package p.q;", "p.q"); assertPackageDetected("@Generated(\"text\") package p.q;", "p.q"); assertPackageDetected("@Generated( (\"text\") ) package p.q;", "p.q"); assertPackageDetected("@Generated((\"text\"), (\"text\")) package p.q;", "p.q"); assertPackageDetected(""" @Generated("text") @Deprecated package p.q;""", "p.q"); assertPackageDetected("@Deprecated/*aa*/ package p.q;", "p.q"); }