|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jetbrains.kotlin.codegen.RangeCodegenUtil
public class RangeCodegenUtil
| Method Summary | |
|---|---|
static ResolvedCall<? extends CallableDescriptor> |
getLoopRangeResolvedCall(KtForExpression forExpression,
BindingContext bindingContext)
|
static PrimitiveType |
getPrimitiveRangeOrProgressionElementType(FqName rangeOrProgressionName)
|
static boolean |
isArrayOrPrimitiveArrayIndices(CallableDescriptor descriptor)
|
static boolean |
isCharSequenceIndices(CallableDescriptor descriptor)
|
static boolean |
isCollectionIndices(CallableDescriptor descriptor)
|
static boolean |
isPrimitiveNumberDownTo(CallableDescriptor descriptor)
|
static boolean |
isPrimitiveNumberRangeTo(CallableDescriptor rangeTo)
|
static boolean |
isPrimitiveRangeSpecializationOfType(org.jetbrains.org.objectweb.asm.Type argumentType,
KtExpression rangeExpression,
BindingContext bindingContext)
|
static boolean |
isPrimitiveRangeToExtension(KtSimpleNameExpression operationReference,
BindingContext bindingContext)
|
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 |
|---|
@NotNull public static java.util.List<PrimitiveType> supportedRangeTypes()
public static boolean isRange(KotlinType rangeType)
public static boolean isProgression(KotlinType rangeType)
@Nullable
public static ResolvedCall<? extends CallableDescriptor> getLoopRangeResolvedCall(@NotNull
KtForExpression forExpression,
@NotNull
BindingContext bindingContext)
@Nullable
public static PrimitiveType getPrimitiveRangeOrProgressionElementType(@NotNull
FqName rangeOrProgressionName)
public static boolean isRangeOrProgression(@NotNull
FqName className)
public static boolean isPrimitiveNumberRangeTo(CallableDescriptor rangeTo)
public static boolean isPrimitiveNumberDownTo(@NotNull
CallableDescriptor descriptor)
public static boolean isArrayOrPrimitiveArrayIndices(@NotNull
CallableDescriptor descriptor)
public static boolean isCollectionIndices(@NotNull
CallableDescriptor descriptor)
public static boolean isCharSequenceIndices(@NotNull
CallableDescriptor descriptor)
public static boolean isPrimitiveRangeToExtension(@NotNull
KtSimpleNameExpression operationReference,
@NotNull
BindingContext bindingContext)
public static boolean isPrimitiveRangeSpecializationOfType(@NotNull
org.jetbrains.org.objectweb.asm.Type argumentType,
@NotNull
KtExpression rangeExpression,
@NotNull
BindingContext bindingContext)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||