public interface JavaParameterInfo extends ParameterInfo
NEW_PARAMETER
Modifier and Type | Method and Description |
---|---|
default PsiType |
createType(PsiElement context) |
PsiType |
createType(PsiElement context,
PsiManager manager) |
default PsiElement |
getActualValue(PsiElement callExpression,
java.lang.Object substitutor)
For added parameters, returns expression which should be created at the call site.
|
java.lang.String |
getTypeText()
Returns parameter type text
|
CanonicalTypes.Type |
getTypeWrapper() |
PsiExpression |
getValue(PsiCallExpression callExpression) |
boolean |
isVarargType() |
default void |
setType(PsiType type) |
getDefaultValue, getName, getOldIndex, isNew, isUseAnySingleVariable, setName, setUseAnySingleVariable
PsiType createType(PsiElement context, PsiManager manager) throws IncorrectOperationException
IncorrectOperationException
default PsiType createType(PsiElement context)
java.lang.String getTypeText()
ParameterInfo
getTypeText
in interface ParameterInfo
CanonicalTypes.Type getTypeWrapper()
PsiExpression getValue(PsiCallExpression callExpression)
default PsiElement getActualValue(PsiElement callExpression, java.lang.Object substitutor)
ParameterInfo
ParameterInfo.getDefaultValue()
string representation or default value for a type
Could be overridden to provide values which depend on the call sitegetActualValue
in interface ParameterInfo
boolean isVarargType()
default void setType(PsiType type)