Class AnnotationBuilder
- java.lang.Object
-
- org.infinispan.cdi.common.util.annotatedtypebuilder.AnnotationBuilder
-
public class AnnotationBuilder extends Object
Helper class used to build annotation stores- Author:
- Stuart Douglas
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationBuilderadd(Annotation annotation)AnnotationBuilderaddAll(org.infinispan.cdi.common.util.annotatedtypebuilder.AnnotationStore annotations)<T extends Annotation>
TgetAnnotation(Class<T> anType)booleanisAnnotationPresent(Class<?> annotationType)AnnotationBuilderremove(Class<? extends Annotation> annotationType)StringtoString()
-
-
-
Method Detail
-
add
public AnnotationBuilder add(Annotation annotation)
-
remove
public AnnotationBuilder remove(Class<? extends Annotation> annotationType)
-
addAll
public AnnotationBuilder addAll(org.infinispan.cdi.common.util.annotatedtypebuilder.AnnotationStore annotations)
-
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> anType)
-
isAnnotationPresent
public boolean isAnnotationPresent(Class<?> annotationType)
-
-