org.jetbrains.jet.lang.resolve
Class CompileTimeConstantUtils

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

public class CompileTimeConstantUtils
extends java.lang.Object


Method Summary
static void checkConstructorParametersType(java.util.List<JetParameter> parameters, BindingTrace trace)
           
static java.lang.String getIntrinsicAnnotationArgument(Annotated annotatedDescriptor)
           
static boolean isArrayMethodCall(ResolvedCall resolvedCall)
           
static boolean isJavaClassMethodCall(ResolvedCall resolvedCall)
           
static boolean isJavaLangClass(ClassDescriptor descriptor)
           
static boolean isPropertyCompileTimeConstant(VariableDescriptor descriptor)
           
 
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)

isJavaClassMethodCall

public static boolean isJavaClassMethodCall(@NotNull
                                            ResolvedCall resolvedCall)

isPropertyCompileTimeConstant

public static boolean isPropertyCompileTimeConstant(@NotNull
                                                    VariableDescriptor descriptor)

isJavaLangClass

public static boolean isJavaLangClass(ClassDescriptor descriptor)