public class Intrinsics extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
areEqual(Object first,
Object second) |
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(String typeParameterIdentifier) |
static void |
reifyInstanceof(String typeParameterIdentifier) |
static void |
reifyJavaClass(String typeParameterIdentifier) |
static void |
reifyNewArray(String typeParameterIdentifier) |
static String |
stringPlus(String self,
Object other) |
static void |
throwNpe() |
static void |
throwUninitializedPropertyAccessException(String propertyName) |
public static void throwNpe()
public static void throwUninitializedPropertyAccessException(String propertyName)
public static void checkExpressionValueIsNotNull(Object value, String message)
public static void checkReturnedValueIsNotNull(Object value, String className, String methodName)
public static void checkFieldIsNotNull(Object value, String className, String fieldName)
public static int compare(long thisVal, long anotherVal)
public static int compare(int thisVal, int anotherVal)
public static void reifyNewArray(String typeParameterIdentifier)
public static void reifyCheckcast(String typeParameterIdentifier)
public static void reifyInstanceof(String typeParameterIdentifier)
public static void reifyJavaClass(String typeParameterIdentifier)
public static void needClassReification()
Copyright © 2015. All Rights Reserved.