Rename: AnnotationResolver -> JavaAnnotationResolver

This commit is contained in:
Pavel V. Talanov
2012-10-10 17:35:56 +04:00
parent e795eeb3f7
commit 0f3c2f9fca
13 changed files with 23 additions and 23 deletions
@@ -27,7 +27,7 @@ import com.intellij.psi.impl.source.SourceTreeToPsiMap;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.jet.lang.resolve.java.JvmStdlibNames;
import org.jetbrains.jet.lang.resolve.java.resolver.AnnotationResolver;
import org.jetbrains.jet.lang.resolve.java.resolver.JavaAnnotationResolver;
/**
* @author Evgeny Gerashchenko
@@ -84,7 +84,7 @@ class KotlinSignatureUtil {
static PsiAnnotation findKotlinSignatureAnnotation(@NotNull PsiElement element) {
if (!(element instanceof PsiModifierListOwner)) return null;
PsiModifierListOwner annotationOwner = getAnnotationOwner(element);
PsiAnnotation annotation = AnnotationResolver.findAnnotation(annotationOwner, KOTLIN_SIGNATURE_ANNOTATION);
PsiAnnotation annotation = JavaAnnotationResolver.findAnnotation(annotationOwner, KOTLIN_SIGNATURE_ANNOTATION);
if (annotation == null) return null;
if (annotation.getParameterList().getAttributes().length == 0) return null;
return annotation;