|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.tools.shell.completion.ImportsSyntaxCompletor
class ImportsSyntaxCompletor
Completor completing imported classnames
Property Summary | |
---|---|
static String |
STATIC_IMPORT_PATTERN
|
Map |
cachedImports
|
List |
preimportedClassNames
|
Groovysh |
shell
|
Constructor Summary | |
ImportsSyntaxCompletor(Groovysh shell)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail |
---|
static final String STATIC_IMPORT_PATTERN
Map cachedImports
List preimportedClassNames
Groovysh shell
Constructor Detail |
---|
ImportsSyntaxCompletor(Groovysh shell)
Method Detail |
---|
void collectImportedSymbols(String importSpec, Collection matches)
@Override boolean complete(List tokens, List candidates)
boolean findMatchingImportedClassesCached(String prefix, String importSpec, List candidates)
boolean findMatchingPreImportedClasses(String prefix, Collection matches)
Copyright © 2003-2013 The Codehaus. All rights reserved.