Use fake ClassTag in Java