PsiClassPattern () { return with(new PatternCondition<PsiClass>("isAnnotationType") { @Override public boolean accepts(@NotNull final PsiClass psiClass, final ProcessingContext context) { return psiClass.isAnnotationType(); } });}