class ImportsSyntaxCompletor
Completor completing imported classnames
| Type | Name and description | 
|---|---|
Map<String, Collection<String>>  | 
                            cachedImports | 
                        
List<String>  | 
                            preimportedClassNames | 
                        
Groovysh  | 
                            shell | 
                        
| Constructor and description | 
|---|
                                ImportsSyntaxCompletor
                                (Groovysh shell) | 
                        
| 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-2017 The Apache Software Foundation. All rights reserved.