Skip to content

Commit

Permalink
Merge 49a22e5 into 4ac2a47
Browse files Browse the repository at this point in the history
  • Loading branch information
boretti committed Aug 7, 2018
2 parents 4ac2a47 + 49a22e5 commit 4126758
Showing 1 changed file with 6 additions and 3 deletions.
Expand Up @@ -26,6 +26,7 @@
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Optional;
Expand Down Expand Up @@ -68,9 +69,11 @@ public RoundMirror(RoundEnvironment roundEnv, ProcessingEnvironment processingEn
this.elementsWithOtherAnnotations = new HashMap<>();
this.elementsWithPM = roundEnv.getElementsAnnotatedWith(ProvideMatchers.class);
elementsWithOtherAnnotations.put(IgnoreInMatcher.class,
roundEnv.getElementsAnnotatedWith(IgnoreInMatcher.class));
elementsWithOtherAnnotations.put(AddToMatcher.class, roundEnv.getElementsAnnotatedWith(AddToMatcher.class));
elementsWithOtherAnnotations.put(AddToMatchers.class, roundEnv.getElementsAnnotatedWith(AddToMatchers.class));
new HashSet<>(roundEnv.getElementsAnnotatedWith(IgnoreInMatcher.class)));
elementsWithOtherAnnotations.put(AddToMatcher.class,
new HashSet<>(roundEnv.getElementsAnnotatedWith(AddToMatcher.class)));
elementsWithOtherAnnotations.put(AddToMatchers.class,
new HashSet<>(roundEnv.getElementsAnnotatedWith(AddToMatchers.class)));
AUTOMATED_EXTENSIONS = getDefaultExtension().stream().filter(AutomatedExtension::isPresent)
.collect(collectingAndThen(toList(), Collections::unmodifiableList));
}
Expand Down

0 comments on commit 4126758

Please sign in to comment.