org.jetbrains.kotlin.resolve
Class CompileTimeConstantUtils

java.lang.Object
  extended by org.jetbrains.kotlin.resolve.CompileTimeConstantUtils

public class CompileTimeConstantUtils
extends java.lang.Object


Method Summary
static boolean canBeReducedToBooleanConstant(JetExpression expression, BindingTrace trace, java.lang.Boolean expectedValue)
           
static void checkConstructorParametersType(java.util.List<JetParameter> parameters, BindingTrace trace)
           
static java.lang.String getIntrinsicAnnotationArgument(Annotated annotatedDescriptor)
           
static boolean isArrayMethodCall(ResolvedCall<?> resolvedCall)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

checkConstructorParametersType

public static void checkConstructorParametersType(@NotNull
                                                  java.util.List<JetParameter> parameters,
                                                  @NotNull
                                                  BindingTrace trace)

getIntrinsicAnnotationArgument

@Nullable
public static java.lang.String getIntrinsicAnnotationArgument(@NotNull
                                                                       Annotated annotatedDescriptor)

isArrayMethodCall

public static boolean isArrayMethodCall(@NotNull
                                        ResolvedCall<?> resolvedCall)

canBeReducedToBooleanConstant

public static boolean canBeReducedToBooleanConstant(@Nullable
                                                    JetExpression expression,
                                                    @NotNull
                                                    BindingTrace trace,
                                                    @Nullable
                                                    java.lang.Boolean expectedValue)