Workaround AP throwing exception if there is a compile error in the file

This commit is contained in:
embeddedt 2023-12-31 20:30:04 -05:00
parent a012b60ae3
commit d6fc939f41
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -166,6 +166,7 @@ public class ClientMixinValidator {
clzsses = wrappedClzss.stream()
.map(AnnotationValue::getValue)
.filter(o -> o instanceof TypeMirror)
.map(TypeMirror.class::cast)
.collect(Collectors.toSet());