public boolean annotationSupported(String annotationName) { for (Pattern p : supportedAnnotationPatterns) { if (p.matcher(annotationName).matches()) return true; } return false; }