kotlin.jvm.internal
Class Intrinsics

java.lang.Object
  extended by kotlin.jvm.internal.Intrinsics

public class Intrinsics
extends Object


Method Summary
static boolean areEqual(Object first, Object second)
           
static kotlin.IntRange arrayIndices(int length)
          Deprecated. 
static void checkExpressionValueIsNotNull(Object value, String message)
           
static void checkFieldIsNotNull(Object value, String className, String fieldName)
           
static void checkParameterIsNotNull(Object value, String paramName)
           
static void checkReturnedValueIsNotNull(Object value, String className, String methodName)
           
static int compare(int thisVal, int anotherVal)
           
static int compare(long thisVal, long anotherVal)
           
static void needClassReification()
           
static void reifyCheckcast(int parameterTypeIndex)
           
static void reifyInstanceof(int parameterTypeIndex)
           
static void reifyJavaClass(int parameterTypeIndex)
           
static void reifyNewArray(int parameterTypeIndex)
           
static
<T extends Throwable>
T
sanitizeStackTrace(T throwable)
           
static String stringPlus(String self, Object other)
           
static void throwNpe()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

stringPlus

public static String stringPlus(String self,
                                Object other)

throwNpe

public static void throwNpe()

checkExpressionValueIsNotNull

public static void checkExpressionValueIsNotNull(Object value,
                                                 String message)

checkReturnedValueIsNotNull

public static void checkReturnedValueIsNotNull(Object value,
                                               String className,
                                               String methodName)

checkFieldIsNotNull

public static void checkFieldIsNotNull(Object value,
                                       String className,
                                       String fieldName)

checkParameterIsNotNull

public static void checkParameterIsNotNull(Object value,
                                           String paramName)

compare

public static int compare(long thisVal,
                          long anotherVal)

compare

public static int compare(int thisVal,
                          int anotherVal)

areEqual

public static boolean areEqual(Object first,
                               Object second)

arrayIndices

@Deprecated
public static kotlin.IntRange arrayIndices(int length)
Deprecated. 


reifyNewArray

public static void reifyNewArray(int parameterTypeIndex)

reifyCheckcast

public static void reifyCheckcast(int parameterTypeIndex)

reifyInstanceof

public static void reifyInstanceof(int parameterTypeIndex)

reifyJavaClass

public static void reifyJavaClass(int parameterTypeIndex)

needClassReification

public static void needClassReification()

sanitizeStackTrace

public static <T extends Throwable> T sanitizeStackTrace(T throwable)


Copyright © 2014. All Rights Reserved.