public abstract class AbstractJavaSourceCompletion extends BasicCompletion implements JavaSourceCompletion
| Constructor and Description |
|---|
AbstractJavaSourceCompletion(CompletionProvider provider,
java.lang.String replacementText) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Completion c2)
Overridden to ensure that two completions don't just have the same
text value (ignoring case), but that they're of the same "type" of
Completion as well, so, for example, a completion for the
"String" class won't clash with a completion for a "string" LocalVar. |
java.lang.String |
getAlreadyEntered(javax.swing.text.JTextComponent comp) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, rendererTextpublic AbstractJavaSourceCompletion(CompletionProvider provider,
java.lang.String replacementText)
public int compareTo(Completion c2)
Completion as well, so, for example, a completion for the
"String" class won't clash with a completion for a "string" LocalVar.c2 - Another completion instance.public java.lang.String getAlreadyEntered(javax.swing.text.JTextComponent comp)