View Javadoc
1   public class UserAss3rtion {
2   	public static void makeSureItIsOK(boolean cond) {
3   		if (!cond)
4   			throw new IllegalStateException();
5   	}
6   
7   	public void f(Object o) {
8   		UserAss3rtion.makeSureItIsOK(o != null);
9   		System.out.println(o.hashCode());
10  	}
11  }