| java.lang.Object tide.editor.completions.AttrCompletionItem
AttrCompletionItem | final public class AttrCompletionItem (Code) | | An item appearing in a completion dialog. Used for fields, methods, constructors, and arguments...
Note: their creation should be quick. One can delay some detailled informations
as the parameter names in a background task.
|
Method Summary | |
public static AttrCompletionItem | arrayLengthItem() | public static AttrCompletionItem | classMemberItem(String className) | public static AttrCompletionItem | createArgumentsCompletion(Method m, String kindAndModifiers, boolean isInherited, TypeParametersMapper mapper) | public static AttrCompletionItem | createArgumentsCompletion(Constructor co, String kindAndModifiers, boolean isInherited, TypeParametersMapper mapper) | public static AttrCompletionItem | createInternalClassCompletion(Class cl, String kindAndModifiers, boolean isInherited) | public static AttrCompletionItem | createNameCompletion(Method m, String kindAndModifiers, boolean isInherited, TypeParametersMapper mapper) | public static AttrCompletionItem | createNameCompletion(Field f, String kindAndModifiers, boolean isInherited, TypeParametersMapper mapper) | public static AttrCompletionItem | createNameCompletion(Constructor co, String kindAndModifiers, boolean isInherited, TypeParametersMapper mapper) | public static AttrCompletionItem | createNameCompletion(Class cl, String kindAndModifiers, boolean isInherited) | public static AttrCompletionItem | createNameCompletionForClass(FileItem packageItem) | public static AttrCompletionItem | createNameCompletionForClass(FileItem classItem, String alreadyTyped) | public static AttrCompletionItem | createNameCompletionForPackage(FileItem packageItem) | public static AttrCompletionItem | createParameter(String name, String type) | public void | freeMem_() | public String | getCompletion() | public boolean | getHasArgs() Used to distinguish between methods and fields. | public ElementKind | getKind() | public Object | getMember() | public String | getNameAndParams() | public String | getReturnType() | public String | getSuperCall() | public boolean | isInherited() | public boolean | isPublic() | public void | setDeclaringClass(Class declaringClass, boolean inherited) | public void | setMember(Object member) | public void | setNameAndParams(String a) | public static AttrCompletionItem | superMemberItem(String superClassName) | public static AttrCompletionItem | thisMemberItem(String className) | final public String | toString() Used for debug purposes. |
deprecated | final public boolean deprecated(Code) | | |
rewindCaret | public int rewindCaret(Code) | | number of chars to rewind (0=> do nothing)
|
selectedInView | public boolean selectedInView(Code) | | |
arrayLengthItem | public static AttrCompletionItem arrayLengthItem()(Code) | | Java arrays are objects, with the special length method (without braces)
it is a special case !
|
classMemberItem | public static AttrCompletionItem classMemberItem(String className)(Code) | | Classes instances have the ".class" keyword available, as well as "this" and "super"
it is a special case !
|
freeMem_ | public void freeMem_()(Code) | | helps a little bit the GC
|
getHasArgs | public boolean getHasArgs()(Code) | | Used to distinguish between methods and fields.
no sense in the arguments completion.
|
getMember | public Object getMember()(Code) | | Method, Field, Class, OR tide.sources.FileItem
|
isInherited | public boolean isInherited()(Code) | | |
isPublic | public boolean isPublic()(Code) | | |
setDeclaringClass | public void setDeclaringClass(Class declaringClass, boolean inherited)(Code) | | |
setMember | public void setMember(Object member)(Code) | | Also defines the type (Method, Field, Package, ...)
|
setNameAndParams | public void setNameAndParams(String a)(Code) | | |
superMemberItem | public static AttrCompletionItem superMemberItem(String superClassName)(Code) | | Classes instances have the ".class" keyword available, as well as "this" and "super"
it is a special case !
|
thisMemberItem | public static AttrCompletionItem thisMemberItem(String className)(Code) | | Classes instances have the ".class" keyword available, as well as "this" and "super"
it is a special case !
|
toString | final public String toString()(Code) | | Used for debug purposes.
|
|
|