How to get all key values of an item in inventory or hand?

I want to get all data information of an item and im looking for something like this;

for (Key key : SomekeyDatalist );

So i want to get items information about every key it supports…
im using some mods and this is so important for me to analyze and change some of the key values

PS: have mercy on me… Say as basic as u can cuz its hard to understand a comlicated information in english…

Once you have the ItemStack object, you can call getKeys(), and iterate over that.

yeah i have found that just a moment after post this…