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 ExpectedTypeInfo
public TailType getTailType()
getTailType
in interface ExpectedTypeInfo
public java.lang.String getExpectedName()
public PsiMethod getCalledMethod()
getCalledMethod
in interface ExpectedTypeInfo
public PsiType getType()
getType
in interface ExpectedTypeInfo
public PsiType getDefaultType()
getDefaultType
in interface ExpectedTypeInfo
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(ExpectedTypeInfo obj)
equals
in interface ExpectedTypeInfo
public java.lang.String toString()
toString
in interface ExpectedTypeInfo
toString
in class java.lang.Object
public ExpectedTypeInfo [] intersect(ExpectedTypeInfo info)
intersect
in interface ExpectedTypeInfo