org.jetbrains.jet.codegen
Class RangeCodegenUtil

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

public class RangeCodegenUtil
extends java.lang.Object


Nested Class Summary
static class RangeCodegenUtil.BinaryCall
           
 
Method Summary
static RangeCodegenUtil.BinaryCall getRangeAsBinaryCall(JetForExpression forExpression)
           
static boolean isOptimizableRangeTo(CallableDescriptor rangeTo)
           
static boolean isProgression(JetType rangeType)
           
static boolean isRange(JetType rangeType)
           
 
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)

isOptimizableRangeTo

public static boolean isOptimizableRangeTo(CallableDescriptor rangeTo)