Self (@NonNls final String... qualifiedNames) { return with(new PatternCondition<T>("withAnnotations") { @Override public boolean accepts(@NotNull final T t, final ProcessingContext context) { return AnnotationUtil.findAnnotation(t, qualifiedNames) != null; } }); }