public class LightParameter extends LightVariableBuilder<LightVariableBuilder> implements PsiParameter
Iconable.IconFlags, Iconable.LastComputedIcon
myManager
FLAGS_LOCKED, ICON_PLACEHOLDER
ARRAY_FACTORY, EMPTY_ARRAY
ICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY
EMPTY_NAVIGATION_ITEM_ARRAY
EMPTY_NAVIGATABLE_ELEMENT_ARRAY
Constructor and Description |
---|
LightParameter(java.lang.String name,
PsiType type,
PsiElement declarationScope) |
LightParameter(java.lang.String name,
PsiType type,
PsiElement declarationScope,
Language language) |
LightParameter(java.lang.String name,
PsiType type,
PsiElement declarationScope,
Language language,
boolean isVarArgs) |
Modifier and Type | Method and Description |
---|---|
void |
accept(PsiElementVisitor visitor)
Passes the element to the specified visitor.
|
PsiElement |
getDeclarationScope()
Returns the element (method, lambda expression, foreach statement or catch block) in which the
parameter is declared.
|
boolean |
isVarArgs()
Checks if the parameter accepts a variable number of arguments.
|
java.lang.String |
toString()
toString() should never be presented to the user.
|
computeConstantValue, getElementIcon, getInitializer, getModifierList, getName, getNameIdentifier, getOriginInfo, getType, getTypeElement, hasInitializer, hasModifierProperty, isVisibilitySupported, normalizeDeclaration, setBaseIcon, setModifierList, setModifiers, setName, setOriginInfo
add, addAfter, addBefore, checkAdd, checkDelete, copy, delete, findElementAt, getChildren, getContainingFile, getLanguage, getManager, getNavigationElement, getNextSibling, getNode, getParent, getPrevSibling, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, isPhysical, isValid, isWritable, replace, setNavigationElement, textMatches, textMatches, textToCharArray
acceptChildren, addRange, addRangeAfter, addRangeBefore, canNavigate, canNavigateToSource, deleteChildRange, findChildByClass, findChildrenByClass, findNotNullChildByClass, findReferenceAt, getContext, getFirstChild, getLastChild, getOriginalElement, getPresentation, getProject, getReference, getReferences, getResolveScope, getUseScope, isEquivalentTo, navigate, notNullChild, processDeclarations, textContains
buildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, overlayIcons, registerIconLayer, transformFlags
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAnnotations, getName, getType, getTypeElement
computeConstantValue, getInitializer, getNameIdentifier, hasInitializer, normalizeDeclaration, setInitializer, setName
getIdentifyingElement
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
getUserData, putUserData
getNavigationElement
isWritable
canNavigate, canNavigateToSource, navigate
accept
getAnnotation, getSourceElement, hasAnnotation, hasModifier
getModifierList, hasModifierProperty
getPresentation
public LightParameter(java.lang.String name, PsiType type, PsiElement declarationScope)
public LightParameter(java.lang.String name, PsiType type, PsiElement declarationScope, Language language)
public LightParameter(java.lang.String name, PsiType type, PsiElement declarationScope, Language language, boolean isVarArgs)
public PsiElement getDeclarationScope()
PsiParameter
getDeclarationScope
in interface PsiParameter
public void accept(PsiElementVisitor visitor)
PsiElement
accept
in interface PsiElement
accept
in class LightElement
visitor
- the visitor to pass the element to.public java.lang.String toString()
PsiElement
toString
in interface PsiElement
toString
in class LightVariableBuilder<LightVariableBuilder>
public boolean isVarArgs()
PsiParameter
isVarArgs
in interface PsiParameter