@DeprecatedDeprecated class ImportsSyntaxCompleter extends Object
Completer completing imported classnames
Type | Name and description |
---|---|
private Map |
cachedImports |
private List |
preimportedClassNames |
private Groovysh |
shell |
Constructor and description |
---|
ImportsSyntaxCompleter
(Groovysh shell) |
ImportsSyntaxCompleter
() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
collectImportedSymbols(String importSpec, Collection matches) finds matching imported classes or static methods
|
|
boolean |
complete(List tokens, List candidates) |
|
boolean |
findMatchingImportedClassesCached(String prefix, String importSpec, List candidates) |
|
boolean |
findMatchingPreImportedClasses(String prefix, Collection matches) |
finds matching imported classes or static methods
importSpec
- an import statement without the leading 'import ' or trailing semicolonmatches
- all names matching the importSpec will be added to this CollectionCopyright © 2003-2020 The Apache Software Foundation. All rights reserved.