Groovy Documentation

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(java.util.List tokens, java.util.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(java.util.List tokens, java.util.List candidates)
Parameters:
tokens - List of tokens, non empty, last token is an identifier token, previous token is not a dot
candidates
Returns:


 

Groovy Documentation