@Deprecated class ImportsSyntaxCompleter extends Object implements IdentifierCompleter
Completer completing imported classnames
Type | Name and description |
---|---|
private Map<String, Collection<String>> |
cachedImports |
private List<String> |
preimportedClassNames |
private Groovysh |
shell |
Constructor and description |
---|
ImportsSyntaxCompleter
(Groovysh shell) |
ImportsSyntaxCompleter
() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
collectImportedSymbols(String importSpec, Collection<String> matches) finds matching imported classes or static methods |
|
boolean |
complete(List<GroovySourceToken> tokens, List<CharSequence> candidates) |
|
boolean |
findMatchingImportedClassesCached(String prefix, String importSpec, List<String> candidates) |
|
boolean |
findMatchingPreImportedClasses(String prefix, Collection<String> 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.