Groovy 2.2.1

org.codehaus.groovy.tools.shell.commands
[Groovy] Class ImportCompleter

java.lang.Object
  org.codehaus.groovy.tools.shell.commands.ImportCompleter
All Implemented Interfaces:
Completer

class ImportCompleter

Field Summary
static String PACK_OR_CLASSNAME_PATTERN

static String PACK_OR_CLASS_OR_METHODNAME_PATTERN

static String PACK_OR_SIMPLE_CLASSNAME_PATTERN

static String QUALIFIED_CLASS_DOT_PATTERN

protected Logger log

 
Property Summary
def interpreter

PackageHelper packageHelper

Groovysh shell

boolean staticImport

 
Constructor Summary
ImportCompleter(PackageHelper packageHelper, def interp, boolean staticImport)

 
Method Summary
int complete(String buffer, int cursor, List result)

def filterMatches(String it)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

PACK_OR_CLASSNAME_PATTERN

public static final String PACK_OR_CLASSNAME_PATTERN


PACK_OR_CLASS_OR_METHODNAME_PATTERN

public static final String PACK_OR_CLASS_OR_METHODNAME_PATTERN


PACK_OR_SIMPLE_CLASSNAME_PATTERN

public static final String PACK_OR_SIMPLE_CLASSNAME_PATTERN


QUALIFIED_CLASS_DOT_PATTERN

public static final String QUALIFIED_CLASS_DOT_PATTERN


log

protected final Logger log


 
Property Detail

interpreter

def interpreter


packageHelper

PackageHelper packageHelper


shell

Groovysh shell


staticImport

boolean staticImport


 
Constructor Detail

ImportCompleter

ImportCompleter(PackageHelper packageHelper, def interp, boolean staticImport)


 
Method Detail

complete

@Override
int complete(String buffer, int cursor, List result)


filterMatches

def filterMatches(String it)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.