Home » apache-openwebbeans-1.0.0-incubating-M3-sources » org.apache.webbeans.util » [javadoc | source]
org.apache.webbeans.util
public final class: Asserts [javadoc | source]
java.lang.Object
   org.apache.webbeans.util.Asserts
Simple utility classes with some assertions methods.
Method from org.apache.webbeans.util.Asserts Summary:
assertNotNull,   assertNotNull,   nullCheckForClass,   nullCheckForClass,   nullCheckForDomElement,   nullCheckForMethod,   nullCheckForModifier
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.webbeans.util.Asserts Detail:
 public static  void assertNotNull(Object obj) 
    Check the object is null or not
 public static  void assertNotNull(Object obj,
    String message) 
    Check the object is null or not
 public static  void nullCheckForClass(Class<?> clazz) 
    Null check for class parameter.
 public static  void nullCheckForClass(Class<?> clazz,
    String message) 
    Null check for class parameter.
 public static  void nullCheckForDomElement(Element element) 
    Null check for element parameter.
 public static  void nullCheckForMethod(Method method) 
    Null check for method parameter.
 public static  void nullCheckForModifier(Integer modifier) 
    Null check for type modifiers.