public class JSFunctionCompletion extends FunctionCompletion implements JSCompletion
| Modifier and Type | Class and Description |
|---|---|
static class |
JSFunctionCompletion.JSFunctionParam
Override the FunctionCompletion.Parameter to lookup the Javascript name
for the completion type
|
BASIC_COMPLETION_RELEVANCE, BEAN_METHOD_RELEVANCE, DEFAULT_CLASS_RELEVANCE, DEFAULT_FUNCTION_RELEVANCE, DEFAULT_VARIABLE_RELEVANCE, GLOBAL_FUNCTION_RELEVANCE, GLOBAL_VARIABLE_RELEVANCE, LOCAL_VARIABLE_RELEVANCE, STATIC_FIELD_RELEVANCE, TEMPLATE_RELEVANCE| Constructor and Description |
|---|
JSFunctionCompletion(CompletionProvider provider,
MethodInfo method) |
JSFunctionCompletion(CompletionProvider provider,
MethodInfo methodInfo,
boolean showParameterType) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Completion other) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAlreadyEntered(javax.swing.text.JTextComponent comp) |
java.lang.String |
getDefinitionString() |
java.lang.String |
getEnclosingClassName(boolean fullyQualified)
Returns the name of the enclosing class.
|
javax.swing.Icon |
getIcon() |
java.lang.String |
getLookupName() |
JSMethodData |
getMethodData() |
int |
getRelevance() |
java.lang.String |
getSignature() |
java.lang.String |
getSummary() |
java.lang.String |
getType() |
java.lang.String |
getType(boolean qualified) |
int |
hashCode() |
java.lang.String |
toString() |
public JSFunctionCompletion(CompletionProvider provider,
MethodInfo method)
public JSFunctionCompletion(CompletionProvider provider,
MethodInfo methodInfo,
boolean showParameterType)
public int compareTo(Completion other)
public boolean equals(java.lang.Object obj)
public java.lang.String getAlreadyEntered(javax.swing.text.JTextComponent comp)
public java.lang.String getLookupName()
getLookupName in interface JSCompletionpublic java.lang.String getDefinitionString()
public java.lang.String getSignature()
public java.lang.String getSummary()
public int hashCode()
public java.lang.String toString()
public java.lang.String getType()
public java.lang.String getType(boolean qualified)
getType in interface JSCompletionpublic javax.swing.Icon getIcon()
public int getRelevance()
public java.lang.String getEnclosingClassName(boolean fullyQualified)
JSCompletiongetEnclosingClassName in interface JSCompletionfullyQualified - Whether the name returned should be fully
qualified.public JSMethodData getMethodData()