public class DefaultParameterTypeInferencePolicy extends ParameterTypeInferencePolicy
| Modifier and Type | Field and Description |
|---|---|
static DefaultParameterTypeInferencePolicy |
INSTANCE |
| Constructor and Description |
|---|
DefaultParameterTypeInferencePolicy() |
| Modifier and Type | Method and Description |
|---|---|
PsiType |
adjustInferredType(PsiManager manager,
PsiType guess,
ConstraintType constraintType) |
PsiType |
getDefaultExpectedType(PsiCallExpression methodCall) |
Pair<PsiType,ConstraintType> |
getInferredTypeWithNoConstraint(PsiManager manager,
PsiType superType) |
Pair<PsiType,ConstraintType> |
inferTypeConstraintFromCallContext(PsiExpression innerMethodCall,
PsiExpressionList parent,
PsiCallExpression contextCall,
PsiTypeParameter typeParameter) |
inferLowerBoundForFreshVariables, inferRuntimeExceptionForThrownBoundWithNoConstraints, isVarargsIgnored, requestForBoxingExplicitlypublic static final DefaultParameterTypeInferencePolicy INSTANCE
public Pair<PsiType,ConstraintType> inferTypeConstraintFromCallContext(PsiExpression innerMethodCall, PsiExpressionList parent, PsiCallExpression contextCall, PsiTypeParameter typeParameter)
inferTypeConstraintFromCallContext in class ParameterTypeInferencePolicypublic PsiType getDefaultExpectedType(PsiCallExpression methodCall)
getDefaultExpectedType in class ParameterTypeInferencePolicypublic Pair<PsiType,ConstraintType> getInferredTypeWithNoConstraint(PsiManager manager, PsiType superType)
getInferredTypeWithNoConstraint in class ParameterTypeInferencePolicypublic PsiType adjustInferredType(PsiManager manager, PsiType guess, ConstraintType constraintType)
adjustInferredType in class ParameterTypeInferencePolicy