@Module public class AnnotationSet extends java.util.AbstractSet<java.lang.annotation.Annotation>
Constructor and Description |
---|
AnnotationSet() |
AnnotationSet(java.util.Collection<java.lang.annotation.Annotation> set) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(java.lang.annotation.Annotation newAnn) |
void |
clear() |
java.lang.annotation.Annotation |
getAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annType) |
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annType) |
java.util.Iterator<java.lang.annotation.Annotation> |
iterator() |
boolean |
remove(java.lang.annotation.Annotation newAnn) |
void |
replace(java.lang.annotation.Annotation newAnn) |
int |
size() |
java.lang.String |
toString() |
addAll, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public AnnotationSet()
public AnnotationSet(java.util.Collection<java.lang.annotation.Annotation> set)
public int size()
size
in interface java.util.Collection<java.lang.annotation.Annotation>
size
in interface java.util.Set<java.lang.annotation.Annotation>
size
in class java.util.AbstractCollection<java.lang.annotation.Annotation>
public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annType)
public java.lang.annotation.Annotation getAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> annType)
public void replace(java.lang.annotation.Annotation newAnn)
public boolean add(java.lang.annotation.Annotation newAnn)
add
in interface java.util.Collection<java.lang.annotation.Annotation>
add
in interface java.util.Set<java.lang.annotation.Annotation>
add
in class java.util.AbstractCollection<java.lang.annotation.Annotation>
public boolean remove(java.lang.annotation.Annotation newAnn)
public void clear()
clear
in interface java.util.Collection<java.lang.annotation.Annotation>
clear
in interface java.util.Set<java.lang.annotation.Annotation>
clear
in class java.util.AbstractCollection<java.lang.annotation.Annotation>
public java.util.Iterator<java.lang.annotation.Annotation> iterator()
iterator
in interface java.lang.Iterable<java.lang.annotation.Annotation>
iterator
in interface java.util.Collection<java.lang.annotation.Annotation>
iterator
in interface java.util.Set<java.lang.annotation.Annotation>
iterator
in class java.util.AbstractCollection<java.lang.annotation.Annotation>
public java.lang.String toString()
toString
in class java.util.AbstractCollection<java.lang.annotation.Annotation>