public static class ParameterizedCompletion.Parameter
extends java.lang.Object
Completion.| 构造器和说明 | 
|---|
ParameterizedCompletion.Parameter(java.lang.Object type,
                                 java.lang.String name)
Constructor. 
 | 
ParameterizedCompletion.Parameter(java.lang.Object type,
                                 java.lang.String name,
                                 boolean endParam)
Constructor. 
 | 
| 限定符和类型 | 方法和说明 | 
|---|---|
java.lang.String | 
getDescription()  | 
java.lang.String | 
getName()  | 
java.lang.String | 
getType()
Returns the type of this parameter, as a string. 
 | 
java.lang.Object | 
getTypeObject()
Returns the object used to describe the type of this parameter. 
 | 
boolean | 
isEndParam()  | 
void | 
setDescription(java.lang.String desc)  | 
java.lang.String | 
toString()  | 
public ParameterizedCompletion.Parameter(java.lang.Object type,
                                 java.lang.String name)
type - The type of this parameter.  This may be
        null for languages without specific types,
        dynamic typing, etc.  Usually you'll pass a String for this
        value, but you may pass any object representing a type in
        your language, as long as its toString() method
        returns a string representation of the type.name - The name of the parameter.public ParameterizedCompletion.Parameter(java.lang.Object type,
                                 java.lang.String name,
                                 boolean endParam)
type - The type of this parameter.  This may be
        null for languages without specific types,
        dynamic typing, etc.  Usually you'll pass a String for this
        value, but you may pass any object representing a type in
        your language, as long as its toString() method
        returns a string representation of the type.name - The name of the parameter.endParam - Whether this parameter is an "ending parameter;"
        that is, whether this parameter is at a logical "ending
        point" in the completion text.  If the user types in a
        parameter that is an ending point, parameter completion mode
        terminates.  Set this to true for a trailing
        parameter after a function call's closing ')', for example.public java.lang.String getDescription()
public java.lang.String getName()
public java.lang.String getType()
null for none.public java.lang.Object getTypeObject()
null for none.public boolean isEndParam()
public void setDescription(java.lang.String desc)
public java.lang.String toString()
toString 在类中 java.lang.Object