void (final DependencyContext context, final PrintStream stream) { stream.println(" AnnotationUsage:"); stream.println(" Type : " + myType.getDescr(context)); final List<String> arguments = new LinkedList<>(); if (myUsedArguments != null) { myUsedArguments.forEach(value -> { arguments.add(context.getValue(value)); }); } Collections.sort(arguments); final List<String> targets = new LinkedList<>(); if (myUsedTargets != null) { for (final ElemType e : myUsedTargets) { targets.add(e.toString()); } } Collections.sort(targets); stream.println(" Arguments:"); for (final String s : arguments) { stream.println(" " + s); } stream.println(" Targets :"); for (final String s : targets) { stream.println(" " + s); } }