Skip to content

Commit 92388f0

Browse files
committed
Added comment back
1 parent 659c6c6 commit 92388f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/io/openliberty/tools/intellij/lsp4jakarta/lsp4ij/AnnotationUtil.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ public class AnnotationUtil {
3535
private static final Logger LOGGER = Logger.getLogger(AnnotationUtil.class.getName());
3636
public static List<String> getScopeAnnotations(PsiClass type, Set<String> scopes) {
3737
return ExceptionUtil.executeWithExceptionHandling(
38+
// Construct a stream of only the annotations applied to the type that are also
39+
// recognised annotations found in scopes.
3840
() -> Arrays.stream(type.getAnnotations())
3941
.map(annotation -> annotation.getNameReferenceElement().getQualifiedName())
4042
.filter(scopes::contains)

0 commit comments

Comments
 (0)