Skip to content

Commit

Permalink
Added missing docs and @SInCE
Browse files Browse the repository at this point in the history
  • Loading branch information
sdedic committed Aug 31, 2021
1 parent e225b60 commit 533dc54
Showing 1 changed file with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,19 @@ public CompletionContext(
this.declaringClass = dc == null ? null : dc.redirect();
}

/**
* @return true, if just static members or meta-members should be considered.
* @since 1.80
*/
public boolean isStaticMembers() {
return staticMembers;
}

/**
* If nonzero, the provider should
* @return
* If nonzero, the provider should adjust CompletionItems priority by this amount
* to sort the items lower/higher than usual.
* @return adjustment for sort priority.
* @since 1.80
*/
public int getAddSortOverride() {
return addSortOverride;
Expand All @@ -130,7 +136,8 @@ public int getAddSortOverride() {
/**
* Set an offset to the default sort priority for the provided items.
* The provider should increase / decrease sort priority of the items
* @param addSortOverride
* @param addSortOverride the delta.
* @since 1.80
*/
public void setAddSortOverride(int addSortOverride) {
this.addSortOverride = addSortOverride;
Expand Down

0 comments on commit 533dc54

Please sign in to comment.