[Groovy] Class ReflectionCompletionCandidate
- org.apache.groovy.groovysh.completion.ReflectionCompletionCandidate
- All Implemented Interfaces and Traits:
- Comparable<ReflectionCompletionCandidate>
@CompileStatic class ReflectionCompletionCandidate extends Object implements Comparable<ReflectionCompletionCandidate>
A candidate as String with additional jansi formatting codes
Constructor Summary
Constructor and description |
---|
ReflectionCompletionCandidate
(String value, String[] jAnsiCodes) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
int |
compareTo(ReflectionCompletionCandidate o) | |
boolean |
equals(Object o) | |
String |
getValue() | |
List<String> |
getjAnsiCodes() | |
int |
hashCode() | |
String |
toString() |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail
ReflectionCompletionCandidate(String value, String[] jAnsiCodes)
Method Detail
@Override int compareTo(ReflectionCompletionCandidate o)
@Override boolean equals(Object o)
String getValue()
List<String> getjAnsiCodes()
@Override int hashCode()
@Override String toString()
© 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/ReflectionCompletionCandidate.html