org.jetbrains.kotlin.codegen
Class RangeCodegenUtil

java.lang.Object
  extended by org.jetbrains.kotlin.codegen.RangeCodegenUtil

public class RangeCodegenUtil
extends java.lang.Object


Nested Class Summary
static class RangeCodegenUtil.BinaryCall
           
 
Method Summary
static PrimitiveType getPrimitiveRangeOrProgressionElementType(FqName rangeOrProgressionName)
           
static RangeCodegenUtil.BinaryCall getRangeAsBinaryCall(KtForExpression forExpression)
           
static boolean isOptimizableRangeTo(CallableDescriptor rangeTo)
           
static boolean isProgression(KotlinType rangeType)
           
static boolean isRange(KotlinType rangeType)
           
static boolean isRangeOrProgression(FqName className)
           
static java.util.List<PrimitiveType> supportedRangeTypes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

supportedRangeTypes

@NotNull
public static java.util.List<PrimitiveType> supportedRangeTypes()

isRange

public static boolean isRange(KotlinType rangeType)

isProgression

public static boolean isProgression(KotlinType rangeType)

getRangeAsBinaryCall

@Nullable
public static RangeCodegenUtil.BinaryCall getRangeAsBinaryCall(@NotNull
                                                                        KtForExpression forExpression)

getPrimitiveRangeOrProgressionElementType

@Nullable
public static PrimitiveType getPrimitiveRangeOrProgressionElementType(@NotNull
                                                                               FqName rangeOrProgressionName)

isRangeOrProgression

public static boolean isRangeOrProgression(@NotNull
                                           FqName className)

isOptimizableRangeTo

public static boolean isOptimizableRangeTo(CallableDescriptor rangeTo)