Package kotlin.jvm.internal
Class Intrinsics
java.lang.Object
kotlin.jvm.internal.Intrinsics
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic voidcheckExpressionValueIsNotNull(Object value, String expression) static voidcheckFieldIsNotNull(Object value, String message) static voidcheckFieldIsNotNull(Object value, String className, String fieldName) static voidcheckHasClass(String internalName) static voidcheckHasClass(String internalName, String requiredVersion) static voidcheckNotNull(Object object) static voidcheckNotNull(Object object, String message) static voidcheckNotNullExpressionValue(Object value, String expression) static voidcheckNotNullParameter(Object value, String paramName) static voidcheckParameterIsNotNull(Object value, String paramName) static voidcheckReturnedValueIsNotNull(Object value, String message) static voidcheckReturnedValueIsNotNull(Object value, String className, String methodName) static intcompare(int thisVal, int anotherVal) static intcompare(long thisVal, long anotherVal) static voidstatic voidneedClassReification(String message) static voidreifiedOperationMarker(int id, String typeParameterIdentifier) static voidreifiedOperationMarker(int id, String typeParameterIdentifier, String message) static StringstringPlus(String self, Object other) static voidstatic voidthrowAssert(String message) static voidstatic voidthrowIllegalArgument(String message) static voidstatic voidthrowIllegalState(String message) static voidstatic voidthrowJavaNpe(String message) static voidthrowNpe()static voidstatic voidstatic voidthrowUndefinedForReified(String message) static voidthrowUninitializedProperty(String message) static voidthrowUninitializedPropertyAccessException(String propertyName)
-
Method Details
-
stringPlus
-
checkNotNull
-
checkNotNull
-
throwNpe
public static void throwNpe() -
throwNpe
-
throwJavaNpe
@SinceKotlin(version="1.4") public static void throwJavaNpe() -
throwJavaNpe
-
throwUninitializedProperty
-
throwUninitializedPropertyAccessException
-
throwAssert
public static void throwAssert() -
throwAssert
-
throwIllegalArgument
public static void throwIllegalArgument() -
throwIllegalArgument
-
throwIllegalState
public static void throwIllegalState() -
throwIllegalState
-
checkExpressionValueIsNotNull
-
checkNotNullExpressionValue
-
checkReturnedValueIsNotNull
-
checkReturnedValueIsNotNull
-
checkFieldIsNotNull
-
checkFieldIsNotNull
-
checkParameterIsNotNull
-
checkNotNullParameter
-
compare
public static int compare(long thisVal, long anotherVal) -
compare
public static int compare(int thisVal, int anotherVal) -
areEqual
-
areEqual
-
areEqual
-
areEqual
-
areEqual
-
areEqual
-
areEqual
-
throwUndefinedForReified
public static void throwUndefinedForReified() -
throwUndefinedForReified
-
reifiedOperationMarker
-
reifiedOperationMarker
-
needClassReification
public static void needClassReification() -
needClassReification
-
checkHasClass
- Throws:
ClassNotFoundException
-
checkHasClass
public static void checkHasClass(String internalName, String requiredVersion) throws ClassNotFoundException - Throws:
ClassNotFoundException
-