public class MethodParenthesesHandler extends ParenthesesInsertHandler<LookupElement>
NO_PARAMETERS, WITH_PARAMETERS
Constructor and Description |
---|
MethodParenthesesHandler(PsiMethod method,
boolean overloadsMatter) |
Modifier and Type | Method and Description |
---|---|
static ThreeState |
hasParameters(java.util.List<PsiMethod> methods) |
static ThreeState |
overloadsHaveParameters(LookupElement[] allItems,
PsiMethod method) |
protected boolean |
placeCaretInsideParentheses(InsertionContext context,
LookupElement item) |
findExistingLeftParenthesis, findNextToken, getInstance, getInstance, handleInsert
public MethodParenthesesHandler(PsiMethod method, boolean overloadsMatter)
protected boolean placeCaretInsideParentheses(InsertionContext context, LookupElement item)
placeCaretInsideParentheses
in class ParenthesesInsertHandler<LookupElement>
public static ThreeState overloadsHaveParameters(LookupElement[] allItems, PsiMethod method)
public static ThreeState hasParameters(java.util.List<PsiMethod> methods)