Class ContextSuggestionsNarrower.ClassesAndMethodsEnforcingNarrower
java.lang.Object
org.kcc.ContextSuggestionsNarrower.ClassesAndMethodsEnforcingNarrower
- All Implemented Interfaces:
ContextSuggestionsNarrower
- Enclosing interface:
ContextSuggestionsNarrower
public static class ContextSuggestionsNarrower.ClassesAndMethodsEnforcingNarrower
extends Object
implements ContextSuggestionsNarrower
-
Nested Class Summary
Nested classes/interfaces inherited from interface ContextSuggestionsNarrower
ContextSuggestionsNarrower.ClassesAndMethodsEnforcingNarrower, ContextSuggestionsNarrower.DebugNarrower -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final CompletionItem[]private final ClassesAndMethodsProvider -
Constructor Summary
ConstructorsConstructorDescriptionClassesAndMethodsEnforcingNarrower(ClassesAndMethodsProvider classesAndMethodsProvider) -
Method Summary
Modifier and TypeMethodDescriptionintintnarrowSuggestions(String currentKeyword, CompletionItem[] currentSet, String[] beforeLines, String[] afterLines, CompletionSettings settings)
-
Field Details
-
COMPLETION_ITEMS_HELP
-
provider
-
-
Constructor Details
-
ClassesAndMethodsEnforcingNarrower
-
-
Method Details
-
getBeforeContextLinesCount
public int getBeforeContextLinesCount()- Specified by:
getBeforeContextLinesCountin interfaceContextSuggestionsNarrower
-
getAfterContextLinesCount
public int getAfterContextLinesCount()- Specified by:
getAfterContextLinesCountin interfaceContextSuggestionsNarrower
-
narrowSuggestions
public CompletionItem[] narrowSuggestions(String currentKeyword, CompletionItem[] currentSet, String[] beforeLines, String[] afterLines, CompletionSettings settings) - Specified by:
narrowSuggestionsin interfaceContextSuggestionsNarrower
-