Generate class using javassist