void () { for (Map.Entry<TypeRepr.ClassType, Set<ElemType>> entry : myAnnotationTargets.entrySet()) { TypeRepr.ClassType type = entry.getKey(); Set<ElemType> targets = entry.getValue(); Set<String> usedArguments = myAnnotationArguments.get(type); addUsage(new AnnotationUsage(type, usedArguments != null? usedArguments : Collections.emptyList(), targets)); } }