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(JetForExpression forExpression)
           
static boolean isOptimizableRangeTo(CallableDescriptor rangeTo)
           
static boolean isProgression(JetType rangeType)
           
static boolean isRange(JetType rangeType)
           
static boolean isRangeOrProgression(FqName className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isRange

public static boolean isRange(JetType rangeType)

isProgression

public static boolean isProgression(JetType rangeType)

getRangeAsBinaryCall

@Nullable
public static RangeCodegenUtil.BinaryCall getRangeAsBinaryCall(@NotNull
                                                                        JetForExpression 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)