org.jetbrains.kotlin.resolve
Class CompileTimeConstantUtils
java.lang.Object
org.jetbrains.kotlin.resolve.CompileTimeConstantUtils
public class CompileTimeConstantUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
isJavaLangClass
public static boolean isJavaLangClass(ClassDescriptor descriptor)
canBeReducedToBooleanConstant
public static boolean canBeReducedToBooleanConstant(@Nullable
JetExpression expression,
@NotNull
BindingTrace trace,
@Nullable
java.lang.Boolean expectedValue)