Package eu.bandm.tools.util3
Class AnnotationPatterns
java.lang.Object
eu.bandm.tools.util3.AnnotationPatterns
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Pattern
<AnnotationVisitor.Annotation> annotation
(Class<? extends Annotation> type, Pattern<? super Map<String, AnnotationVisitor.ElementValue>> params) array
(Pattern<? super List<AnnotationVisitor.ElementValue>> body) nested
(Pattern<? super AnnotationVisitor.Annotation> body) static Pattern
<AnnotationVisitor.Annotation> repeatable
(Class<? extends Annotation> containerType, Pattern<? super AnnotationVisitor.Annotation> body) static Pattern
<Map<String, AnnotationVisitor.ElementValue>> value
(Pattern<? super AnnotationVisitor.ElementValue> body)
-
Constructor Details
-
AnnotationPatterns
public AnnotationPatterns()
-
-
Method Details
-
annotation
public static Pattern<AnnotationVisitor.Annotation> annotation(Class<? extends Annotation> type, Pattern<? super Map<String, AnnotationVisitor.ElementValue>> params) -
value
public static Pattern<Map<String,AnnotationVisitor.ElementValue>> value(Pattern<? super AnnotationVisitor.ElementValue> body) -
array
public static Pattern<AnnotationVisitor.ElementValue> array(Pattern<? super List<AnnotationVisitor.ElementValue>> body) -
string
-
nested
public static Pattern<AnnotationVisitor.ElementValue> nested(Pattern<? super AnnotationVisitor.Annotation> body) -
repeatable
public static Pattern<AnnotationVisitor.Annotation> repeatable(Class<? extends Annotation> containerType, Pattern<? super AnnotationVisitor.Annotation> body)
-