Constant definition for AcceptedItemTypes

I assume the strings representing the standard AcceptedItemTypes, i.e. “Switch”, are defined somewhere as static variables in the API but I could not find them.

Are you looking for acceptedDataTypes and acceptedCommandTypes for a SwitchItem? If so, you can find them here:

Thanks for your response, sorry I was not clear.
I was asking if and where string constants such as “Switch” were defined.
In an piece of code such as :
Channel channel = ChannelBuilder.create(theUid, “Switch”)
Is there an API defined constant I can use instead of spelling the string “Switch”.