Skip to content

Commit

Permalink
ADd empty constructor to SemanticTokensWithRegistrationOptions
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Dallo <[email protected]>
  • Loading branch information
ericdallo authored and spoenemann committed Oct 7, 2020
1 parent c551c24 commit 64c5643
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3782,6 +3782,9 @@ class SemanticTokensWithRegistrationOptions extends AbstractWorkDoneProgressOpti
*/
List<DocumentFilter> documentSelector

new() {
}

new(@NonNull SemanticTokensLegend legend) {
this.legend = Preconditions.checkNotNull(legend, 'legend')
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ public class SemanticTokensWithRegistrationOptions extends AbstractWorkDoneProgr
*/
private List<DocumentFilter> documentSelector;

public SemanticTokensWithRegistrationOptions() {
}

public SemanticTokensWithRegistrationOptions(@NonNull final SemanticTokensLegend legend) {
this.legend = Preconditions.<SemanticTokensLegend>checkNotNull(legend, "legend");
}
Expand Down

0 comments on commit 64c5643

Please sign in to comment.