Can I get the whole information of an Element when I find it by one attribute?

For example:
driver.findElementById(“name.gudong.translate:id/sp_translate_way”).click();
this sentence can help me locate a widget.
Can I get the whole information of this widget, such as xpath of this widget, activity of this widget, etc. by some API of Appium?
Or is there any way to modify java-client to help me get these information?