Polish "Ensure indexer gracefully handle missing meta annotations"
Closes gh-22385
This commit is contained in:
@@ -114,7 +114,8 @@ class TypeHelper {
|
||||
try {
|
||||
return this.env.getElementUtils().getAllAnnotationMirrors(e);
|
||||
}
|
||||
catch (Throwable ex) {
|
||||
catch (Exception ex) {
|
||||
// This may fail if one of the annotation is not available
|
||||
return Collections.emptyList();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user