public static ImmutableSet<TypeElement> asTypeElements(Iterable<? extends TypeMirror> mirrors) {
        checkNotNull(mirrors);
        ImmutableSet.Builder<TypeElement> builder = ImmutableSet.builder();
        for (TypeMirror mirror : mirrors) {
            builder.add(asTypeElement(mirror));
        }
        return builder.build();
    }
Utilities related to {@link TypeMirror} instances.

@author Gregory Kick
@since 2.0
android/annotation_processors/permission-requester-compiler/src/main/java/github/tornaco/permission/compiler/common/MoreTypes.java