org.jetbrains.jet.lang.resolve.calls.inference
Class TypeBoundsImpl
java.lang.Object
org.jetbrains.jet.lang.resolve.calls.inference.TypeBoundsImpl
- All Implemented Interfaces:
- TypeBounds
public class TypeBoundsImpl
- extends java.lang.Object
- implements TypeBounds
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeBoundsImpl
public TypeBoundsImpl(@NotNull
TypeParameterDescriptor typeVariable,
@NotNull
Variance varianceOfPosition)
getVarianceOfPosition
@NotNull
public Variance getVarianceOfPosition()
- Specified by:
getVarianceOfPosition in interface TypeBounds
addBound
public void addBound(@NotNull
TypeBoundsImpl.BoundKind kind,
@NotNull
JetType type,
@NotNull
ConstraintPosition position)
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface TypeBounds
getBounds
@NotNull
public java.util.Collection<TypeBoundsImpl.Bound> getBounds()
filter
@NotNull
public TypeBoundsImpl filter(@NotNull
com.intellij.openapi.util.Condition<ConstraintPosition> condition)
getValue
@Nullable
public JetType getValue()
- Specified by:
getValue in interface TypeBounds
getValues
@NotNull
public java.util.Collection<JetType> getValues()
- Specified by:
getValues in interface TypeBounds