org.jetbrains.kotlin.utils
Class WrappedValues

java.lang.Object
  extended by org.jetbrains.kotlin.utils.WrappedValues

public class WrappedValues
extends java.lang.Object


Nested Class Summary
static class WrappedValues.WrappedProcessCanceledException
           
 
Field Summary
static boolean throwWrappedProcessCanceledException
           
 
Method Summary
static
<V> java.lang.Object
escapeNull(V value)
           
static java.lang.Object escapeThrowable(java.lang.Throwable throwable)
           
static
<V> V
unescapeExceptionOrNull(java.lang.Object value)
           
static
<V> V
unescapeNull(java.lang.Object value)
           
static
<V> V
unescapeThrowable(java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

throwWrappedProcessCanceledException

public static volatile boolean throwWrappedProcessCanceledException
Method Detail

unescapeNull

@Nullable
public static <V> V unescapeNull(@NotNull
                                          java.lang.Object value)

escapeNull

@NotNull
public static <V> java.lang.Object escapeNull(@Nullable
                                                      V value)

escapeThrowable

@NotNull
public static java.lang.Object escapeThrowable(@NotNull
                                                       java.lang.Throwable throwable)

unescapeExceptionOrNull

@Nullable
public static <V> V unescapeExceptionOrNull(@NotNull
                                                     java.lang.Object value)

unescapeThrowable

@Nullable
public static <V> V unescapeThrowable(@Nullable
                                               java.lang.Object value)