org.jetbrains.kotlin.codegen
Class RangeCodegenUtil
java.lang.Object
org.jetbrains.kotlin.codegen.RangeCodegenUtil
public class RangeCodegenUtil
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)