private Annotations(AnnotatedConfigurator<?, ?, ?> configurator) { this.annotations = ImmutableSet.copyOf(configurator.getAnnotations()); this.annotationsMap = this.annotations.stream().collect(ImmutableMap.collector((a) -> a.annotationType(), Function.identity())); }
private Annotations(AnnotatedConfigurator<?, ?, ?> configurator) { this.annotations = ImmutableSet.copyOf(configurator.getAnnotations()); this.annotationsMap = this.annotations.stream().collect(ImmutableMap.collector((a) -> a.annotationType(), Function.identity())); }
private Annotations(AnnotatedConfigurator<?, ?, ?> configurator) { this.annotations = ImmutableSet.copyOf(configurator.getAnnotations()); this.annotationsMap = this.annotations.stream().collect(ImmutableMap.collector((a) -> a.annotationType(), Function.identity())); }
private Annotations(AnnotatedConfigurator<?, ?, ?> configurator) { this.annotations = ImmutableSet.copyOf(configurator.getAnnotations()); this.annotationsMap = this.annotations.stream().collect(ImmutableMap.collector((a) -> a.annotationType(), Function.identity())); }
private Annotations(AnnotatedConfigurator<?, ?, ?> configurator) { this.annotations = ImmutableSet.copyOf(configurator.getAnnotations()); this.annotationsMap = this.annotations.stream().collect(ImmutableMap.collector((a) -> a.annotationType(), Function.identity())); }