Top Constructors Methods
kotlin.jvm.internal

public Class TypeIntrinsics

extends Object
Class Inheritance
Annotations
@SuppressWarnings:unused, WeakerAccess
Imports
kotlin.Function, kotlin.jvm.functions.*, kotlin.jvm.internal.markers.*, java.util.*

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static Collection<E>
public static Collection<E>
public static Iterable<T>
public static Iterable<T>
public static Iterator<E>
public static Iterator<E>
public static List<E>
public static List<E>
asMutableList(Object obj, String message)

public static ListIterator<E>
public static ListIterator<E>
public static Map<K, V>
public static Map<K, V>
asMutableMap(Object obj, String message)

public static Map.Entry<K, V>
public static Map.Entry<K, V>
public static Set<E>
public static Set<E>
asMutableSet(Object obj, String message)

public static Object
public static Object
public static Collection<E>
public static Iterable<T>
public static Iterator<E>
public static List<E>
public static ListIterator<E>
public static Map<K, V>
public static Map.Entry<K, V>
public static Set<E>
public static int
public static boolean
isFunctionOfArity(Object obj, int arity)

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

public static void
throwCce(Object argument, String requestedClassName)

public static void
throwCce(String message)

public static ClassCastException
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

TypeIntrinsicsback to summary
public TypeIntrinsics()

Method Detail

asMutableCollectionback to summary
public static Collection<E> asMutableCollection(Object obj)
asMutableCollectionback to summary
public static Collection<E> asMutableCollection(Object obj, String message)
asMutableIterableback to summary
public static Iterable<T> asMutableIterable(Object obj)
asMutableIterableback to summary
public static Iterable<T> asMutableIterable(Object obj, String message)
asMutableIteratorback to summary
public static Iterator<E> asMutableIterator(Object obj)
asMutableIteratorback to summary
public static Iterator<E> asMutableIterator(Object obj, String message)
asMutableListback to summary
public static List<E> asMutableList(Object obj)
asMutableListback to summary
public static List<E> asMutableList(Object obj, String message)
asMutableListIteratorback to summary
public static ListIterator<E> asMutableListIterator(Object obj)
asMutableListIteratorback to summary
public static ListIterator<E> asMutableListIterator(Object obj, String message)
asMutableMapback to summary
public static Map<K, V> asMutableMap(Object obj)
asMutableMapback to summary
public static Map<K, V> asMutableMap(Object obj, String message)
asMutableMapEntryback to summary
public static Map.Entry<K, V> asMutableMapEntry(Object obj)
asMutableMapEntryback to summary
public static Map.Entry<K, V> asMutableMapEntry(Object obj, String message)
asMutableSetback to summary
public static Set<E> asMutableSet(Object obj)
asMutableSetback to summary
public static Set<E> asMutableSet(Object obj, String message)
beforeCheckcastToFunctionOfArityback to summary
public static Object beforeCheckcastToFunctionOfArity(Object obj, int arity)
beforeCheckcastToFunctionOfArityback to summary
public static Object beforeCheckcastToFunctionOfArity(Object obj, int arity, String message)
castToCollectionback to summary
public static Collection<E> castToCollection(Object obj)
castToIterableback to summary
public static Iterable<T> castToIterable(Object obj)
castToIteratorback to summary
public static Iterator<E> castToIterator(Object obj)
castToListback to summary
public static List<E> castToList(Object obj)
castToListIteratorback to summary
public static ListIterator<E> castToListIterator(Object obj)
castToMapback to summary
public static Map<K, V> castToMap(Object obj)
castToMapEntryback to summary
public static Map.Entry<K, V> castToMapEntry(Object obj)
castToSetback to summary
public static Set<E> castToSet(Object obj)
getFunctionArityback to summary
public static int getFunctionArity(Object obj)
isFunctionOfArityback to summary
public static boolean isFunctionOfArity(Object obj, int arity)
isMutableCollectionback to summary
public static boolean isMutableCollection(Object obj)
isMutableIterableback to summary
public static boolean isMutableIterable(Object obj)
isMutableIteratorback to summary
public static boolean isMutableIterator(Object obj)
isMutableListback to summary
public static boolean isMutableList(Object obj)
isMutableListIteratorback to summary
public static boolean isMutableListIterator(Object obj)
isMutableMapback to summary
public static boolean isMutableMap(Object obj)
isMutableMapEntryback to summary
public static boolean isMutableMapEntry(Object obj)
isMutableSetback to summary
public static boolean isMutableSet(Object obj)
sanitizeStackTraceback to summary
private static <T extends Throwable> T sanitizeStackTrace(T throwable)
throwCceback to summary
public static void throwCce(Object argument, String requestedClassName)
throwCceback to summary
public static void throwCce(String message)
throwCceback to summary
public static ClassCastException throwCce(ClassCastException e)