public interface PsiParameterList extends PsiElement
PsiMethod.getParameterList()
Iconable.IconFlags, Iconable.LastComputedIcon
ARRAY_FACTORY, EMPTY_ARRAY
ICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY
Modifier and Type | Method and Description |
---|---|
default PsiParameter |
getParameter(int index)
Returns the parameter by index
|
int |
getParameterIndex(PsiParameter parameter)
Returns the index of the specified parameter in the list.
|
PsiParameter [] |
getParameters()
Returns the array of parameters in the list (excluding type annotation receiver).
|
int |
getParametersCount()
Returns the number of parameters (excluding type annotation receiver).
|
default boolean |
isEmpty() |
accept, acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getCopyableUserData, getFirstChild, getLanguage, getLastChild, getManager, getNavigationElement, getNextSibling, getNode, getOriginalElement, getOwnReferences, getParent, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, getTextRangeInParent, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray, toString
getUserData, putUserData
PsiParameter [] getParameters()
int getParameterIndex(PsiParameter parameter)
parameter
- the parameter to search for (must belong to this parameter list).int getParametersCount()
default PsiParameter getParameter(int index)
index
- parameter index, non-negativedefault boolean isEmpty()