@Nullables

This commit is contained in:
Dmitry Avdeev
2012-01-23 11:24:03 +04:00
parent 4dfe68c2c5
commit 08091005ad
@@ -159,9 +159,10 @@ public class AnnotationUtil {
return null;
}
@Nullable
private static PsiAnnotation doFindAnnotationInHierarchy(PsiParameter parameter,
Set<String> annotationNames,
Set<PsiModifierListOwner> visited) {
@Nullable Set<PsiModifierListOwner> visited) {
PsiAnnotation annotation = findAnnotation(parameter, annotationNames);
if (annotation != null) return annotation;
PsiElement scope = parameter.getDeclarationScope();