package info.u_team.u_team_core.util;

public class CastUtil {
	
	@SuppressWarnings("unchecked")
	public static <T> T uncheckedCast(Object object) {
		return (T) object;
	}
	
}

@@ -36,33 +36,404 @@
 l;%0A%0A
-public class CastUtil %7B%0A%09
+/**%0A * Utility class for casts%0A * %0A * @author HyCraftHD%0A */%0Apublic class CastUtil %7B%0A%09%0A%09/**%0A%09 * Convenient helper method for unchecked class without suppressing warnings. CAREFULL, CAST IS STILL UNCHECKED!%0A%09 * %0A%09 * @param %3CT%3E The type that the object should be%0A%09 * @param object The object%0A%09 * @return Casted object to the desired type%0A%09 * @throws ClassCastException when unchecked cast fails%0A%09 */
 %0A%09@S
@@ -510,16 +510,42 @@
  object)
+ throws ClassCastException
  %7B%0A%09%09ret

Document cast util