public class DfReferenceConstantType extends DfConstantType<java.lang.Object> implements DfReferenceType
Modifier and Type | Method and Description |
---|---|
DfReferenceType |
dropNullability() |
TypeConstraint |
getConstraint() |
Mutability |
getMutability() |
DfaNullability |
getNullability() |
PsiType |
getPsiType() |
SpecialField |
getSpecialField() |
DfType |
getSpecialFieldType() |
DfType |
join(DfType other)
Return the most specific type that contains all values from this type and from other type.
|
DfType |
meet(DfType other)
Returns the least specific type that contains all values that belong both to this type and to other type.
|
DfType |
tryNegate() |
equals, getConstantOfType, getValue, hashCode, isConst, isSuperType, renderValue, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
dropLocality, dropMutability, dropSpecialField, dropTypeConstraint, isLocal, isLocal
isMergeable, isSuperType
public DfType meet(DfType other)
DfType
meet
in interface DfType
meet
in class DfConstantType<java.lang.Object>
other
- type to meetpublic PsiType getPsiType()
getPsiType
in class DfConstantType<java.lang.Object>
public DfaNullability getNullability()
getNullability
in interface DfReferenceType
public TypeConstraint getConstraint()
getConstraint
in interface DfReferenceType
public Mutability getMutability()
getMutability
in interface DfReferenceType
public SpecialField getSpecialField()
getSpecialField
in interface DfReferenceType
public DfType getSpecialFieldType()
getSpecialFieldType
in interface DfReferenceType
DfTypes.BOTTOM
if DfReferenceType.getSpecialField()
returns nullpublic DfType tryNegate()
public DfReferenceType dropNullability()
dropNullability
in interface DfReferenceType