diff --git a/java/com/google/turbine/binder/Processing.java b/java/com/google/turbine/binder/Processing.java index 83ee9052..82440163 100644 --- a/java/com/google/turbine/binder/Processing.java +++ b/java/com/google/turbine/binder/Processing.java @@ -161,7 +161,7 @@ public class Processing { SupportedAnnotationTypes supportedAnnotationTypes = e.getValue(); Set annotations = new HashSet<>(); boolean run = supportedAnnotationTypes.everything() || toRun.contains(processor); - for (ClassSymbol a : allAnnotations.keys()) { + for (ClassSymbol a : allAnnotations.keySet()) { if (supportedAnnotationTypes.everything() || supportedAnnotationTypes.pattern().matcher(a.toString()).matches()) { annotations.add(factory.typeElement(a));