add a post for java generalization