/** * Match handlers annotated with a specific annotation. * @param annotations one or more annotations to check for */ @SafeVarargs public static HandlerTypePredicate forAnnotation(Class<? extends Annotation>... annotations) { return new Builder().annotation(annotations).build(); }
.basePackageClass(annotation.basePackageClasses()) .assignableType(annotation.assignableTypes()) .annotation(annotation.annotations()) .build();
/** * Match handlers annotated with a specific annotation. * @param annotations one or more annotations to check for */ @SafeVarargs public static HandlerTypePredicate forAnnotation(Class<? extends Annotation>... annotations) { return new Builder().annotation(annotations).build(); }
.basePackageClass(annotation.basePackageClasses()) .assignableType(annotation.assignableTypes()) .annotation(annotation.annotations()) .build();
/** * Match handlers annotated with a specific annotation. * @param annotations one or more annotations to check for */ @SafeVarargs public static HandlerTypePredicate forAnnotation(Class<? extends Annotation>... annotations) { return new Builder().annotation(annotations).build(); }
/** * Match handlers annotated with a specific annotation. * @param annotations one or more annotations to check for */ @SafeVarargs public static HandlerTypePredicate forAnnotation(Class<? extends Annotation>... annotations) { return new Builder().annotation(annotations).build(); }
.basePackageClass(annotation.basePackageClasses()) .assignableType(annotation.assignableTypes()) .annotation(annotation.annotations()) .build();