Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null check annotations for Semantic Tokens API #1852

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion org.eclipse.jdt.ui/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,6 @@ Require-Bundle:
org.eclipse.ui.navigator;bundle-version="[3.3.200,4.0.0)",
org.eclipse.ui.navigator.resources;bundle-version="[3.4.0,4.0.0)",
org.eclipse.jdt.core.manipulation;bundle-version="[1.15.200,2.0.0)",
org.eclipse.equinox.bidi;bundle-version="[0.10.0,2.0.0)"
org.eclipse.equinox.bidi;bundle-version="[0.10.0,2.0.0)",
org.eclipse.jdt.annotation
Bundle-RequiredExecutionEnvironment: JavaSE-17
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

import java.util.Collection;

import org.eclipse.jdt.annotation.NonNull;

import org.eclipse.jdt.core.dom.CompilationUnit;

/**
Expand Down Expand Up @@ -58,7 +60,7 @@ enum TokenType {
KEYWORD,
}

Collection<SemanticToken> computeSemanticTokens(CompilationUnit ast);
@NonNull Collection<SemanticToken> computeSemanticTokens(@NonNull CompilationUnit ast);

}

Expand Down
Loading