Package org.kcc
Class ContextSuggestionsNarrower.DebugNarrower
java.lang.Object
org.kcc.ContextSuggestionsNarrower.DebugNarrower
- All Implemented Interfaces:
ContextSuggestionsNarrower
- Enclosing interface:
ContextSuggestionsNarrower
public static class ContextSuggestionsNarrower.DebugNarrower
extends Object
implements ContextSuggestionsNarrower
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.kcc.ContextSuggestionsNarrower
ContextSuggestionsNarrower.ClassesAndMethodsEnforcingNarrower, ContextSuggestionsNarrower.DebugNarrower
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
narrowSuggestions
(String currentKeyword, CompletionItem[] currentSet, String[] beforeLines, String[] afterLines, CompletionSettings settings)
-
Field Details
-
before
private final int before -
after
private final int after
-
-
Constructor Details
-
DebugNarrower
public DebugNarrower(int befor, int after)
-
-
Method Details
-
getBeforeContextLinesCount
public int getBeforeContextLinesCount()- Specified by:
getBeforeContextLinesCount
in interfaceContextSuggestionsNarrower
-
getAfterContextLinesCount
public int getAfterContextLinesCount()- Specified by:
getAfterContextLinesCount
in interfaceContextSuggestionsNarrower
-
narrowSuggestions
public CompletionItem[] narrowSuggestions(String currentKeyword, CompletionItem[] currentSet, String[] beforeLines, String[] afterLines, CompletionSettings settings) - Specified by:
narrowSuggestions
in interfaceContextSuggestionsNarrower
-