cy
12/01/2015, 12:00 PMany method javadoc
/**
* Any kind object, not necessary of the given class.
* The class argument is provided only to avoid casting.
* <p>
* Sometimes looks better than <code>anyObject()</code> - especially when explicit casting is required
* <p>
* Alias to {@link Matchers#anyObject()}
* <p>
* This method <b>*doesn't do any type checks*</b>, it is only there to avoid casting
* in your code. This might however change (type checks could be added) in a
* future major release.
* <p>
* See examples in javadoc for {@link Matchers} class
*
* @param clazz The type to avoid casting
* @return <code>null</code>.
*/
public static <T> T any(Class<T> clazz) {