org.jetbrains.jet.lang.resolve.java.resolver
Class JavaAnnotationResolver

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.java.resolver.JavaAnnotationResolver

public final class JavaAnnotationResolver
extends java.lang.Object


Field Summary
static Name DEFAULT_ANNOTATION_MEMBER_NAME
           
static FqName JETBRAINS_MUTABLE_ANNOTATION
           
static FqName JETBRAINS_NOT_NULL_ANNOTATION
           
static FqName JETBRAINS_READONLY_ANNOTATION
           
 
Constructor Summary
JavaAnnotationResolver()
           
 
Method Summary
 JavaAnnotation findAnnotationWithExternal(JavaAnnotationOwner owner, FqName name)
           
 boolean hasMutableAnnotation(JavaAnnotationOwner owner)
           
 boolean hasNotNullAnnotation(JavaAnnotationOwner owner)
           
 boolean hasReadonlyAnnotation(JavaAnnotationOwner owner)
           
 AnnotationDescriptor resolveAnnotation(JavaAnnotation javaAnnotation, PostponedTasks postponedTasks)
           
 java.util.List<AnnotationDescriptor> resolveAnnotations(JavaAnnotationOwner owner)
           
 java.util.List<AnnotationDescriptor> resolveAnnotations(JavaAnnotationOwner owner, PostponedTasks tasks)
           
 void setArgumentResolver(JavaAnnotationArgumentResolver argumentResolver)
           
 void setClassResolver(JavaClassResolver classResolver)
           
 void setExternalAnnotationResolver(ExternalAnnotationResolver externalAnnotationResolver)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_ANNOTATION_MEMBER_NAME

public static final Name DEFAULT_ANNOTATION_MEMBER_NAME

JETBRAINS_NOT_NULL_ANNOTATION

public static final FqName JETBRAINS_NOT_NULL_ANNOTATION

JETBRAINS_MUTABLE_ANNOTATION

public static final FqName JETBRAINS_MUTABLE_ANNOTATION

JETBRAINS_READONLY_ANNOTATION

public static final FqName JETBRAINS_READONLY_ANNOTATION
Constructor Detail

JavaAnnotationResolver

public JavaAnnotationResolver()
Method Detail

setClassResolver

@Inject
public void setClassResolver(JavaClassResolver classResolver)

setArgumentResolver

@Inject
public void setArgumentResolver(JavaAnnotationArgumentResolver argumentResolver)

setExternalAnnotationResolver

@Inject
public void setExternalAnnotationResolver(ExternalAnnotationResolver externalAnnotationResolver)

resolveAnnotations

@NotNull
public java.util.List<AnnotationDescriptor> resolveAnnotations(@NotNull
                                                                       JavaAnnotationOwner owner,
                                                                       @NotNull
                                                                       PostponedTasks tasks)

resolveAnnotations

@NotNull
public java.util.List<AnnotationDescriptor> resolveAnnotations(@NotNull
                                                                       JavaAnnotationOwner owner)

resolveAnnotation

@Nullable
public AnnotationDescriptor resolveAnnotation(@NotNull
                                                       JavaAnnotation javaAnnotation,
                                                       @NotNull
                                                       PostponedTasks postponedTasks)

findAnnotationWithExternal

@Nullable
public JavaAnnotation findAnnotationWithExternal(@NotNull
                                                          JavaAnnotationOwner owner,
                                                          @NotNull
                                                          FqName name)

hasNotNullAnnotation

public boolean hasNotNullAnnotation(@NotNull
                                    JavaAnnotationOwner owner)

hasMutableAnnotation

public boolean hasMutableAnnotation(@NotNull
                                    JavaAnnotationOwner owner)

hasReadonlyAnnotation

public boolean hasReadonlyAnnotation(@NotNull
                                     JavaAnnotationOwner owner)