boolean (PsiClass annoClass) { for (PsiMethod m : annoClass.getMethods()) { if (!PsiUtil.isAnnotationMethod(m)) continue; if (((PsiAnnotationMethod)m).getDefaultValue() == null) return true; } return false; }