kotlin.jvm.internal
Class Intrinsics
java.lang.Object
kotlin.jvm.internal.Intrinsics
public class Intrinsics
- extends Object
Method Summary |
static boolean |
areEqual(Object first,
Object second)
|
static void |
checkExpressionValueIsNotNull(Object value,
String expression)
|
static void |
checkFieldIsNotNull(Object value,
String message)
|
static void |
checkFieldIsNotNull(Object value,
String className,
String fieldName)
|
static void |
checkHasClass(String internalName)
|
static void |
checkHasClass(String internalName,
String requiredVersion)
|
static void |
checkNotNull(Object object)
|
static void |
checkNotNull(Object object,
String message)
|
static void |
checkNotNullExpressionValue(Object value,
String message)
|
static void |
checkNotNullParameter(Object value,
String message)
|
static void |
checkParameterIsNotNull(Object value,
String paramName)
|
static void |
checkReturnedValueIsNotNull(Object value,
String message)
|
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 |
needClassReification(String message)
|
static void |
reifyCheckcast(String typeParameterIdentifier)
|
static void |
reifyCheckcast(String typeParameterIdentifier,
String message)
|
static void |
reifyInstanceof(String typeParameterIdentifier)
|
static void |
reifyInstanceof(String typeParameterIdentifier,
String message)
|
static void |
reifyJavaClass(String typeParameterIdentifier)
|
static void |
reifyJavaClass(String typeParameterIdentifier,
String message)
|
static void |
reifyNewArray(String typeParameterIdentifier)
|
static void |
reifyNewArray(String typeParameterIdentifier,
String message)
|
static String |
stringPlus(String self,
Object other)
|
static void |
throwAssert()
|
static void |
throwAssert(String message)
|
static void |
throwIllegalArgument()
|
static void |
throwIllegalArgument(String message)
|
static void |
throwIllegalState()
|
static void |
throwIllegalState(String message)
|
static void |
throwNpe()
|
static void |
throwNpe(String message)
|
static void |
throwUndefinedForReified()
|
static void |
throwUndefinedForReified(String message)
|
static void |
throwUninitializedProperty(String message)
|
static void |
throwUninitializedPropertyAccessException(String propertyName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
stringPlus
public static String stringPlus(String self,
Object other)
checkNotNull
public static void checkNotNull(Object object)
checkNotNull
public static void checkNotNull(Object object,
String message)
throwNpe
public static void throwNpe()
throwNpe
public static void throwNpe(String message)
throwUninitializedProperty
public static void throwUninitializedProperty(String message)
throwUninitializedPropertyAccessException
public static void throwUninitializedPropertyAccessException(String propertyName)
throwAssert
public static void throwAssert()
throwAssert
public static void throwAssert(String message)
throwIllegalArgument
public static void throwIllegalArgument()
throwIllegalArgument
public static void throwIllegalArgument(String message)
throwIllegalState
public static void throwIllegalState()
throwIllegalState
public static void throwIllegalState(String message)
checkExpressionValueIsNotNull
public static void checkExpressionValueIsNotNull(Object value,
String expression)
checkNotNullExpressionValue
public static void checkNotNullExpressionValue(Object value,
String message)
checkReturnedValueIsNotNull
public static void checkReturnedValueIsNotNull(Object value,
String className,
String methodName)
checkReturnedValueIsNotNull
public static void checkReturnedValueIsNotNull(Object value,
String message)
checkFieldIsNotNull
public static void checkFieldIsNotNull(Object value,
String className,
String fieldName)
checkFieldIsNotNull
public static void checkFieldIsNotNull(Object value,
String message)
checkParameterIsNotNull
public static void checkParameterIsNotNull(Object value,
String paramName)
checkNotNullParameter
public static void checkNotNullParameter(Object value,
String message)
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)
throwUndefinedForReified
public static void throwUndefinedForReified()
throwUndefinedForReified
public static void throwUndefinedForReified(String message)
reifyNewArray
public static void reifyNewArray(String typeParameterIdentifier)
reifyNewArray
public static void reifyNewArray(String typeParameterIdentifier,
String message)
reifyCheckcast
public static void reifyCheckcast(String typeParameterIdentifier)
reifyCheckcast
public static void reifyCheckcast(String typeParameterIdentifier,
String message)
reifyInstanceof
public static void reifyInstanceof(String typeParameterIdentifier)
reifyInstanceof
public static void reifyInstanceof(String typeParameterIdentifier,
String message)
reifyJavaClass
public static void reifyJavaClass(String typeParameterIdentifier)
reifyJavaClass
public static void reifyJavaClass(String typeParameterIdentifier,
String message)
needClassReification
public static void needClassReification()
needClassReification
public static void needClassReification(String message)
checkHasClass
public static void checkHasClass(String internalName)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
checkHasClass
public static void checkHasClass(String internalName,
String requiredVersion)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
Copyright © 2015. All Rights Reserved.