abstract |
A compound of formula (I), wherein all symbols have the same meanings as defined in the specification; a salt thereof, a solvate thereof, an N-oxide thereof, or a prodrug thereof, has a Btk inhibitory activity, and is useful as a method for preventing and/or treating a rheumatoid arthritis, an autoimmune disease, a B cell lymphoma of cancer, and the like. |