Groovy 2.2.1

org.codehaus.groovy.tools.shell.completion
[Groovy] Interface IdentifierCompletor


interface IdentifierCompletor

Interface for classes that complete identifier tokens within a groovy Statement (Class, variable, keyword, method, ...) Similar to JLine Completor, but adapted for usage in GroovySyntaxCompletor


Method Summary
boolean complete(List tokens, List candidates)

@param tokens List of tokens, non empty, last token is an identifier token, previous token is not a dot

 

Method Detail

complete

boolean complete(List tokens, List candidates)
Parameters:
tokens - List of tokens, non empty, last token is an identifier token, previous token is not a dot
candidates
Returns:


 

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