org.jboss.seam.solder.reflection.annotated
Class AnnotationBuilder

java.lang.Object
  extended by org.jboss.seam.solder.reflection.annotated.AnnotationBuilder

public class AnnotationBuilder
extends Object

Helper class used to build annotation stores

Author:
Stuart Douglas

Method Summary
 AnnotationBuilder add(Annotation annotation)
           
 AnnotationBuilder addAll(AnnotatedElement element)
           
 AnnotationBuilder addAll(org.jboss.seam.solder.reflection.annotated.AnnotationStore annotations)
           
 AnnotationBuilder addAll(Set<Annotation> annotations)
           
<T extends Annotation>
T
getAnnotation(Class<T> anType)
           
 boolean isAnnotationPresent(Class<?> annotationType)
           
 AnnotationBuilder remove(Class<? extends Annotation> annotationType)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

add

public AnnotationBuilder add(Annotation annotation)

remove

public AnnotationBuilder remove(Class<? extends Annotation> annotationType)

addAll

public AnnotationBuilder addAll(Set<Annotation> annotations)

addAll

public AnnotationBuilder addAll(org.jboss.seam.solder.reflection.annotated.AnnotationStore annotations)

addAll

public AnnotationBuilder addAll(AnnotatedElement element)

getAnnotation

public <T extends Annotation> T getAnnotation(Class<T> anType)

isAnnotationPresent

public boolean isAnnotationPresent(Class<?> annotationType)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2011 Seam Framework. All Rights Reserved.