Class AnnotationSet
- java.lang.Object
-
- com.chutneytesting.task.domain.parameter.AnnotationSet
-
public class AnnotationSet extends Object
-
-
Constructor Summary
Constructors Constructor Description AnnotationSet(Set<Annotation> annotations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends Annotation>
Tget(Class<T> annotationType)booleanisEmpty()Optional<Annotation>optional(Class<? extends Annotation> annotationType)
-
-
-
Constructor Detail
-
AnnotationSet
public AnnotationSet(Set<Annotation> annotations)
-
-
Method Detail
-
optional
public Optional<Annotation> optional(Class<? extends Annotation> annotationType)
-
get
public <T extends Annotation> T get(Class<T> annotationType)
-
isEmpty
public boolean isEmpty()
-
-