org.jetbrains.kotlin.types
Class TypeProjectionImpl

java.lang.Object
  extended by org.jetbrains.kotlin.types.TypeProjectionBase
      extended by org.jetbrains.kotlin.types.TypeProjectionImpl
All Implemented Interfaces:
TypeProjection

public class TypeProjectionImpl
extends TypeProjectionBase


Constructor Summary
TypeProjectionImpl(JetType type)
           
TypeProjectionImpl(Variance projection, JetType type)
           
 
Method Summary
 Variance getProjectionKind()
           
 JetType getType()
           
 boolean isStarProjection()
           
 
Methods inherited from class org.jetbrains.kotlin.types.TypeProjectionBase
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TypeProjectionImpl

public TypeProjectionImpl(@NotNull
                          Variance projection,
                          @NotNull
                          JetType type)

TypeProjectionImpl

public TypeProjectionImpl(@NotNull
                          JetType type)
Method Detail

getProjectionKind

@NotNull
public Variance getProjectionKind()

getType

@NotNull
public JetType getType()

isStarProjection

public boolean isStarProjection()