Java Add Method To Existing Class Action