org.jetbrains.jet.lang.descriptors.annotations
Class AnnotationsImpl

java.lang.Object
  extended by org.jetbrains.jet.lang.descriptors.annotations.AnnotationsImpl
All Implemented Interfaces:
java.lang.Iterable<AnnotationDescriptor>, Annotations

public class AnnotationsImpl
extends java.lang.Object
implements Annotations


Field Summary
 
Fields inherited from interface org.jetbrains.jet.lang.descriptors.annotations.Annotations
EMPTY
 
Constructor Summary
AnnotationsImpl(java.util.List<AnnotationDescriptor> annotations)
           
 
Method Summary
 AnnotationDescriptor findAnnotation(FqName fqName)
           
 java.util.List<AnnotationDescriptor> getAnnotationDescriptors()
           
 boolean isEmpty()
           
 java.util.Iterator<AnnotationDescriptor> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationsImpl

public AnnotationsImpl(@NotNull
                       java.util.List<AnnotationDescriptor> annotations)
Method Detail

getAnnotationDescriptors

@NotNull
public java.util.List<AnnotationDescriptor> getAnnotationDescriptors()

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Annotations

findAnnotation

@Nullable
public AnnotationDescriptor findAnnotation(@NotNull
                                                    FqName fqName)
Specified by:
findAnnotation in interface Annotations

iterator

@NotNull
public java.util.Iterator<AnnotationDescriptor> iterator()
Specified by:
iterator in interface java.lang.Iterable<AnnotationDescriptor>