public class ExpectedTypeInfoImpl extends java.lang.Object implements ExpectedTypeInfo
ExpectedTypeInfo.Type| Modifier and Type | Field and Description |
|---|---|
static NullableComputable<java.lang.String> |
NULL |
EMPTY_ARRAY, TYPE_BETWEEN, TYPE_OR_SUBTYPE, TYPE_OR_SUPERTYPE, TYPE_SAME_SHAPED, TYPE_STRICTLY| Constructor and Description |
|---|
ExpectedTypeInfoImpl(PsiType type,
int kind,
PsiType defaultType,
TailType myTailType,
PsiMethod calledMethod,
NullableComputable<java.lang.String> expectedName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(ExpectedTypeInfo obj) |
boolean |
equals(java.lang.Object o) |
PsiMethod |
getCalledMethod() |
PsiType |
getDefaultType() |
java.lang.String |
getExpectedName() |
int |
getKind() |
TailType |
getTailType() |
PsiType |
getType() |
int |
hashCode() |
ExpectedTypeInfo [] |
intersect(ExpectedTypeInfo info) |
java.lang.String |
toString() |
public static final NullableComputable<java.lang.String> NULL
public ExpectedTypeInfoImpl(PsiType type, int kind, PsiType defaultType, TailType myTailType, PsiMethod calledMethod, NullableComputable<java.lang.String> expectedName)
public int getKind()
getKind in interface ExpectedTypeInfopublic TailType getTailType()
getTailType in interface ExpectedTypeInfopublic java.lang.String getExpectedName()
public PsiMethod getCalledMethod()
getCalledMethod in interface ExpectedTypeInfopublic PsiType getType()
getType in interface ExpectedTypeInfopublic PsiType getDefaultType()
getDefaultType in interface ExpectedTypeInfopublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(ExpectedTypeInfo obj)
equals in interface ExpectedTypeInfopublic java.lang.String toString()
toString in interface ExpectedTypeInfotoString in class java.lang.Objectpublic ExpectedTypeInfo [] intersect(ExpectedTypeInfo info)
intersect in interface ExpectedTypeInfo