[Groovy] Class NavigablePropertiesCompleter
- org.apache.groovy.groovysh.completion.NavigablePropertiesCompleter
class NavigablePropertiesCompleter extends Object
Constructor Summary
| Constructor and description |
|---|
NavigablePropertiesCompleter
() |
Methods Summary
| Type Params | Return Type | Name and description |
|---|---|---|
void |
addCompletions(Object instance, String prefix, Set<CharSequence> candidates)Adds navigable properties to the list of candidates if they match the prefix | |
void |
addIndirectObjectMembers(Object instance, String prefix, Set<CharSequence> candidates) | |
static void |
addMapProperties(Map instance, String prefix, Set<CharSequence> candidates) | |
void |
addNodeChildren(Node instance, String prefix, Set<CharSequence> candidates) | |
void |
addNodeListEntries(NodeList instance, String prefix, Set<CharSequence> candidates) |
Inherited Methods Summary
| Methods inherited from class | Name |
|---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail
NavigablePropertiesCompleter()
Method Detail
void addCompletions(Object instance, String prefix, Set<CharSequence> candidates)
Adds navigable properties to the list of candidates if they match the prefix
void addIndirectObjectMembers(Object instance, String prefix, Set<CharSequence> candidates)
static void addMapProperties(Map instance, String prefix, Set<CharSequence> candidates)
void addNodeChildren(Node instance, String prefix, Set<CharSequence> candidates)
void addNodeListEntries(NodeList instance, String prefix, Set<CharSequence> candidates)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/apache/groovy/groovysh/completion/NavigablePropertiesCompleter.html