public class ImportAutoCompleteGenerator extends Object implements AutoCompleteGenerator
Constructor and Description |
---|
ImportAutoCompleteGenerator() |
Modifier and Type | Method and Description |
---|---|
(package private) List<AutoComplete> |
generate(ParsingContext parsingContext,
String alreadyTyped,
int startMarkToUse) |
(package private) boolean |
generateClasses(ParsingContext parsingContext,
ArrayList<AutoComplete> results,
String alreadyTyped) |
(package private) boolean |
generatePackages(ParsingContext parsingContext,
ArrayList<AutoComplete> results,
String alreadyTyped) |
List<AutoComplete> |
getAutoCompletes(LexerParser parser)
Generates autoComplete options if auto complete is requested by a parser.
|
List<AutoComplete> |
getAutoCompletes(Matcher matcher)
Generates autoComplete options if auto complete is requested by a matcher.
|
String |
getGroup() |
String |
getTooManyResults() |
int |
getTooManyResultsLimit() |
boolean |
isIncludeClasses() |
boolean |
isIncludePackages() |
boolean |
isUseDeclaredImports() |
static void |
load()
Intitializes the extension if necessary by executing static init.
|
void |
setGroup(String group) |
void |
setIncludeClasses(boolean includeClasses) |
void |
setIncludePackages(boolean includePackages) |
void |
setTooManyResults(String tooManyResults) |
void |
setTooManyResultsLimit(int tooManyResultsLimit) |
void |
setUseDeclaredImports(boolean useDeclaredImports) |
public static void load()
public List<AutoComplete> getAutoCompletes(Matcher matcher) throws DslException
AutoCompleteGenerator
getAutoCompletes
in interface AutoCompleteGenerator
DslException
public List<AutoComplete> getAutoCompletes(LexerParser parser) throws DslException
AutoCompleteGenerator
getAutoCompletes
in interface AutoCompleteGenerator
DslException
List<AutoComplete> generate(ParsingContext parsingContext, String alreadyTyped, int startMarkToUse)
boolean generatePackages(ParsingContext parsingContext, ArrayList<AutoComplete> results, String alreadyTyped)
boolean generateClasses(ParsingContext parsingContext, ArrayList<AutoComplete> results, String alreadyTyped)
public String getGroup()
getGroup
in interface AutoCompleteGenerator
public void setGroup(String group)
setGroup
in interface AutoCompleteGenerator
public boolean isIncludeClasses()
public void setIncludeClasses(boolean includeClasses)
public boolean isIncludePackages()
public void setIncludePackages(boolean includePackages)
public boolean isUseDeclaredImports()
public void setUseDeclaredImports(boolean useDeclaredImports)
public String getTooManyResults()
public void setTooManyResults(String tooManyResults)
public int getTooManyResultsLimit()
public void setTooManyResultsLimit(int tooManyResultsLimit)