Add Java class PATCH

Add patch
Revert "Add Java class PATCH"

This reverts commit 6dacf59fd2aa969a5ac0afbe02e065aacb992ea4.
Add java Class