We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 659c6c6 commit 92388f0Copy full SHA for 92388f0
src/main/java/io/openliberty/tools/intellij/lsp4jakarta/lsp4ij/AnnotationUtil.java
@@ -35,6 +35,8 @@ public class AnnotationUtil {
35
private static final Logger LOGGER = Logger.getLogger(AnnotationUtil.class.getName());
36
public static List<String> getScopeAnnotations(PsiClass type, Set<String> scopes) {
37
return ExceptionUtil.executeWithExceptionHandling(
38
+ // Construct a stream of only the annotations applied to the type that are also
39
+ // recognised annotations found in scopes.
40
() -> Arrays.stream(type.getAnnotations())
41
.map(annotation -> annotation.getNameReferenceElement().getQualifiedName())
42
.filter(scopes::contains)
0 commit comments