org.stjs.generator.utils
Class PreConditions

java.lang.Object
  extended by org.stjs.generator.utils.PreConditions

public final class PreConditions
extends Object


Method Summary
static
<T> T
checkNotNull(T obj)
           
static
<T> T
checkNotNull(T obj, String message, Object... args)
           
static void checkState(boolean check, String message, Object... args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

checkState

public static void checkState(boolean check,
                              String message,
                              Object... args)

checkNotNull

public static <T> T checkNotNull(T obj)

checkNotNull

public static <T> T checkNotNull(T obj,
                                 String message,
                                 Object... args)


Copyright © 2014. All Rights Reserved.